Skip to main content

Module fetcher

Module fetcher 

Source

Constants§

TF_WEIGHTS
TIMEFRAMES

Functions§

fetch_current_price
Fetch the most recent closing price (last valid close in a 5-day 1d window)
fetch_ohlcv
load_ohlcv_csv
Read OHLCV from a local CSV. Required columns are open, high, low, close, and volume; names are matched case-insensitively and extra columns are ignored.