From Dev.to
Your risk guard resets on restart. Here is how to prove it.
A guard that lives in a module variable is decoration. It looks like a limit, it logs like a limit, and it disappears the moment the process restarts. This is the failure I keep finding in trading aut...
