-
Notifications
You must be signed in to change notification settings - Fork 22
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
TypeError: string indices must be integers #38
Comments
If I'm not wrong then you have placed your API key with quote marks on. Remove them. Should be like this apiAuth: key: xxxxxxxxxxxxxxxxxxxx |
If u put like you said i got another error |
If not, please post the error. |
C:\Users\1\Desktop\simple-pump-and-dump-bot-master\node_wip>node bot.js Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'inquirer' imported from C:\Users\1\Desktop\simple-pump-and-dump-bot-master\node_wip\src\prompts.js C:\Users\1\Desktop\simple-pump-and-dump-bot-master\node_wip> |
You just need to install node _modules. Go to node_wip folder and in command line type "npm install" and execute. That should install dependencies and all the necessary packages. |
One more tip if you look over the error it says “module not found”. You can quickly google how to install specific module on the directory. [ERR_MODULE_NOT_FOUND]: Cannot find package 'inquirer' For example, this above error is about “inquirer” so to install this specific package it would be “npm i inquirer” Navigate to the node_wip in terminal and execute “npm i inquirer” |
Its not working i cant install iohook.. |
Iohook is not used in the program at the moment. You should be able to exclude this without any issues. |
Can we speak ? Some how ? i still have problem |
Sir can you upload the builded folder without secrets? I cant fix this thing |
Bro ita not working always asking for that iohook even if i try to install the missing module.. Ill brake my pc |
You can close the thread, but when you close can you give best settings for max profit ? |
I don't think there is any best setting. Pumps are risky. Just to play it safe, start from 0.5 or 1. See if you hit those targets then adject the margin accordingly. |
Well i adjusted settings to purche 0.75 or 75% of the money for 50% profit and profit margin of 2 . But executing on market price i think its not good, it needs to be limit order for buy and sell so the profit is huge. But i dont understand 1 thing. If its a 50% profit how can i catch a pump that has 700-1000% peek ? |
The odds of selling a pump at peak are very low. Usually one or two hit it. Not everyone so don't have unreal expectations. Play safe or you could lose a lot. |
C:\Users\1\Desktop\kucoin\src>python3 bot-kucoin.py
Traceback (most recent call last):
File "C:\Users\1\Desktop\kucoin\src\bot-kucoin.py", line 45, in
config['api_key'] = api_keys['api_key']
TypeError: string indices must be integers
C:\Users\1\Desktop\kucoin\src>
The text was updated successfully, but these errors were encountered: