This repository contains shell programs for downloading Binance public market data.
wget https://raw.githubusercontent.com/system4-tech/binance-sh/refs/heads/main/lib/binance.sh
. binance.sh
klines spot BTCUSDT 1m
klines um BTCUSDT 1h
klines cm BTCETH 1d
symbols spot
symbols um
symbols cm
See tests for more examples.