TAYU Academy course material · Portfolio Strategies & Risk
Course Notes
1. Understand the core idea of “Portfolio kill switch” and explain it in your own words
2. Master this module's focus: Portfolio-level risk control
3. Complete the assignment on your own and check it against the reference answer
The Kill Switch for combining strategies not only looks at position limits but also at the total exposure of the account, data, and open orders. Pausing does not necessarily mean immediately liquidating all positions without cost.
At portfolio level, set a total risk budget, exposure limits per instrument or currency, a maximum portfolio drawdown kill switch, and rules for retiring a strategy that stops working.
Combination drawdown reaches 8%, half the risk is applied to all strategies; if a strategy consistently falls below the expected threshold for three consecutive months, the strategy is paused.
Summarize actual/potential positions → Review total/drawdown/data → Block new entries → Match hanging orders and unknown requests → Manual trace and recovery.
A has a risk of 180, B has a new request of 90, and the combined limit is 250. A's own limit is 200, and B's own limit is 100. Is B allowed?
Refused, combination 270 exceeds 250, although neither individually exceeds. Strategy isolation keys cannot be used to bypass account aggregation; recovery requires reducing or clearing the total, not adjusting thresholds to pass.
Teaching with 20 equal-weight loss samples, where 18 are 0 and the other 2 and 8. The 19th sample from the nearest-rank 95th percentile gives a VaR of 2; if ES is defined as the mean of the worst 5%, then only 8 is taken for an ES of 8. Different boundary methods must be disclosed, and 2 cannot be written as the maximum loss of 2.
Continuous quantile interpolation can give different VaR values; compare the algorithms before deciding the code is wrong.
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. Set a portfolio-level risk budget
2. Limit concentrated exposure
3. Set rules for retiring a strategy
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.