Repository navigation
v0.3.34
Fixed REST position resync stale-cache handling across Binance, Bitget, Bybit, OKX, and HyperLiquid. Startup and reconnect resync now clear cached positions missing from the latest authoritative REST snapshot, and Binance REST zero-amount positions now flow through AsyncCache._apply_position() so positionAmt=0 removes stale cached positions consistently with WebSocket updates. Added regression coverage for zero or omitted REST position snapshots across the affected exchanges. Verified with py -m pytest test -q.