Login Page - Create Account

Support Board


Date/Time: Fri, 18 Apr 2025 04:20:12 +0000



Post From: [ACSIL] - Max allowed Position size question

[2025-03-29 10:52:45]
User431178 - Posts: 647

The issue I am facing is, s_SCNewOrder struct has members going only up to 5 orders. I cannot figure out how do I trade with 6 orders for example.

Your initial question makes more sense now.
If I need to have more than 5 stops/targets, I break up the quantity accordingly and send as separate orders.
You could store the requirements in an appropriate container (e.g. queue) and pop them off as each order is sucessfuly submitted.