TAYU Academy course material · Quant Risk Framework
Course Notes
1. Understand the core idea of “Incident response” and explain it in your own words
2. Master this module's focus: Live monitoring
3. Complete the assignment on your own and check it against the reference answer
Incident Response includes detection, limiting impact, investigation, recovery, and review. Logs should not be directly deleted or restarted infinitely for recovery speed; the key is to clear the status.
Monitoring includes real-time exposure, margin level, daily P/L, strategy deviation, and system status. Alerts should have clear responsible parties and handling steps, and should be regularly exercised to test emergency response procedures.
Margin level drops below 300% triggers an alert, and a reduction in position occurs automatically when it drops below 200%. A notification is sent to the responsible person for manual inspection if the connection is interrupted for more than 2 minutes.
Record event ID/time → freeze new additions → save evidence → verify inventory/request → investigate cause → isolate test → manual approval for recovery.
After a duplicate-order alert, give the first three actions and one "quick fix" that is not allowed.
Freeze new additions, retain logs, and reconcile orders and positions. Clearing of the empty state is not allowed immediately after. Before resuming, it must be known where the duplicates come from and the remaining potential exposure.
Assignment: Simulate the final quote at 10:00 and monitor at 10:05, where the net value from 10:00 is still displayed. If the freshness threshold is 30 seconds, it should show as expired and reject new instructions, not because the old net value is within limits and the instructions are green. Orders with unknown status must be queried, not automatically repeated for closing.
Pausing a strategy does not guarantee existing positions are closed; never send a "risk cleared" notice without confirmation.
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. Monitor exposure and margin
2. Each alert needs a matching response step
3. Rehearse emergency procedures regularly
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.