TAYU Academy course material · Grid & Range Strategies
Course Notes
1. Understand the core idea of “Grid run and shutdown drill” and explain it in your own words
2. Master this module's focus: Offline prototype validation
3. Complete the assignment on your own and check it against the reference answer
Maintenance drills require stopping new additions and reconciling existing positions while controlling recovery. Price retracements may not necessarily bring original risks to zero; old pending orders and unknown requests may still be effective.
First, use synthetic data or historical data to offline simulate the changes in inventory and the equity curve of the grid, and then check if the shutdown conditions are triggered (such as fully closing out positions when a breakout occurs and stopping). This lesson only creates an offline prototype and does not connect to a real account.
Example: Run the grid on synthetic data for a single-sided downtrend, confirm that the stop-out is triggered when the price breaks below the lower boundary, record the maximum floating loss and the final loss.
Trigger a pause → freeze level generation → check pending orders, positions and logs → record a manual review → resume only once the preset conditions are met.
Inventory is at 7 and the limit is 10. An unknown request may result in another transaction of 4. Before recovery, should the risk be considered at 7 or at least 11?
Consider potential losses of at least 11 pips and do not automatically assume 0 for unknown values. Recalculate the remaining quantity only after confirming the results of the request, the status of cancellations, and the current inventory; do not automatically recover from price reversals.
Fictitiously, buy 1 unit at 100, 99, and 98, respectively, with the final price at 95. The inventory is 3 units, and the weighted cost is 99, resulting in unrealized losses of 12. If there had been a small profit of +2 previously, the overall position would still be at -10, and it is not sufficient to only show the +2 as closed.
Without an EA executor it can only be called an offline prototype; calling a grid curve that ignores costs ready to go live is misleading.
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. Simulate offline first
2. Test the shutdown conditions
3. No real trading in this lesson
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.
Maintenance drills require stopping new additions and reconciling existing positions while controlling recovery. Price retracements may not necessarily bring original risks to zero; old pending orders and unknown requests may still be effective.
Record your work and compare the reference result. Self-checks are not verified competence.
Completion records your own study, not verified competence. Exercises use fictional data; no real account or deposit is required.