Order Management

Order Management functions are used to create, submit, cancel orders and more. You can see a list of them below:

create_order(asset, quantity, side[, ...])

Creates a new order for this specific strategy.

submit_order(order)

Submit an order for an asset

submit_orders(orders)

Submit a list of orders

cancel_order(order)

Cancel an order.

cancel_orders(orders)

Cancel orders in all strategies.

cancel_open_orders()

Cancel all the strategy open orders.

get_selling_order(position)

Get the selling order for a position.

sell_all([cancel_open_orders])

Sell all strategy positions.

get_order(identifier)

Get a tracked order given an identifier.

get_orders()

Get all the current open orders.

get_position(asset)

Get a tracked position given an asset for the current strategy.

get_positions()

Get all positions for the account.

get_tracked_order(identifier)

Deprecated, will be removed in the future.

get_tracked_orders(identifier)

Deprecated, will be removed in the future.

get_tracked_position(asset)

Deprecated, will be removed in the future.

get_tracked_positions()

Deprecated, will be removed in the future.

get_asset_potential_total(asset)

Get the potential total for the asset (orders + positions).