I am also rather lost as to how the later attributes work and how I would be able to place a take profit and stop loss order. For those who are having issues with the Binance PC client stuck in the loading phase once you have entered your Google Auth key, please try the following below: Right click on Binance icon. Which is able to change your leverage, so I do have to initialize a position and then change the leverage? Wouldn't that also just scale my margin down? Click here to download and install the latest version of the Binance Desktop App. Users can now directly login to their Binance account on our Desktop App and begin trading futures. I don't see any leverage attribute, however there is another function called Fellow Binancians, Futures trading is now available on the latest version of our Desktop App (Windows, Linux & Mac). from binance.client import ClientĬlient = Client(cfg.api_key, cfg.api_secret)Ĭlient.futures_create_order(symbol='BNBUSDT', side='LONG', type='MARKET', quantity = 100 USDT * leverage / asset_price) ![]() Let's say I want to open up a futures trade in the BTCUSDT pairing with a leverage of 5x and a margin of 100 USDT at market price, with a take profit at 50% and a stop loss at 10%. ![]() I am currently in the midst of writing myself a little python bot for binance using their API and I find the documentation rather lackluster and wondered whether someone on here might be able to help.
0 Comments
Leave a Reply. |