mole3421278 / Daibotuten-futures-trading-optimizer-bot

A bot to automatize the futures trading on Binance
59 stars 7 forks source link

NOT ENOUGH USDT TO BUY FOR FUTURES #6

Closed orsson9 closed 2 years ago

orsson9 commented 2 years ago

Not sure if real issue or just need clarification I saw that error in 2 types:

APIError(code=-4003): Quantity less than zero. NOT ENOUGH USDT TO BUY HNTUSDT FOR FUTURES

Second one is captured on the screen.

My amount per postion is set to 10, current account balance 114 USDT. Please correct me if I am wrog or clafiy. My understanding is that with current balance I am able to create 11 positions 10 USDT each.

not enough usdt

Regards

mole3421278 commented 2 years ago

The second error "NOT ENOUGH USDT TO BUY HNTUSDT FOR FUTURES" appeared only because of the first error. The reason why you couldn't open a position is because "Order's position side does not match user's setting." Go to binance futures --> preference --> position mode --> change it to hedge mode

mole3421278 commented 2 years ago

Uncorrelated side note: I suggest you to change your strategy, because it's too aggressively bullish. Use lower values of amount per position or leverage or both and increase "buy if crash of" or change the value of "don't buy if alt is" unless you are extremely bullish about the current positive trend of the market.

Also remember that even if you put the stop loss at 15%, with a leverage of 10x your positions will be closed in any case when reaching something less than 10% of loss (because of the leverage itself, not because of your bot's strategy).

mole3421278 commented 2 years ago

If it's all okay I'm going to close this issue

orsson9 commented 2 years ago

Sorry for late response.

Everythinks is working fine, thank you for your support and trading tips. You can close ticket.

Best Regards

pt., 25 mar 2022 o 17:05 mole @.***> napisał(a):

If it's all okay I'm going to close this issue

— Reply to this email directly, view it on GitHub https://github.com/mole3421278/Daibotuten-futures-trading-optimizer-bot/issues/6#issuecomment-1079173583, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALKJBB4RDOIB445IDECL7MLVBXP3RANCNFSM5RKR7KJQ . You are receiving this because you authored the thread.Message ID: <mole3421278/Daibotuten-futures-trading-optimizer-bot/issues/6/1079173583@ github.com>

mole3421278 commented 2 years ago

Thank you, nice! For any other problem don't hesitate to open a new issue. Good trading and DYOR!