Binance-volatility-trading-bot
Binance-volatility-trading-bot copied to clipboard
Max Coins Set To "0" but the bot still keeps buying
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?
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
That is correct, set it to -1 if you do not want it to ever buy.
Will the bot take changes to config.yml when live?
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.