TAYU Academy course material · Quant Strategy Development
Course Notes
1. Understand the core idea of “Walk-forward in practice” and explain it in your own words
2. Master this module's focus: Signal generation and parameter optimisation
3. Complete the assignment on your own and check it against the reference answer
Walk-Forward is tested multiple times over different time intervals. Parameter selection and scoring should be strictly separated, and overlapping or gaps should be excluded when labeling.
Converting factors into trading signals requires thresholds and position rules. Parameter optimization is prone to overfitting: the more parameters and the larger the search range, the more attractive the in-sample results are, and the more likely they are to fail out-of-sample. Prioritize intervals where parameters perform stably across the board (parameter platform) rather than a single optimal point.
Moving average cycles between 15–40 yield positive results and have less volatility compared to only a cycle of 23, which is more credible.
Write training/test calendar → use only past parameters for each fold → freeze → record next performance → concatenate non-overlapping tests → prohibit mixing training gains.
Training 1-60, testing 66-80, label span is 5. Is it possible for the latest training feature point to be 60? Explain the condition for the endpoint of the labels.
If feature 60 tags from 65 and testing starts from 66, use it within the boundary; if testing starts from 61, it will overlap, and it should be excluded or leave a gap. Check the endpoint of the tag rather than just the line number.
Three fictional training/validation scores: parameter A 2.0/−0.2, B 1.2/0.8, C 1.1/0.7. You cannot claim A is best from its training score of 2.0; first select on the validation set by the preset criterion, then lock the parameters and check the independent test. If you tune parameters after seeing the test, the test has been used up.
Labels whose sample window crosses a boundary can leak; the gap should cover at least the label span, not just one blank row.
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. The more parameters, the easier it is to overfit
2. Choose a parameter range that performs steadily
3. Keep out-of-sample data
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.
Walk-Forward is tested multiple times over different time intervals. Parameter selection and scoring should be strictly separated, and overlapping or gaps should be excluded when labeling.
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.