Order Pos

order_pos [integer]

This is internal counter value for orders inside one grid. It can’t be placed inside grid’s settings It is positive for orders with side=’sell and negative for side = ’buy . The value can’t be zero. Range for the value is [-buy_orders_count, -1] **∪** [1, sell_orders_count]

order_pos can’t be used in update_balance_formula inside group and/or account

Examples:

Last updated