Order Information
GetAllFilledOrders
A collection of (partially) filled orders executed by the bot. Maximum size is 50 orders.
GetAllFilledOrders([ positionId ])
Returns a list of OrderContainer() objects. Sorted descending on close timestamp.
Return Type: Dynamic
Parameter Name
Parameter Type
Required
Suggested
positionId
String
False
Load
GetAllOpenOrders
A collection of open orders executed by the bot.
GetAllOpenOrders([ positionId ])
Returns a list of OrderContainer() objects.
Return Type: Dynamic
Parameter Name
Parameter Type
Required
Suggested
positionId
String
False
Load
GetOrderCancelledAmount
Calculates the cancelled amount if the order is completed/cancelled.
GetOrderCancelledAmount(orderId)
Returns the cancelled amount if the order is completed/cancelled.
Return Type: Number
Parameter Name
Parameter Type
Required
Suggested
orderId
String
True
Load
GetOrderFilledAmount
Calculates the amount filled for a specific order.
GetOrderFilledAmount(orderId, [ afterFees ])
Returns the amount filled for a specific order.
Return Type: Number
Parameter Name
Parameter Type
Required
Suggested
orderId
String
True
Load
afterFees
Boolean
False
True, False
GetOrderOpenTime
Calculates how long an order is or has been open in minutes.
GetOrderOpenTime(orderId, [ inSeconds ])
Returns the time the order is or has been open for in minutes.
Return Type: Number
Parameter Name
Parameter Type
Required
Suggested
orderId
String
True
Load
inSeconds
Boolean
False
True, False
OrderContainer
Gets all the information from an specific order.
OrderContainer(orderId)
Returns an array with order information.
Return Type: Dynamic
Parameter Name
Parameter Type
Required
Suggested
orderId
String
True
Load
Last updated