TAYU Academy course material · Backtest & Live Deployment
Course Notes
1. Understand the core idea of “Demo forward testing” and explain it in your own words
2. Master this module's focus: Forward test
3. Complete the assignment on your own and check it against the reference answer
Forward Test refers to observing subsequent data after freezing the strategy. Simply calling the historical left-out segment "forward" is acceptable, but it must be clearly stated that it is historical time series data left out, not a long-term run of a simulated terminal.
A forward test runs the strategy on a demo account with live prices to check execution differences (slippage, disconnections, rejections) and how the strategy performs on new data. Run it for at least several weeks, build up enough trades, and compare against backtest expectations.
Backtest slippage was set to 0.2 pip, but real-world testing showed 0.6 pip. The expected value of the strategy should be reassessed based on the real-world testing value.
Frozen version / start date → records only, no tuning → note paper trading or live mode → check signals / execution differences → recheck upon expiration.
Today, let's test the last 20 rows of the fixed CSV. How should we accurately mark "The demo account has been running continuously for 20 days"?
Cannot. Write "Leave the last 20 rows of historical synthetic data for testing", without real clock observation or terminal evidence. Record paper, offline, and simulated terminal runs separately.
Train rows 1-60, validate rows 61-80. If tags use the next 5 rows, tags at the end of training will use rows 61-65 and must be cleared or left as gaps. Original record time and tag end should be less than the validation start.
Don't relabel a validation segment you have already seen as "unseen data"; a walk-forward process must still record every window, not just the best.
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. Test execution with real-time data
2. Compare with backtest expectations
3. Conclude only once the sample is large enough
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.