forex.pm forex forum binary options trade

 Сryptocurrency exchanges => Binance - Сryptocurrency exchanges => Topic started by: Bitcoin on Aug 20, 2022, 08:51 am

Title: I figured a way to trade in Binance futures BUTT · Issue #4362
Post by: Bitcoin on Aug 20, 2022, 08:51 am
I figured a way to trade in Binance futures (https://go.binaryoption.ae/6MmTeL) BUTT #4362.
So devs and gents, i found a way to trade (half way there) at Binance futures (https://go.binaryoption.ae/6MmTeL) WITH Leverage, as you all know when you choose the options in Leverage (Isolated or Cross and Leverage), they stay there as default, so using the bot to get in is fairly easy using the ccxt help i found inother issues here. And about the entries, in the config file, we have this option ""stake_amount": 10.0," per exemple. The bot will take this amount and divided by the X amount leverage you chose in the Binance futures (https://go.binaryoption.ae/6MmTeL) GUI, so lets say your amount is set to 10, your entry price will be 1$ with 10x leverage. BUT when it gets to selling, there's the interesting part, seems like the bot gets it's WALLET DATA from the AMOUNT of COINS you have, not the amount of USDT you have in Binance futures (https://go.binaryoption.ae/6MmTeL) so it gets the error "Not enough amount to sell. Trade-amount: X Wallet: 0" Can anybody from the devs point me where is the actual code that pulls the data from the wallets ? Since it's knowing i have balance in my Futures Wallet so the code is implemented somewhere.
Note: when i use the /balance it shows the actual balance i have in USDT in the futures account.
I've red on other issues that freqtrade ISN'T compatible with Binance futures (https://go.binaryoption.ae/6MmTeL), but i'm about to make it happen if someone helps me finding the code that's used to get the Data from the Wallet.
I don't know if i've been clear with this. I just brainstormed everything that i've done in more that 2 no sleep days in this small text lol. If anybody needs more clarifying, i'm open to explaining and showing my config file and the strategy.
EDIT: i thought about something earlier today. when the bot sells, it used the data from the database created in the freqtrade folder, if you run 2 bots, 1 actual bot for buying the dips, and another DRY RUN bot just to signal the SELLS so you sell manually at will, then delete the database so the bot doesnt "see" the open order that couldnt be closed because of the error mentioned above. it's a nice little "hack" for not to miss the dips, but the bot is made to buy and sell lmfao. i guess i figured it out i swear the only help i need is someone pointing me where is the code that is used to get the data from the SPOT WALLET not the FUTURE` WALLET in USDT, not the ACUTAL COINS.