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

unable to run the bot #22

Open
akkighanate opened this issue Aug 30, 2018 · 4 comments
Open

unable to run the bot #22

akkighanate opened this issue Aug 30, 2018 · 4 comments

Comments

@akkighanate
Copy link

Hi i have done the setup in windows and i am getting below error can you help me out here

BOT logs
2018/08/30 10:29:43 PM - ERROR: 'buy'
Traceback (most recent call last):
File "app.py", line 94, in
Trader.analyse_pauses()
File "C:\Users\Akki\Desktop\New folder\Crypto-Trading-Bot-master\Crypto-Trading-Bot-master\src\trader.py", line 40, in analyse_pauses
if self.Database.check_resume(self.pause_params["buy"]["pauseTime"], "buy"):
KeyError: 'buy'

@JPStrydom
Copy link
Owner

What does your log file look like?

@akkighanate
Copy link
Author

akkighanate commented Sep 11, 2018

@JPStrydom above mention details are from logs file

Even i tried to change the pvt keys still getting same error

@Naveen-Zerocool
Copy link

@akkighanate The problem was in settings.json file 'pause_params' will be empty. Replace below lines :

"pauseParameters": { }

with :

"pauseParameters": {
        "buy": {
            "rsiThreshold": 0,
            "pauseTime": 0
        },
        "sell": {
            "profitMarginThreshold": 0,
            "pauseTime": 0
        },
        "balance": {
            "pauseTime": 0
        }
    }

. Now it should work.

@akkighanate
Copy link
Author

akkighanate commented Oct 21, 2018

@akkighanate The problem was in settings.json file 'pause_params' will be empty. Replace below lines :

"pauseParameters": { }

with :

"pauseParameters": {
        "buy": {
            "rsiThreshold": 0,
            "pauseTime": 0
        },
        "sell": {
            "profitMarginThreshold": 0,
            "pauseTime": 0
        },
        "balance": {
            "pauseTime": 0
        }
    }

. Now it should work.

Hello Brother @Naveen-Zerocool .
i tried to change but i got some other error...can you pls ping me in whatsapp +91 / Skype live:akshayghanate need your help in resolving the issue

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

3 participants