TAYU Academy course material · Backtest & Live Deployment
Course Notes
1. Understand the core idea of “Writing a backtest report” and explain it in your own words
2. Master this module's focus: Building a backtesting framework
3. Complete the assignment on your own and check it against the reference answer
Backtest reports must be reproducible and include failed conclusions. Extracting only the best parameters can hide the exploration process, and the yield without a cost model should clearly state gross performance rather than net performance.
To do a reliable backtest, use accurate historical data (including spread), assume trading on the next candle, include commissions and slippage, avoid survivorship bias and lookahead bias, and save reproducible configurations (data version, parameters, random seed).
For the same strategy with zero costs, an annualization of 25% drops to 8% when accounting for a 1 pip spread and commissions, highlighting how sensitive this strategy is to costs.
Hash/version/parameters → given to matching and fees → evaluated metrics → displayed boundary of samples → listed pressure and uncovered items.
Submit a report outline and one "failed" example, explaining when research deployment must not continue.
If there are future functions, unaccountable situations, or critical risk logic fails, they should be fixed before going live. Deployment decisions should not be automatically triggered by a rising equity curve.
Closing at 100 generates a signal for the next open at 103; backtesting at 100 for a trade would be equivalent to using an unavailable price. If the same H=110, L=90, both the SL95 and TP105 orders are covered, the order of triggering is unknown, and automatic profit calculation cannot be done automatically.
A longer sample does not remove systematic look-ahead leakage; synthetic data is only for checking calculations and does not prove a strategy works.
The script covers data cleaning, a traceable next-open simulation, and equity and risk arithmetic. It is not a production trading engine; the hand calculations and report tasks for this lesson still have to be done independently.
python research_lab.py --self-test
python research_lab.py --output academy-results1. Costs must be included in the backtest
2. Reproducible configuration
3. Avoid look-ahead and other biases
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.
Backtest reports must be reproducible and include failed conclusions. Extracting only the best parameters can hide the exploration process, and the yield without a cost model should clearly state gross performance rather than net performance.
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.