Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python Errors related to Klines #37

Open
Choonie12 opened this issue Jul 10, 2021 · 1 comment
Open

Python Errors related to Klines #37

Choonie12 opened this issue Jul 10, 2021 · 1 comment

Comments

@Choonie12
Copy link

Using Python Binance Version 0.7.11 and am getting these error codes after about two minutes of querying and using Kline intervals of 5 minutes or more. Appear to be data issues and not sure where/how to change the modules. Has anyone received these error codes, know the fix or where i can fine the information to make the fixes? Many thanks for any information you can provide!!!

Error Messages

File "pandas_libs\index.pyx", line 70, in pandas._libs.index.IndexEngine.get_loc
File "pandas_libs\index.pyx", line 101, in pandas._libs.index.IndexEngine.get_loc
File "pandas_libs\hashtable_class_helper.pxi", line 4554, in pandas._libs.hashtable.PyObjectHashTable.get_item
File "pandas_libs\hashtable_class_helper.pxi", line 4562, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 4

indexing.py", line 889, in __getitem__return self._getitem_tuple(key)
indexing.py", line 1060, in _getitem_tuple
return self._getitem_lowerdim(tup)indexing.py", line 807, in _getitem_lowerdim
section = self._getitem_axis(key, axis=i)indexing.py", line 1124, in _getitem_axis
return self._get_label(key, axis=axis)indexing.py", line 1073, in _get_label
return self.obj.xs(label, axis=axis)generic.py", line 3724, in xs return self[key]
frame.py", line 3024, in getitem indexer = self.columns.get_loc(key)
indexes\base.py", line 3082, in get_loc raise KeyError(key) from err
KeyError: 4

@PengRusty
Copy link

Hi, Binace.us doesn't provide python library yet, the only official API documentation is https://docs.binance.us/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@Choonie12 @PengRusty and others