-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
Allow the script engine to expose access to the orderbook data as seen in the orders window
Describe the solution you'd like
Expose 'orders' object such as;
{
open: {
{ type: 'SELL', orderState: 'onExchange', limit: '0.65', trigger: '0.65', amount: '100', filled: '0.0'},
{ type: 'SELL', orderState: 'onExchange', limit: '0.75', trigger: '0.75', amount: '100', filled: '0.0'}
},
history: [
{ created: '8/16/2020 10:00:00 AM', price: '0.55', amount: '100', fee: '5.5', feeCcy: 'EUR' },
{ created: '8/16/2020 10:05:00 AM', price: '0.45', amount: '100', fee: '4.5', feeCcy: 'EUR' }
]
}
Describe alternatives you've considered
I haven't yet had a chance to look at your internal data structures to see what correct enumerations for different states are; such as is 'SELL' always capitalized, what are the enumeration states for 'orderState' etc?
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request