Binance-volatility-trading-bot icon indicating copy to clipboard operation
Binance-volatility-trading-bot copied to clipboard

Max Coins Set To "0" but the bot still keeps buying

Open celltronic01 opened this issue 3 years ago • 4 comments

So, here is a new issue I just came across that I haven't encountered before. Today, as usual my portfolio was holding 20 coins, the market was is in the red, I didn't want to buy any coins yet incase some sold later during the day assuming the market may swing up. I have many times set the Max Coins setting to 0 not wanting to buy any coins.

Well, I did the same thing today. I went ahead and set the Max Coins: 0 and guess what? It went ahead and immediately purchased 19 more coins and I now have 39 coins

Is there a logical explanation to this?

celltronic01 avatar Jun 30 '21 16:06 celltronic01

image From the code point of view, Max Coins Set To "0" means that there is no limit to the number of coins purchased, that is, infinity

chanwoood avatar Jul 09 '21 14:07 chanwoood

That is correct, set it to -1 if you do not want it to ever buy.

ShogunMan avatar Jul 09 '21 21:07 ShogunMan

Will the bot take changes to config.yml when live?

angelassets avatar Aug 01 '21 12:08 angelassets

Whenever I make any changes to config or any thing for that matter of fact, I always restart the bot for the changes to take effect

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: Angel @.> Sent: Sunday, August 1, 2021 8:41 AM To: @.> Cc: @.>; @.> Subject: Re: [CyberPunkMetalHead/Binance-volatility-trading-bot] Max Coins Set To "0" but the bot still keeps buying (#200)

Will the bot take changes to config.yml when live?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/CyberPunkMetalHead/Binance-volatility-trading-bot/issues/200#issuecomment-890514099, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUL72BE4LHTGJIJ7US3KFDLT2U6IHANCNFSM47SVFR4Q.

celltronic01 avatar Aug 01 '21 21:08 celltronic01