Skip to main content
Fetch a window with /v1/fills, keep the taker’s fill of each match (so each trade counts once), and bucket by minute. Only treat candles that end at or before completeThroughTs as final.
Python
Send Accept-Encoding: gzip (requests does by default): a full page of fills is 1 to 3 MB of digits and shrinks about six times.