1
100%
u/VM-5
3 days ago
Infrastructure
What are the common mistakes in systematic models and infra that people make?
Hey so I've recently been working on a backtesting engine for a personal project and I've been reading up on survivorship bias, fees, slippage, taxes, margin rules, regulations (Reg T) etc to try and get a very precise result on my strategies.
Currently the workflows start with you doing some research, then testing out strategies, then layering it out in a portfolio with a beta layer and one or many alpha layers to improve your risk/return profile, and finally stress testing it ideally since 1990 but I would prefer going back to 1945 if possible.
Recently I've been putting in a bigger focus on US equities although I am planning on working for Canadian equities too but I then have to read up on all their regulation and tax systems too. What are some more niche but highly important costs or workflows you think should be included for good research and backtesting?
Currently the project uses Norgate since they seem to have the best survivorship bias and their updater downloads all updates every hour, but I'd be interested to know what other sources anyone uses to go back as close as possible to 1945. The one downside here is that rebalancing can only be once a day at most since the granularity stops there (for now). It also uses IB Gateway to send orders via API since I can hook up a paper and live account here.
The current project can be found here: https://github.com/Val198765/heimdall
I'd appreciate any feedback anyone may have :).