bmoscon / cryptofeed

Cryptocurrency Exchange Websocket Data Feed Handler
Other
2.19k stars 679 forks source link

Adding 'public trade channel' for OKX #891

Open leoleung1998 opened 2 years ago

leoleung1998 commented 2 years ago

Is your feature request related to a problem? Please describe. I am trying to monitoring block trade events and would like to see if that's possible to add the 'Public structure block trades channel' from OKX

Describe the solution you'd like I would like to subscribe channel like this

f.add_feed(OKX(symbols= ['BTC-USD-20220807-C"], channels=[BLOCKTRADES], callbacks={BLOCKTRADES: blocktrades }))

Thank you very much