Optional Panic Trigger
Using the "Panic Mode" action will immediately sell all of your positions. Use with caution.
If you want to set up a trigger to sell everything in the event that the market undergoes a massive dip or crash, you can set up an optionally Trigger on your own to do so. You may use the below Trigger as a framework, but this is at your own risk.
You must have an Adventurer or Hero subscription in order to have enough Triggers available. The Explorer subscription only allows 2, which the template already uses up.