CyberPunkMetalHead / Binance-volatility-trading-bot

This is a fully functioning Binance trading bot that measures the volatility of every coin on Binance and places trades with the highest gaining coins If you like this project consider donating though the Brave browser to allow me to continuously improve the script.
MIT License
3.39k stars 770 forks source link

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

Open celltronic01 opened 3 years ago

celltronic01 commented 3 years ago

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?

chanwoood commented 3 years ago

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

ShogunMan commented 3 years ago

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

angelassets commented 2 years ago

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

celltronic01 commented 2 years ago

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.