Support Board
Date/Time: Mon, 25 Nov 2024 03:03:06 +0000
[Programming Help] - ACSIL - adding targets for a scale in scale out trade
View Count: 274
[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
|
[2024-04-12 19:03:28] |
User370774 - Posts: 25 |
Just wanted to let you know the problem is still current. If you could let me know whether or not there is a way or even have code sample for me to look at I would be most grateful! Thank you in advance! |
To post a message in this thread, you need to log in with your Sierra Chart account: