bingX-connector-python
bingX-connector-python copied to clipboard
A simple and easy-to-use interface for developers to access bingX API
## Demo Trading Guidelines For real trading on BingX, base url must be (and used to be in python-bingx-connector): ```plaintext https://open-api.bingx.com ``` To facilitate demo trading on BingX, base URL...
Hello I am trying to open an order using this code: order=client.trade_order(symbol='ETH-USDT',type='MARKET',side='BUY',positionSide='LONG',quantity=0.23) but I get this error: `raise ClientError(res['code'], res['msg']) bingX.error.ClientError: ` If I use this code it works OK...
I've encountered an issue with the positions function in the bingX-connector-python package. The BingX API documentation for the GET /openApi/swap/v2/user/positions endpoint indicates that the symbol parameter is optional. However, in...
Hi, I am facing problem with function cancel_all_orders in perpetual V2. It seems it has error and does not work correctly. Could someone check please. Thanks.
``` File "/venv/lib/python3.9/site-packages/bingX/perpetual/v1/trade.py", line 180, in switch_margin_mode return res['data'] KeyError: 'data' ``` I have not experience problems anywhere else. ``` {'code': 0, 'msg': '', 'ttl': 1} ``` is the payload...
How to trade futures in: POST /openApi/swap/v2/trade/order Should I specify the stop loss and target when placing the order?
Hello, how can I open an order in the form of a limit with entry price and stop loss and target in standard futures transactions?
I tried to close few orders but got this error I am not very skilled, what I understand is that the answer from BingX to the request is not a...
How can you change the profit limit and loss limit during the transaction in BingX api? He did the so-called trail