You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OKX: WebSocket orders.ws_place_order, ws_amend_order and ws_cancel_order now send the market instIdCode. Before this fix OKX rejected all three with 50014 Parameter instIdCode can not be empty. A market without a code goes via REST.
Cancel over WebSocket. A rejected WS cancel (other than "no such order") is now retried via REST. Cancel is idempotent, so the order no longer stays on the book.
New
candles(symbol, tf, since=, until=, limit=): page history backwards with until (ms, inclusive).
funding_intervals(symbols=None) -> {symbol: hours}, and FundingRate.interval_hours.
OrderTracker.track(order): show a just-sent order in the tracker before its WS event.
Docs
OKX and Bitget perpetuals need margin_mode in create_exchange.