# Backtest Lab — pinned to the exact versions the suite passes on, resolved # against Python 3.10, which is what the ZeroGPU Space image provides. # # Two pins are dictated by the Space builder rather than by us: # * vectorbt 1.1.0 requires Python >=3.11 and cannot install on the ZeroGPU # image, so this is pinned to 1.0.0. All 190 tests pass on it. # * `spaces` is injected by the ZeroGPU builder itself; pinning it here # conflicts with the builder's own version, so it is deliberately absent. # UI gradio[oauth]==5.49.1 plotly==6.9.0 # Engine vectorbt==1.0.0 numpy==2.2.6 pandas==2.3.3 numba==0.67.0 scipy==1.15.3 scikit-learn==1.7.2 # Store huggingface_hub==1.27.0 pyarrow==25.0.1 # Price providers ccxt==4.5.64 yfinance==1.6.0 requests==2.34.2 # Forecast adapters. Imported lazily inside ForecastAdapter.load(), so app boot # never pays for them -- this keeps cold start fast while still letting the # ZeroGPU extension path work when GPU hardware is attached. # ZeroGPU only accepts torch 2.11.0 / 2.10.0 / 2.9.1 / 2.8.0. torch==2.11.0 chronos-forecasting==2.3.1