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_asset_potential_total(asset)

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