TAYU Academy course material · Quant Strategy Development
Course Notes
1. Understand the core idea of “Parameter optimisation traps” 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
Optimizing parameters on a limited sample can compare many combinations, and the best may just be noise. Showing surface stability of parameters and neighborhood stability provides more information than just reporting the maximum yield.
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.
Record all trial runs → select only in the training segment → look at the neighborhood and failure zone → freeze candidates → validate in the future, not reusing the test set.
After trying 100 parameter sets you pick the best one and then claim out-of-sample results on the same data. What doesn't hold up?
This segment has been selected for training/validation information and should not be treated as an independent external sample. The subsequent data that has not been used for hyperparameter tuning must be retained, and failure results should not be deleted.
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.
Key Takeaways
Completion records your own study, not verified competence. Exercises use fictional data; no real account or deposit is required.