4 ms·
I feel like the first thing I would build into any automated trading system is a kill switch? then every single diff or pull request I add would have some sort
by skizm 3y ago
I feel like the first thing I would build into any automated trading system is a kill switch? then every single diff or pull request I add would have some sort of automated testing to ensure the kill switch still works. Also I'd manually flip it on/off once a day to make sure it works for real. That seems like the single most important thing to build and make sure works. Or is the system too complex for something like this and I don't understand the domain well enough?
- slavboj 3y agoDepending on what you're doing, a straight "pull the plug and stop trading" could leave you with eg unhedged positions that blow through your risk limits. But when your ability to actually execute those trades sensibly is broken regardless, yeah, you're still going to want to hit that button.
- atomicnumber3 3y agoMost systems do. At pastjob we had a few different levels: - halt - just stop trading - exit-only - only exit positions (but do so according to our alphas, no hurry) - flatten - exit in a hurry but obey certain limits (often if liquidity was thin we would just "journal" the shares - move them to a long-term-hold (meaning more than the current day) account to exit in the opening auction the next day - market exit - get the fuck out, now, no matter what the cost. I never saw us use that last one.