Support Board
Date/Time: Mon, 20 Jan 2025 19:01:07 +0000
[Programming Help] - exiting a specific order when multiple positions are active
View Count: 594
[2018-07-03 22:03:20] |
jizzary - Posts: 177 |
Hi, My trading algos are running at different windows - all of them are trading the same symbol. every algo makes its decisions independently. considering the above, when a given wants to close a position, it needs to be able to tell which position should be closed (as there may be few ones active concurrently) For that matter, I see s_SCNewOrder::InternalOrderID. I fetch it after entering a position (sc.SellEntry/sc.BuyEntry). Do sc.SellExit and sc.BuyExit works with s_SCNewOrder::InternalOrderID if set ? can I count on it to be working ? Please advise. Thanks. |
To post a message in this thread, you need to log in with your Sierra Chart account: