Skip to article frontmatterSkip to article content

Integrating with Prefect

import pfeed as pe
# start prefect server and open the dashboard in your browser at http://localhost:4200
prefect server start

DataflowΒΆ

feed = pe.Bybit(
    use_prefect=True,  # this will use prefect's flow as dataflow
)
feed.download(
    product='BTC_USDT_PERP',
    resolution='1m',
    start_date='2025-01-01',
    end_date='2025-01-01',
)