zyairelai / futures-hero

❗ HIGH RISK ❗ Scalping Trading on Binance Futures
163 stars 48 forks source link

Enable to choose Quantity with X% percentage from balance #14

Closed ELHARAKA closed 3 years ago

ELHARAKA commented 3 years ago

First of all thanks for this tool.

As mentioned in the config.py:

elif user_input == '2': coin = "ETH" quantity = 12

What if you could change it to something like this? :

elif user_input == '2': coin = "ETH" quantity = 10%

So the bot will calculate 10% of the current user balance to open a position. This is will much better.

Thank you.

zyairelai commented 3 years ago

Hi ELHARAKA,

Thank you for using futures-omax.

There is not using auto percentage amount for 2 reasons:

  1. This bot is aiming to win and quit, stacking up, reposition and go in again. If the entry is messed up, you will get that trade amount liquidated. Therefore, if using the percentage as you recommended, one liquidation will hurt more than what you earned.

  2. The mark price is keep changing and it will have an issue to setup the minimum trade amount and notation for every pairs with the decimal place. For more details, kindly refer to the following links:

ELHARAKA commented 3 years ago

Okay that make sense, Thank you

zyairelai commented 3 years ago

Hi @ELHARAKA , Recently I had built the Discord for my Trading Bot and manual trading discussion. Here is the invite link: https://discord.gg/r4TnhcdqmT