TAYU Academy course material · Grid & Range Strategies
Text walkthrough
Dynamic spacing
A self-paced text walkthrough, without video or audio. See the article below for worked examples and materials.
Course Notes
1. Understand the core idea of “Dynamic spacing” and explain it in your own words
2. Master this module's focus: Dynamic grid design
3. Complete the assignment on your own and check it against the reference answer
Dynamic spreads often use historical volatility scaling, but frequent re-creating levels can lead to repeated trades and costs. Adjustments should retain open inventory and old order ownership, and floating losses should not be recalculated and wiped out.
Use ATR to adjust the grid spacing (larger intervals for greater volatility). Set the upper and lower boundaries of the range, the maximum number of layers, and the overall stop-loss. Estimate the worst-case funds required: the total loss when all layers are executed and the stop-loss is hit.
ATR=30 pip, spacing is 1×ATR, with a maximum of 5 layers, each layer 0.01 lot; in the worst-case scenario, all 5 layers are executed, and a stop-loss of 150 pip is placed below the current position. The total loss per layer is calculated based on the distance from the current position to the stop-loss, and the total loss is confirmed to not exceed 5% of the account equity.
Calculate ATR using completed bars → set fixed multiples for spacing → limit update frequency → cancel/inherit old order rules → maintain original position ledger.
Teaching interval is increased to 1.5 times the ATR, from 2 to 4. How does the interval change? Can old positions be re-marked at the new grid entry price?
From 3 to 6; unchanged opening of old positions and fees. The new level cannot cover the real or simulated cost baseline, otherwise equity and risk statistics will be distorted.
Assuming ATR is 20 pips with a multiplier of 0.5 and a step size of 10 pips; when ATR rises to 40, it becomes 20 pips. A 100-pip range spans 10 intervals at a 10-pip step size and 5 intervals at a 20-pip step size. Old inventory cannot disappear from the account due to a reduction in new grid layers.
Being dynamic does not automatically lower tail risk; the strategy still needs limits on inventory losses and gaps.
This dependency-free script contains small labs for rank correlation, time folds, inventory valuation, covariance risk and rejection paths. The grid part only models buy-on-the-way-down inventory, with no sell-side recycling or real fills; the risk-parity part only demonstrates a given covariance and is not a general optimiser. Work from the report, and do not treat a small lab as a complete production strategy.
python strategy_labs.py1. Spacing adjusts to volatility
2. Limit the maximum number of levels
3. Estimate capital for the worst case
Risk warning: leveraged trading in forex, precious metals and similar products carries a high level of risk and you may lose all of your capital, or more. This course is for education only. It is not investment advice and does not promise any return. Example prices and contract specifications are teaching assumptions; always use what your own platform discloses. Past performance and backtests do not indicate future results.
All values, prices, accounts and cases in this course are teaching assumptions; the fixed materials can be reproduced offline. Marking a lesson complete only records your study. It is not a certification, a service approval or a promise of returns. Workbooks and answer files are currently provided in Chinese.
Key Takeaways
Completion records your own study, not verified competence. Exercises use fictional data; no real account or deposit is required.