Hi gainium,
I’m having an issue with this bot :
https://app.gainium.io/grid/664f911f98f03868c8ce3449
So I discovered that it consumes the free fdusd used as quote. Bot is on btc fdusd market of binance. Set as long and collecting gains in base = btc.
This is not expected as the bot have its own dedicated liquidity set at startup. So it should not (over) consume the free quote over time. I tried to stop, add free quote and start but it’s obvious that after some days, no more quote is available and bot raise errors coz not enough liquidity. Liquidity is not disappearing of course, it just move from quote to base over time and this is a problem.
I think I may know why but I would like confirmation. I think that due to decimals and gains collected in base, it needs to not sell (bot long) all its base but a part and due to decimals story, it just can’t match the exact amount, leading to either sell too much or not enough base back to quote.
In my case, bot probably consume more quote than expected coz it doesn’t sell enough of the base, meaning it collects too much gain in base leading to not enough quote that are then consumed from free fdusd.
Is that correct? If yes, could you implement a way to resynchronize it after a while? Coz for now, calculations are not fully correct, will preserve more base than expected and I need it to better match expectations coz I have a way to “lock” those gains in base to be used in a higher grid. I mean, I just don’t really want to collect gain in quote because of it : when you are long, collecting gains in base looks more logical.
Also, is it expected to be not a problem when collecting gains in quote? I think yes coz it will just sell the full position of the levels and not a part when collecting gains in quote : no issue to match the real amount of gains.
Thanks,
PiX