KeyError: 'T' in ccxt.bittrex in parse_ohlcv
See original GitHub issueCalling bittrex_service.fetch_ohlcv("CANN/BTC", "1m")
raised KeyError on line:
timestamp = self.parse8601(ohlcv['T'])
where:
{
'Ask': 0.00004935,
'BaseVolume': 112.58089677,
'Bid': 0.00004861,
'Created': '2017-06-06T01:22:35.727',
'High': 0.00005269,
'Last': 0.00004854,
'Low': 0.00004251,
'MarketName': 'BTC-1ST',
'OpenBuyOrders': 242,
'OpenSellOrders': 5837,
'PrevDay': 0.0000456,
'TimeStamp': '2017-11-09T11:58:32.357',
'Volume': 2370437.89533223
}
Note that MarketName is not the same as what was requested. The market
dictionary OTOH, does reflect the correct market.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Top 5 ccxt Code Examples - Snyk
To help you get started, we've selected a few ccxt examples, based on popular ways it is used in public projects. Secure your...
Read more >ccxt · PyPI
A JavaScript / Python / PHP library for cryptocurrency trading and e-commerce with support for many bitcoin/ether/altcoin exchange markets and merchant APIs.
Read more >ccxt - npm
A JavaScript / Python / PHP library for cryptocurrency trading and e-commerce with support for many bitcoin/ether/altcoin exchange markets and merchant APIs.
Read more >Exchange-specific Notes - Freqtrade
Freqtrade is based on CCXT library that supports over 100 cryptocurrency exchange markets and trading APIs. The complete up-to-date list can be found...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I only saw it once and also haven’t been able to reproduce again. I was basically calling that periodically in a loop for data collection, and it just popped up randomly. I’ll run in verbose and in a debugger and see if I can catch it again (and debug)…
I would close this for now, if you don’t mind, until we have further development on this issue. Feel free to reopen it or just continue posting if you experience problems with after setting a delay on bittrex. Thx!