Out of memory loading ticks in backtest #3406
-
|
I'm loading a full year with 2025 SOL/USDC ticks, the backtest loads 5-6 GB, then crash. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Hi @vasilvestre Thanks for reaching out. I'd recommend you look into the high-level backtest API and configure with a https://github.com/nautechsystems/nautilus_trader/blob/develop/nautilus_trader/backtest/config.py#L365 |
Beta Was this translation helpful? Give feedback.
Hi @vasilvestre
Thanks for reaching out.
I'd recommend you look into the high-level backtest API and configure with a
chunk_sizeso that you stream the data from the backend in chunks rather than all at once. I hope that helps!https://github.com/nautechsystems/nautilus_trader/blob/develop/nautilus_trader/backtest/config.py#L365
https://nautilustrader.io/docs/nightly/concepts/backtesting#high-level-api