abayomi185 / simple-pump-and-dump-bot

Simple pump-and-dump bot for Binance and Kucoin Cryptocurrency Exchange
Apache License 2.0
78 stars 21 forks source link

Problem in binance bot with the list config #9

Closed ffbboy30 closed 3 years ago

ffbboy30 commented 3 years ago

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

ffbboy30 commented 3 years ago

Same problem with the script Kucoin.

abayomi185 commented 3 years ago

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

abayomi185 commented 3 years ago

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)

ffbboy30 commented 3 years ago

You're right now it works thanks

ffbboy30 commented 3 years ago

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

abayomi185 commented 3 years ago

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

ffbboy30 commented 3 years ago

OK thanks

ffbboy30 commented 3 years ago

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

abayomi185 commented 3 years ago

Nice

abayomi185 commented 3 years ago

@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.