Standard¶
Install pfeed with your data source, e.g. Bybit, and Ray for parallel processing (recommended):
pip install "pfeed[bybit,ray]"Windows: enable long paths¶
Windows limits paths to 260 characters by default. pfeed stores data in nested folders (e.g. env=BACKTEST/data_layer=CLEANED/data_domain=MARKET_DATA/...), which together with your data folder can go over that limit.
Run this once in PowerShell as Administrator (right-click PowerShell → Run as administrator):
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -ForceThen open a new terminal (restart Windows if the error persists). Python supports long paths, so nothing else is needed.
Advanced¶
Pick only the extras you need:
| Extra | Adds |
|---|---|
bybit | the pfeed-bybit data source |
ray | parallel processing with Ray |
prefect | workflow orchestration with Prefect |
Combine them in one command:
pip install "pfeed[bybit,ray,prefect]"