TAYU Academy course material · Quant Strategy Development
Course Notes
1. Understand the core idea of “Factor development exercise” and explain it in your own words
2. Master this module's focus: Factor construction
3. Complete the assignment on your own and check it against the reference answer
When developing factors, it is important to save all attempts and avoid only publishing the optimal formula. Data cleaning, label delays, and transactional restrictions can alter the sample and should not be adjusted post hoc.
A factor is a quantifiable feature used to predict future returns, such as momentum (the past N-day return), mean reversion (distance from a moving average) or volatility. When building factors, keep the calculation consistent, handle outliers, and test their correlation with future returns (for example, rank IC).
Example: Use the 20-day return of EURUSD in the past as a momentum factor, and calculate its rank correlation with the future 5-day return; an IC close to 0 indicates weak predictive power, and an unstable IC symbol should also be vigilant.
Write factor cards → freeze parameters → split training/validation → generate missing values and sample dropout table → calculate relationships → list counterexamples and fees.
Submit a factor card for 3-step momentum covering inputs, formula, availability time, label, failure scenarios and an out-of-sample plan.
Cards clearly use "close" for the last item, and the first three items are missing. Labels and features are separated; volatility may reverse and frequently turnover, generating costs. It is written as "to be validated" without testing.
For closes of 100, 101, 103, 102, the 2-period momentum is 3% at the third point and 0.990099% at the fourth. A next-period return label can be used for evaluation only after that future period has occurred. Small samples or constant columns make correlation meaningless; there is no fixed threshold such as "IC > 0.03 always works".
Labels are future outcomes, not tradable features; also record how many factors were screened and how many failed.
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. Factors must be quantifiable and consistently defined
2. Test predictive power with IC
3. Watch for outliers and look-ahead bias
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.
When developing factors, it is important to save all attempts and avoid only publishing the optimal formula. Data cleaning, label delays, and transactional restrictions can alter the sample and should not be adjusted post hoc.
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.