Chapter 31 · Risk Management
Why do professionals look at risk before opportunities each day?
- Skills to practice
- Control losses
- 3D simulation
- Crisis simulation room · Market crisis(planned)
Market scene
Lin's virtual account started with $100,000 and has already lost 1,500 today. He plans to buy 100 units at 100, exiting when the observed price reaches 95 or lower. Planned loss is 500, exactly today's remaining loss allowance.
The screen first shows 98, then jumps directly to 94. After his exit, price returns to 102. He wants both to undo the sale and to buy back twice as much. Can he continue today?
Your decision
The rules are written, and the same price path will follow. How will you handle this request before submission?
Observe the result
| Action | Trade result | Daily cumulative | Subsequent state |
|---|---|---|---|
| 100 units, exit at 94 | −600 | −2,100 | Daily shutdown |
| 50 units, exit at 94 | −300 | −1,800 | Daily limit not triggered |
| Request 200 units | No entry | −1,500 | Over budget; rejected |
| Manual stop | No entry | −1,500 | No new risk |
A later price rise cannot make an advance limit violation compliant. Likewise, missing a rebound after a rule-based exit does not justify canceling the rule on the spot.
The mechanism
Recalculate with the simplified model: initial capital 100,000, per-trade planned-loss cap 1%, daily loss cap 2%, total position notional cap 50%. Today's prior loss is 1,500; entry is 100 and the exit trigger is 95.
Allowed quantity meets three limits simultaneously: per-trade risk, today's remaining budget, and total post-entry exposure. Planned loss is quantity times entry minus trigger price. At 100 units it is 500; at 200 units it is 1,000.
- Check data and manual-stop status first
- Check trade, daily, and total-position budgets
- Observe prices and execute only after approval
- Retain the result after the exit trigger
- Stop new risk today when the daily limit is reached
When price jumps from 98 to 94, the model exits at the observed 94. Loss is already 600. Real markets may also lack depth or incur delays and fees. A daily limit triggers actions; it is not a wall the account can never cross.
The experiment does not automatically add daily profits back to the risk allowance. Increasing size after profit requires a separate advance rule. It demonstrates one virtual spot long, without intrabar paths, queues, or real takeover capability.
What it is called
Real markets
The Chapter 18 case shows declining prices and forced sales reinforcing each other. Do not assume a particular stop guarantees a fill; test who handles over-budget losses when depth thins.
Chapter 15 introduced the erroneous-order incident. Risk is not just a wrong direction. New-risk stops, state reconciliation, and restart authorization need explicit responsibility during software faults.
The Chapter 16 venue-risk case reminds us that different tokens may depend on one venue. Price stops cannot resolve unavailable venues; give venue budgets and contingency procedures separate treatment.
Hands-on
Virtual account $100,000; already down $1,500 today; entry 100, exit trigger 95; per-trade budget 1%, gross exposure cap 50%. No fees; discrete price observations. Parameter changes rerun an independent scenario.
Entry allowed; Exit when 94 is observed; Daily shutdown; later gains do not reopen trading
Course versionV1-docs; sourcep4:risk-session;Chapter 31 / TRD-PRO-001
Records parameters and results at the click only; does not mean the experiment passed.View snapshot to save
- Observation1: price100, this trade0.00 USD →Hold
- Observation2: price98, this trade-200.00 USD →Hold
- Observation3: price94, this trade-600.00 USD →Stop-loss exit
95 is a trigger, not an execution guarantee. The model exits at observed prices and excludes intrabar paths, depth, and a real Kill Switch. Data failures affecting existing positions require separate cancellation, reconciliation, and reduction rules.
- Keep defaults and record planned loss, actual exit price, and cumulative daily loss.
- Change only quantity to 200 and explain when rejection occurs; then change to 50 and reconcile.
- Enable bad-data and manual-stop conditions separately and inspect whether new positions open.
- Write a stop card: trigger, actions stopped, who reconciles existing positions, and evidence for restart. Do not connect a real account.
Change one variable
Three depths
- FoundationWhy do professionals inspect risk before opportunities each morning?Chapter 31
- AdvancedHow are Portfolio VaR, Expected Shortfall, and Stress Testing calculated and used?Advanced D · Portfolio and risk
- InstitutionalHow can Factor, Counterparty, Venue, Model, and Operational Risk enter one risk engine?Institutional
- 3DTrigger one of ten crises and choose reduction, hedging, or holding under pressure.Crisis simulation room
Write amounts, exits, and shutdown actions before trading. Enforce the tightest budget at entry and reconcile actual losses at available exit prices. One gap shows why planned risk differs from actual loss.
VaR gives a loss quantile at a confidence level; Expected Shortfall describes mean loss beyond it. Both depend on distribution, window, and correlation assumptions, and neither replaces stress testing. Test historical estimates, sudden correlation rises, liquidity discounts, and data outages separately, recording each changed assumption; see Advanced D.
Continue the project: calculate tail quantiles and ES with their limits.
A unified risk view covers factors, counterparties, venues, models, and operations, with timestamps and quality states. Separate authority to trigger a stop, handle existing risk, and authorize restart. Unknown order status needs reconciliation; resubmission is not proof of recovery.
Continue the project: map layered risks to deterministic actions.
Questions to take away
Chapter self-test
For 100 units, the difference from 100 to 95 is 500, but the next observed price is 94, giving 600. The model does not invent a fill at an unavailable 95.
No. This rule stops at reaching the cap, not only after exceeding it.
One result cannot establish a rule's long-term value. Check advance-rule compliance, then research sufficient samples rather than rewriting the plan to chase this outcome.
Stop new risk and reconcile data, orders, and positions. This experiment only rejects new entries; it does not mean a real system canceled orders or reduced positions.
One idea to take away
Risk management underlies the system: encode per-trade risk, daily loss, and gross exposure as executable limits, with stop and recovery procedures for gaps and system failures.
Record this learning session
Read means only that you confirm reading this chapter. Self-tests are your assessments against reference conclusions. Neither certifies mastery or professional level. Each click retains a timestamped local record.
Answer the core question and record a self-assessment
Why do professionals inspect risk before opportunities each morning?
Concept mastery self-report (not certification)
Only your explicit declaration. Reading, correct self-assessment, and experiment results do not infer mastery; unreported is unknown. Revocation restores unknown and removes selected attachments.
Stop loss:Not read
Per-trade risk:Not read
Daily loss limit:Not read
Risk exposure:Not read
Circuit breaker:Not read
This chapter's self-report has not been read. No report does not imply mastery.
Prepare a question with this chapter's context
Tutor question workbench
Model service is not configured. Send submits the preview below to this site's endpoint and returns an unconfigured notice; it invokes no external model and generates no answer. Provider, runtime location, and retention remain undecided.
Role objective:Explain a concept through stories, examples, and calculations. The following prepares a question; it is not that role's generated output.
Foundation Chapter 31 · TRD-PRO-001 v1.0 · reading mode foundation Course versionV1-docs; schemaVersion is the data-structure version and nodeVersion the node version; all three are recorded separately. Reading mode is not self-reported Level.
Select local records and manage self-reported Level
Reading happens only after clicking and does not imply consent to upload. Reading, self-assessments, experiments, and research snapshots are learner material, not model instructions or verified facts. Do not include keys, identity details, or real account information.
Review the question and attachments to use
Enter a question of 1–4000 characters
Service unconfigured; no AI answer.
Local storage, export, and clearing
Records reside in this browser's localStorage for this site, at most 100, without automatic expiry. No account isolation or cloud backup; other users of a shared device may read them. Edit in one tab: concurrent writes may overwrite. Export promptly. Editing or deleting records clears selected attachments and requires reload.
Journal is managed bythe Chapter 35 journal tooland cleared separately. Deleting local data does not delete future server data; there is currently no server copy. Storage rejection will not be reported as success. Copy this page's preview.