Trade Actions (Unmanaged)

PlaceBuyOrder

Places a (limit) buy order for the given amount and price. Returns the order identifier (text).

  • PlaceBuyOrder(price, amount, [ market ], [ type ], [ note ], [ positionId ], [ timeout ], [ triggerPrice ])

Unique order identifier.

Return Type: String

PlaceCancelledOrder

Executes the remaining amount of a canceled order.

  • PlaceCancelledOrder(orderId, [ price ])

Returns an new order identifier. Empty if no order is executed.

Return Type: String

PlaceExitLongOrder

Places a (limit) exit long order for the given amount and price. Returns the order identifier (text).

  • PlaceExitLongOrder(price, amount, [ market ], [ type ], [ note ], [ positionId ], [ timeout ], [ triggerPrice ])

Unique order identifier.

Return Type: String

PlaceExitPositionOrder

Places exit orders for a specific bot position.

  • PlaceExitPositionOrder([ positionId ], [ price ], [ type ], [ note ], [ timeout ])

Returns an order identifier.

Return Type: String

PlaceExitShortOrder

Places a (limit) exit short order for the given amount and price. Returns the order identifier (text).

  • PlaceExitShortOrder(price, amount, [ market ], [ type ], [ note ], [ positionId ], [ timeout ], [ triggerPrice ])

Unique order identifier.

Return Type: String

PlaceGoLongOrder

Places a (limit) go long order for the given amount and price. Returns the order identifier (text).

  • PlaceGoLongOrder(price, amount, [ market ], [ type ], [ note ], [ positionId ], [ timeout ], [ triggerPrice ])

Unique order identifier.

Return Type: String

PlaceGoShortOrder

Places a (limit) go short order for the given amount and price. Returns the order identifier (text).

  • PlaceGoShortOrder(price, amount, [ market ], [ type ], [ note ], [ positionId ], [ timeout ], [ triggerPrice ])

Unique order identifier.

Return Type: String

PlaceSellOrder

Places a (limit) sell order for the given amount and price. Returns the order identifier (text).

  • PlaceSellOrder(price, amount, [ market ], [ type ], [ note ], [ positionId ], [ timeout ], [ triggerPrice ])

Unique order identifier.

Return Type: String

Last updated