Order Handeling
Last updated
Last updated
Cancels all open orders.
Syntax: CancelAllOrders([ positionId ])
Return type: Void
Parameter Name | Parameter Type | Required | Suggestions |
---|---|---|---|
Sends out a cancel order for the given order identifier.
Syntax: CancelOrder(orderId)
Return type: Void
Parameter Name | Parameter Type | Required | Suggestions |
---|---|---|---|
Checks if there are any open orders completed/cancelled.
Syntax: IsAnyOrderFinished([ positionId ])
Returns true if there are any open orders completed/cancelled.
Return type: Boolean
Checks if there are any open orders.
Syntax: IsAnyOrderOpen([ positionId ])
Returns true if there are any open orders.
Return type: Boolean
Checks if the given order is a buy order.
Syntax: IsBuyOrder(orderId)
Returns true if the given order is on buy side.
Return type: Boolean
Checks if the given order is filled.
Syntax: IsOrderFilled(orderId)
Returns true if the given order is filled.
Return type: Boolean
Checks if the given order is still open.
Syntax: IsOrderOpen(orderId)
Returns true if the given order is still open.
Return type: Boolean
Checks if the given order is a sell order.
Syntax: IsSellOrder(orderId)
Returns true if the given order is on sell side.
Return type: Boolean
Parameter Name | Parameter Type | Required | Suggestions |
---|---|---|---|
Parameter Name | Parameter Type | Required | Suggestions |
---|---|---|---|
Parameter Name | Parameter Type | Required | Suggestions |
---|---|---|---|
Parameter Name | Parameter Type | Required | Suggestions |
---|---|---|---|
Parameter Name | Parameter Type | Required | Suggestions |
---|---|---|---|
Parameter Name | Parameter Type | Required | Suggestions |
---|---|---|---|
positionId
String
False
Load
orderId
String
True
Load
positionId
String
False
Load
positionId
String
False
Load
orderId
String
True
Load
orderId
String
True
Load
orderId
String
True
Load
orderId
String
True
Load