-
-
Notifications
You must be signed in to change notification settings - Fork 164
`stream_signals`
Oliver Zehentleitner edited this page May 4, 2024
·
16 revisions
Receive signals about changes in the status of your stream with the stream_signal_buffer
or with an event-based callback function.
Type | Info |
---|---|
CONNECT | This signal informs about a successful connection establishment. |
DISCONNECT | This signal informs about a disconnect and also includes the last received data record. last_received_data_record can contain the last record or None . |
FIRST_RECEIVED_DATA | This signal informs about the first received data record. first_received_data_record contains the first received record. |
STOP | This signal informs about the stop of the stream. |
STREAM_UNREPAIRABLE | This signal informs you when a stream cannot be restarted, e.g. an invalid API key or an exception within your provided process_asyncio_queue -coroutine. Attention: This signal is NOT sent if there is no network connection, as soon as the Internet connection is re-established, the stream automatically reconnects. error_msg contains the full error message. |
UNICORN Binance WebSocket API and all other tools of the UNICORN Binance Suite are open source projects which welcomes contributions which can be anything from simple documentation fixes and reporting dead links to new features. To contribute follow this guide.