Tim55667757 / TKSBrokerAPI

TKSBrokerAPI is the trading platform for automation and simplifying the implementation of trading scenarios, as well as working with Tinkoff Invest API server via the REST protocol. The TKSBrokerAPI platform may be used in two ways: from the console, it has a rich keys and commands, or you can use it as Python module.
https://tim55667757.github.io/TKSBrokerAPI/
Apache License 2.0
25 stars 9 forks source link

KeyError: 'candles' when download some histories #120

Closed Tim55667757 closed 1 year ago

Tim55667757 commented 1 year ago
  File "..\site-packages\tksbrokerapi\TKSBrokerAPI.py", line 2888, in History
    responseJSONs = responseJSON["candles"] + responseJSONs  # add more old history behind newest dates
KeyError: 'candles'
Tim55667757 commented 1 year ago

Fixed since build v1.6.dev140

Debug build: https://app.travis-ci.com/github/Tim55667757/TKSBrokerAPI/builds/259866411 Artifact for testing in PyPI: https://pypi.org/project/tksbrokerapi/1.6.dev140/