altangent / ccxws

WebSocket client for 38 cryptocurrency exchanges
MIT License
619 stars 186 forks source link

OKEX v5 need to add #320

Open MidoMiddle opened 2 years ago

MidoMiddle commented 2 years ago

https://www.okx.com/docs-v5/en/#overview

new wss path and new arguments

// format 
{
  "op": "subscribe",
  "args": ["<SubscriptionTopic>"]
}
// example
{
  "op": "subscribe",
  "args": [
    {
      "channel": "trades",
      "instId": "BTC-USDT"
    }
  ]
}

v3 doesn't work

Mateotey commented 2 years ago

this would be really great if someone could code this pr