Skip to main content

Max Positions

The filter for max_positions allowed blocks signals based on the maximum number of allowed positions per account.

Example Payload

Assume you have open contracts in ES 06-26 and NQ 06-26. If a PLACE order signal arrives for a third instrument with max_positions=2;, for example, the signal will be blocked because no more than 2 positions can be open in the account at one time.

key=your-secret-key;
command=place;
account=sim101;
instrument=CL 4-26;
action=buy;
qty=1;
order_type=market;
tif=day;
max_positions=2;

Valid values for max_positions are any integer value greater than zero.