twelvedata / twelvedata-python

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

[Bug] Batch request error: KeyError: 'values' #9

Closed Seroplex closed 4 years ago

Seroplex commented 4 years ago

Requesting 16 stocks traded on the US exchanges returns the error: KeyError: 'values'

Requested stocks: symbols= [ 'PBFX', 'CATS', 'LIVX', 'CYRX', 'LOMA', 'CTMX', 'FVRR','REVG', 'ARYA', 'THBR', 'ECOM', 'ELMD', 'BLCM', 'GMBL', 'ACTT', 'LORL']

Expected behavior Price data

Screenshots TW

midasSSS commented 4 years ago

Fixed. In the case, if an error occurs during a batch request for some of the symbols, they will be skipped. See d2e915f39d32ba7c1f4f2129c788b7fc8821598e