Hephyrius / binance_futures_bot

A bot that trades leveraged USDT futures markets on binance.
299 stars 123 forks source link

#global values used by bot to keep track of state #12

Closed shin31120 closed 3 years ago

shin31120 commented 3 years ago

global values used by bot to keep track of state

entry_price = 0 exit_price_trigger = 0 liquidation_price = 0 in_position = False side = 0

Is it needn't modify?

ciclanoio commented 3 years ago

Hello @shin31120 have you figured out how to set the values for the bot?

How for example to say the USD value of the bet?

Thanks

shin31120 commented 3 years ago

It's depend on how much deposit in. If you deposit 100 usd, I recommand 1~5 usd, 100 leverage. This code has many error massage but hard to solve the problem. Because little comment and not use of developer.

Hephyrius commented 3 years ago

global values used by bot to keep track of state

entry_price = 0 exit_price_trigger = 0 liquidation_price = 0 in_position = False side = 0

Is it needn't modify?

the values in the code are updated by the bot when it enters and exits a position. You only need to edit the config. Do not edit the code values unless you know what you're doing/want to add new features