QuantConnect / Lean

Lean Algorithmic Trading Engine by QuantConnect (Python, C#)
https://lean.io
Apache License 2.0
9.87k stars 3.27k forks source link

User Defined Crisis Event #8026

Open AlexCatarino opened 6 months ago

AlexCatarino commented 6 months ago

Expected Behavior

We can define a crisis event period in the algorithm. E.g.:

AddCrisisEvent("Lord of the Rings Trilogy", new DateTime(2001,12,19), new DateTime(2003,12,17));

The report will display this event.

Actual Behavior

The crisis events are pre-defined.

Potential Solution

N/A

Checklist

DerekMelchin commented 5 months ago

The FTX collapse would be a good example to add with the implementation