Login Page - Create Account

Support Board


Date/Time: Mon, 25 Nov 2024 02:38:18 +0000



Post From: ACSIL - adding targets for a scale in scale out trade

[2024-04-04 21:04:50]
User370774 - Posts: 25
Good Day,

To scale in and out with attached orders I get into the situation that requires to add at least a second target.
Unless I have to somehow add a second "empty" target in the first 1 lot entry that gets later modified and assigned with a quantity.
Either way I'm not sure how to do that. All examples and documentation I find only modify existing attached orders or scale in but not out.

So far I use the s_SCNewOrder structure to create the first entry and then a second s_SCNewOrder to add to that position and then from here I can use the same structure with a sc.ModifyOrder function to change existing oders via their IDs but don't seem to be able to add any.

Could you give some insight? e.g.: 1 lot plus 4 lot, scaling out 4 and leaving 1 runner (with attached orders)

Thank you so much in advance!

WELD
Date Time Of Last Edit: 2024-04-04 21:07:41