Can I rebuild my NinjaTrader orderflow strategies in Python with tick data to speed up backtesting?
Hey all,
I'm building strategies in NinjaTrader, but the replays are taking way too long. I capture a lot of different orderflow signals, and running through everything in NinjaTrader's replay is killing my iteration speed.
Is it possible to rebuild this whole setup in Python and feed it tick data instead? My thinking is that this would let me backtest much faster and iterate on ideas without waiting on slow replays.
Has anyone done this? Specifically:
- What libraries or frameworks do you use for tick-level backtesting?
- Where do you get your tick data, and what format works best?
- How do you handle orderflow metrics (delta, footprint, bid/ask volume, etc.) in Python?
- Any major gotchas going from NinjaTrader to a Python workflow?
Appreciate any pointers. Thanks!