yasinkuyu / binance-trader

💰 Cryptocurrency Trading Bot for Binance (Experimental)
2.51k stars 828 forks source link

Range Mode Error #113

Closed shawnryan131 closed 6 years ago

shawnryan131 commented 6 years ago

I'm sorry I've been writing a bunch of these, but I wanted to try range mode and it isn't letting me do it. Here is the error:

binance-trader$ python trader.py --symbol MANAETH --mode range --quantity 190 --buyprice 0.00012910 --sellprice 0.00013600 usage: trader.py [-h] [--quantity QUANTITY] --symbol SYMBOL [--profit PROFIT] [--stoploss STOPLOSS] [--increasing INCREASING] [--decreasing DECREASING] [--orderid ORDERID] [--wait_time WAIT_TIME] [--test_mode TEST_MODE] [--prints PRINTS] [--debug DEBUG] [--loop LOOP] trader.py: error: unrecognized arguments: --mode range --buyprice 0.00012910 --sellprice 0.00013600

What am I supposed to add? I;m really bad at inputting data into the actual code.

yasinkuyu commented 6 years ago

You should download again. Codes may not be up to date.

shawnryan131 commented 6 years ago

If I download it again do I have to go through the entire process for installing n stuff? I had someone do that for me. what info is the code asking for that I dont have?

Charlita commented 6 years ago

I just tried the same line you have and it works for me, I would redownload it and just keep your config.py file and copy it to the new bot folder you download. Depending on how old your version is your config.py is in the base directory OR in the app directory. Make sure in the new download you put it in the app directory.

yasinkuyu commented 6 years ago

@shawnryan131 Did you try?