Support Board
Date/Time: Tue, 04 Mar 2025 12:34:54 +0000
[Programming Help] - resuming algo positions after disconnection
View Count: 460
[2021-12-06 23:53:04] |
jomo88 - Posts: 47 |
For example, say the algo puts on a position, and sierra gets shut off or internet gets cut while that position is on. If you start up sierra again, I would like the code to recognize the position is already on, and not put an additional position on if conditions trigger another buy. Is there an code examples/documentation that help with keeping track of the state of a trading algo, so it can resume smoothly after a shut down. This also applies to holding positions through end of day/weekends. |
To post a message in this thread, you need to log in with your Sierra Chart account: