Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
celltronic01 opened this issue Jun 30, 2021 · 4 comments
Open

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

celltronic01 opened this issue Jun 30, 2021 · 4 comments

Comments

@celltronic01
Copy link

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
Copy link

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
Copy link
Collaborator

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

@angelassets
Copy link

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

@celltronic01
Copy link
Author

celltronic01 commented Aug 1, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants