JKorf / OKX.Net

A C# .netstandard client library for the OKX REST and Websocket Spot and Futures API focusing on clear usage and models
https://jkorf.github.io/OKX.Net/
MIT License
28 stars 15 forks source link

Missing endpoint "mass-cancel" (Cancel All orders) #27

Closed danielhw2 closed 6 months ago

danielhw2 commented 7 months ago

Missing this endpoint: https://www.okx.com/docs-v5/en/#spread-trading-rest-api-cancel-all-orders

Can't find this endpoint in restclient.UnifiedApi.Trading

CryptoExchange.Net 6.2.5 JK.OKX.Net 1.5.0

JKorf commented 7 months ago

That endpoint is part of Spread trading, which isn't supported at all atm. Order book trading doesn't have the same functionality, though it offers a batch cancellation endpoint which is already available.