abayomi185/simple-pump-and-dump-bot

Problem in binance bot with the list config

ffbboy30 opened this issue · 10 comments

Hi,
I'm under windows 10 I've opened the .py in the IDE.
When I'm trying to run the code I've an error
File ".\simple-pump-and-dump-bot\src\bot-binance.py", line 200, in
answer1 = Inquirer.prompt(question1)
File "C:\Python39\lib\site-packages\PyInquirer\prompt.py", line 88, in prompt
raise ValueError('No question type '%s'' % type)
ValueError: No question type 'list'

The file is present and the config is done correctly.

Do you have an idea to debug the problem ?
Thanks

Same problem with the script Kucoin.

Hi, I'm taking a look at what the issue might be

Ah, you mentioned you are using an IDE. The bot uses a package called PyInquirer which is designed for use in the terminal. This is likely the reason for the error.

I recommend you use Windows Subsystem for Linux (WSL)

You're right now it works thanks

What is the format of the coin to type : for example "USD-PLY"

You would need to put USD in your configuration file then enter PLY at the prompt in your terminal

OK thanks

On windows I've created . bat to launch the script directly

Nice

@ffbboy30 please update your version of the bot if you haven't already. A major flaw with exiting trades before the config time has been fixed.