limit on balance
Closed this issue · 1 comments
hello, besides the budget, can you put a configuration to limit the amount to trade, example if budget is 0.02 and balance is 0.10 i want the bot to limit my trading to only 0.05 of my current balance to not use 100% of the coin on the account.
best regards and keep up the good work.
As of right now the bot can only use the budget. WOLF will never buy another position without selling the old position first. WOLF will never spend your whole balance unless if you put your whole balance as your budget.
Check this scenario out though:
WOLF can unintentionally spend over budget if you did something like: start it, buy a position, terminate WOLF, then start WOLF again, which will then buy another position. WOLF doesn't know what you did last session and every time you start WOLF it's as if it's a fresh new start.
I'm thinking of adding a feature where WOLF will listen for a kill signal and then close any open orders it created..but I'm debating whether or not that should be up to the user or not.
Cheers @pipinoloco