Login Page - Create Account

Support Board


Date/Time: Tue, 04 Mar 2025 12:26:40 +0000



Post From: resuming algo positions after disconnection

[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.