-
Hi, I am a new dev. I am currently stream option data from bybit. There are new symbols everyday as new option contracts created. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
you'd need to set something up to read the symbol data at whatever time/cadence you desire, and then create a new feed. There is an example that does this: https://github.com/bmoscon/cryptofeed/blob/master/examples/demo_loop.py You'd just need to make the appropriate calls to get the new symbol data from the exchange (https://github.com/bmoscon/cryptofeed/blob/master/cryptofeed/exchange.py#L78 make sure you set refresh to True when you make this call) and then use whatever new symbols to make new subscriptions. |
Beta Was this translation helpful? Give feedback.
you'd need to set something up to read the symbol data at whatever time/cadence you desire, and then create a new feed. There is an example that does this:
https://github.com/bmoscon/cryptofeed/blob/master/examples/demo_loop.py
You'd just need to make the appropriate calls to get the new symbol data from the exchange (https://github.com/bmoscon/cryptofeed/blob/master/cryptofeed/exchange.py#L78 make sure you set refresh to True when you make this call) and then use whatever new symbols to make new subscriptions.