python-binance icon indicating copy to clipboard operation
python-binance copied to clipboard

Binance Exchange API python implementation for automated trading

Results 269 python-binance issues
Sort by recently updated
recently updated
newest added

Trying to access the binance API. `from binance.client import client client = client(api_key, api_secret)` But I get this error : D:\Users\username\Desktop\pyproject>get_data.py Traceback (most recent call last): File "D:\Users\username\Desktop\pyproject\get_data.py", line 1,...

**Describe the bug** I tried to connect to the binance testnet and to get the account status, but got the following error: File "/home/h/anaconda3/envs/pairTrading/lib/python3.9/site-packages/binance/client.py", line 2065, in get_account_status return self._request_margin_api('get',...

**Describe the bug** The limit parameter setting is invalid, no matter how I set the limit, the returned bid and ask lengths are 10. **To Reproduce** ``` from binance.depthcache import...

**Describe the bug** Even with a very basic example, I could not get the ThreadedWebsocketManager to connect, due to `failing CONNECTING WebSocket connection with code 1006`. (Logs below). However I...

**futures_position_information** If the user is in **One-Way-Mode** cannot know if the current position is LONG or SHORT. In **Hedge-Mode** its displayed. Is any way to know it in OWM?

i want to be able to short but i dont know how to laverage on marigin or how to trade on futures on binance

Run reconnect once may encounter network error, and then `await self._wait_for_reconnect()` would cause an infinite loop

in streams.py function futures_socket OR futures_user_socker the stream_url is ALWAYS the wss://fstream.binance.{}/ url even though the test_net argument is set to true. The function should contain the following codeblock and...

Binance has added coin futures. Add coin_futures_user_socket for this library.