Position Copying from a Leader Account with Equity or Position Scaling
Summary
This document describes a leader-follower system for copying futures positions. The leader is polled for changes to its open positions; additions, reductions, and removals are translated into trade instructions for subscribed accounts. Followers can scale copied amounts by a configured position ratio or by the relative account equity, and orders can be retried after unsuccessful submissions. The system also checks quote-currency compatibility and reports leader and follower account and position details.
The design initializes its position snapshot without copying positions already open, then follows subsequent detected changes. The source includes a backtest mode that simulates leader trades, but supplies no evidence of tracking accuracy or trading performance. The code itself marks ongoing position synchronization as incomplete, and the document gives no safeguards for latency, partial fills, leverage differences, or follower-specific risk limits. Equity ratios are calculated at subscription time, so the described mechanism does not establish continuous rebalancing as account equity changes.
Key ideas
- A polling leader account detects position additions, reductions, and removals for followers to copy.
- Followers can scale trade amounts by a fixed position ratio or relative account equity.
- Order submission supports a configurable retry count after unsuccessful attempts.
- Existing leader positions are recorded at initialization without being copied in the shown flow.
- Position synchronization is explicitly incomplete, and no performance or execution-quality evidence is provided.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.