Balance not updating when creating a bot

I have created a bot from a backtest and at the bottom it doesn’t show the total of what is required to run it. Even after clicking on update balances.

I cannot see the section that calculate automatically the max amount for bot usage, even after creating the bot which i remember it was available before

Base order is 0, your balance is recognized
image

It would be helpful if this overview wasn’t tied to the DCA section, but was visible globally.

My base order had 0.005 in back test and it still didn’t show up the balance. For some reason it didn’t save the same amount when i saved the bot and pushed it live.

Now I have updated the values again and it still doens’t work.

The bot is also not saving the correct amount, i have inputted 0.0058 in BO and it register 0.6 automatically instead so i had to put it to 0.5 to avoid mistakes

i have recorded the process here

Maybe it has to do with rounding, @maksym.shamko will check.

its quite strange as i set the orders to be 0.05 as base order and 0.01 as dca and even if it doesnt update correctly in the interface it shows the correct amount used in the bots page

Step for SOL BTC is 0.01 SOL. So it is rounded up to lowest step

This rounding issue is also a problem as the bot won’t behave the way I expect it as in back test the ratio is 1:2 for base order and DCA. also because the scaling is 1.5 in volume the calculation will be a mess for each order, is this round issue the same across all exchanges?
How do i work out the amount of btc to trade so the bot will behave as expected? when i am trying to manually buy in the exchange i don’t have the same problem…

For single pair bots or bots with identical values for exchange limits for minimum order size and lot step it should be possible to calculate the expected real order sizes at the time of configuration. But there are exchanges where those can change afterwards. Thus you cannot be 100% sure that there’s no rounding in the future, which then would result in different values. Maybe those pairs can be disabled for trading though?

I have created a bot in OKX and it seems to be fine, the Base order stayed at 0.005 and DCA 0.01, so i think its a bybit issue only.

Thanks for your help

1 Like

It was due to rounding. It has been fixed you can check again.

1 Like