> 202 return self._request(method, uri, signed, **kwargs)Ģ04 def _request_withdraw_api(self, method, path, signed=False, **kwargs): ~/.local/lib/python3.8/site-packages/binance/client.py in _request_api(self, method, path, signed, version, **kwargs)Ģ00 uri = self._create_api_uri(path, signed, version) > 237 return self._request_api('get', path, signed, version, **kwargs)Ģ39 def _post(self, path, signed=False, version=PUBLIC_API_VERSION, **kwargs): ~/.local/lib/python3.8/site-packages/binance/client.py in _get(self, path, signed, version, **kwargs)Ģ36 def _get(self, path, signed=False, version=PUBLIC_API_VERSION, **kwargs): > 1767 return self._get('account', True, data=params)ġ769 def get_asset_balance(self, asset, **params): ~/.local/lib/python3.8/site-packages/binance/client.py in get_account(self, **params) ĪttributeError Traceback (most recent call last) import osįrom binance.websockets import BinanceSocketManagerĪpi_secret = os.environ.get('binance_secret') I am able to connect to the API and get the price of bitcoin therefore I am confident the error is not this. I expect this simple script that connects to Binance and gets the details of my account to work using python-binance library (version: 0.7.9) out of the box but it does not seem to.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |