The Sync Divergence Guard
Detects when your position drifts from the broker during a connection issue, then pauses copying and automation until it lines up again.
The Sync Divergence Guard protects an account when Lune loses touch with your broker. If your position at the broker no longer matches what Lune expects, the guard pauses copying and automation for that account until the two line up again.
Why divergence happens#
A broker connection can drop for a moment. If you act at the broker during that gap, Lune's view and the real position no longer match. For example, you flatten a position at your broker while Lune is disconnected. When Lune reconnects, its records show a position that is no longer there.
What the guard does#
When the guard spots divergence during a connection issue on an account, it steps in:
CopyingPausedOptionalThe Trade Copier stops mirroring to the account.
AutomationPausedOptionalAuto Trader stops acting on new signals for the account.
Manual tradingUntouchedOptionalYou can still place and close orders by hand.
This keeps an automation or a copied trade from firing on a stale view of your position.
It self-heals#
You do not have to fix anything. Once the connection recovers and the account's position is consistent again, the guard clears itself and copying and automation resume.
The guard only acts during a connection issue with a real divergence. Normal manual trading never triggers it, and it never pauses your manual orders.