TAYU Academy course material · Portfolio Strategies & Risk
Course Notes
1. Understand the core idea of “Allocation plan simulation” and explain it in your own words
2. Master this module's focus: Dynamic allocation
3. Complete the assignment on your own and check it against the reference answer
Allocation of the simulated account should include cash, weights, and rebalancing costs. The sum of the nominal weights adding up to 1 does not necessarily control the risk; related shocks can still result in simultaneous losses.
One can allocate (using an inverse volatility approach) for risk parity, or adjust weights based on market states (trend, range). Adjusting too frequently increases costs, and state judgments can also lag.
Example: Strategy A has an annualized volatility of 10%, while Strategy B has an annualized volatility of 20%. By allocating weights based on the inverse of the volatility, Strategy A would have a weight of approximately 2/3 and Strategy B would have a weight of approximately 1/3, to make their risk contributions more comparable (here simplified by ignoring correlation).
Freeze the initial weights → calculate amounts from start-of-period equity → apply each strategy's net return → include rebalancing fees → compare drift with the target → record every path.
Capital 10000: A 50%, B 30%, cash 20%. A rises 2% and B falls 1%, no fees. What is the ending equity?
10000 + 5000 × 0.02 - 3000 × 0.01 = 10070. Interest is not accrued on cash; new target amounts are only set at rebalancing, not as initial weights at the end.
Two strategies have a 10% and 20% volatility in one direction and a 10% and 5% volatility in the opposite direction. They are normalized with weights of 2/3 and 1/3. If the correlation changes, the risk contributions may not be exactly equal. It cannot be determined that the weights at the start of the test period can be reversed based on the entire test period's volatility.
Market regime classification can also be wrong; never choose the day's weights using a trend known only afterwards.
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. Allocate by risk, not by capital
2. Rebalancing frequency must account for costs
3. Regime detection lags
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.
Allocation of the simulated account should include cash, weights, and rebalancing costs. The sum of the nominal weights adding up to 1 does not necessarily control the risk; related shocks can still result in simultaneous losses.
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.