twelvedata / twelvedata-python

Twelve Data Python Client - Financial data API & WebSocket
https://twelvedata.com
MIT License
392 stars 57 forks source link

Fix https://github.com/twelvedata/twelvedata-python/issues/45 #46

Closed sgacode closed 2 years ago

sgacode commented 2 years ago

Fix issue https://github.com/twelvedata/twelvedata-python/issues/45

Changes:

  1. Prevent calling heartbeat method before WS is connected
  2. Handle exceptions when calling heartbeat method