2
« on: September 17, 2017, 11:37:56 AM »
Hello people, im very noob with this bot and i dont have any Code idea, so its been a little bit difficult to me to understand this bot. But i think i have it configured but its not making any buy or sell. Every time the price coin reaches Buy or Sell level, the bot just set it lower or higher and it doesnt do the operation,
I let 12 hours running and he only bought 3 PAY, total 0.001 BTC, when the limit is set to 0.08 oer trade. I really dont understand. If you dont mind, i let the code for you to see if there is something weird or wrong why my bot is not doing anything.
{
"pairs": {
"bittrex": {
"BTC-PAY": {
"strategy": "bb",
"override": {}
},
"BTC-ARK": {
"strategy": "bb",
"override": {
"DOUBLE_UP": true,
"HIGH_BB": 45,
"LOW_BB": 45
}
},
"BTC-LSK": {
"strategy": "bb",
"override": {
"HIGH_BB": 15,
"LOW_BB": 15
}
}
}
},
"exchanges": {
"poloniex": {
"key": "YOUR_API_KEY_HERE",
"secret": "YOUR_SECRET_KEY_HERE"
},
"kraken": {
"key": "YOUR_API_KEY_HERE",
"secret": "YOUR_SECRET_KEY_HERE"
},
"bittrex": {
"key": "-----",
"secret": "-----"
},
"cryptopia": {
"key": "YOUR_API_KEY_HERE",
"secret": "YOUR_SECRET_KEY_HERE"
}
},
"bot": {
"debug": false,
"period_storage_ticker": 2000,
"interval_ticker_update": 25000,
"timeout_buy": 60000,
"timeout_sell": 60000,
"WATCH_MODE": false,
"VERBOSE": true,
"TV_GAIN": 0.6,
"TV_TRADING_LIMIT": 0.001,
"BOT_DELAY": 1
},
"ws": {
"port": 5001
},
"imap_listener": {
"enabled": false,
"authorized_froms": ["noreply@tradingview.com"],
"user": "YOUR_EMAIL_HERE",
"password": "YOUR_PASSWORD_HERE",
"host": "imap.gmail.com",
"port": 993,
"tls": true,
"tlsOptions": {
"rejectUnauthorized": false
}
},
"strategies": {
"bb": {
"BTC_TRADING_LIMIT": 0.08,
"PERIOD": 15,
"EMA1": 2,
"EMA2": 4,
"GAIN": 2,
"HIGH_BB": 25,
"LOW_BB": 25,
"STDV": 2,
"SMAPERIOD": 50,
"PANIC_SELL": false,
"DOUBLE_UP": true,
"STOP_LIMIT": 60,
"BUY_ENABLED": true,
"MIN_VOLUME_TO_BUY": 0.001,
"MIN_VOLUME_TO_SELL": 0.001
},
"gain": {
"BTC_TRADING_LIMIT": 0.001,
"PERIOD": 15,
"BUY_LEVEL": 2,
"GAIN": 2,
"EMA1": 200,
"EMA2": 50,
"HIGH_BB": 45,
"LOW_BB": 45,
"STDV": 2,
"SMAPERIOD": 50,
"PANIC_SELL": false,
"DOUBLE_UP": false,
"STOP_LIMIT": 60,
"BUY_ENABLED": true,
"MIN_VOLUME_TO_BUY": 0.001,
"MIN_VOLUME_TO_SELL": 0.001
},
"pp": {
"BTC_TRADING_LIMIT": 0.01,
"PP_BUY": 0.00000001,
"PP_SELL": 0.12345678,
"PANIC_SELL": false,
"STOP_LIMIT": 60,
"BUY_ENABLED": true,
"MIN_VOLUME_TO_BUY": 0.001,
"MIN_VOLUME_TO_SELL": 0.001
},
"stepgain": {
"BTC_TRADING_LIMIT": 0.02,
"PERIOD": 15,
"BUYLVL1": 0.6,
"BUYLVL2": 2,
"BUYLVL3": 70,
"SELLLVL1": 0.6,
"SELLLVL2": 2,
"SELLLVL3": 70,
"BUYLVL": 2,
"SELLLVL": 2,
"LASTPOINTS": 5,
"AVGPOINTS": 250,
"AVGMINIMUM": 0.00000001,
"EMA1": 2000,
"EMA2": 1000,
"PANIC_SELL": false,
"STOP_LIMIT": 60,
"BUY_ENABLED": true,
"MIN_VOLUME_TO_BUY": 0.001,
"MIN_VOLUME_TO_SELL": 0.001
},
"bbgain": {
"BTC_TRADING_LIMIT": 0.01,
"PERIOD": 15,
"GAIN": 0.6,
"HIGH_BB": 45,
"LOW_BB": 45,
"STDV": 2,
"SMAPERIOD": 150,
"EMA1": 200,
"EMA2": 50,
"PANIC_SELL": false,
"DOUBLE_UP": true,
"STOP_LIMIT": 60,
"BUY_ENABLED": true,
"MIN_VOLUME_TO_BUY": 0.001,
"MIN_VOLUME_TO_SELL": 0.001
},
"gainbb": {
"BTC_TRADING_LIMIT": 0.01,
"PERIOD": 15,
"BUY_LEVEL": 2,
"GAIN": 0.6,
"HIGH_BB": 45,
"LOW_BB": 40,
"STDV": 2,
"SMAPERIOD": 150,
"EMA1": 200,
"EMA2": 50,
"PANIC_SELL": false,
"DOUBLE_UP": true,
"STOP_LIMIT": 60,
"BUY_ENABLED": true,
"MIN_VOLUME_TO_BUY": 0.001,
"MIN_VOLUME_TO_SELL": 0.001
},
"bbstepgain": {
"BTC_TRADING_LIMIT": 0.001,
"PERIOD": 15,
"HIGH_BB": 45,
"LOW_BB": 45,
"STDV": 2,
"SMAPERIOD": 150,
"SELLLVL1": 0.6,
"SELLLVL2": 2,
"SELLLVL3": 70,
"SELLLVL": 2,
"LASTPOINTS": 5,
"AVGPOINTS": 250,
"AVGMINIMUM": 0.00000001,
"EMA1": 2000,
"EMA2": 1000,
"PANIC_SELL": false,
"DOUBLE_UP": true,
"STOP_LIMIT": 60,
"BUY_ENABLED": true,
"MIN_VOLUME_TO_BUY": 0.001,
"MIN_VOLUME_TO_SELL": 0.001
},
"stepgainbb": {
"BTC_TRADING_LIMIT": 0.001,
"PERIOD": 15,
"HIGH_BB": 49,
"LOW_BB": 40,
"STDV": 2,
"SMAPERIOD": 150,
"BUYLVL1": 0.6,
"BUYLVL2": 2,
"BUYLVL3": 70,
"BUYLVL": 2,
"GAIN": 0.6,
"LASTPOINTS": 5,
"AVGPOINTS": 250,
"AVGMINIMUM": 0.00000001,
"EMA1": 2000,
"EMA2": 1000,
"PANIC_SELL": false,
"DOUBLE_UP": true,
"STOP_LIMIT": 60,
"BUY_ENABLED": true,
"MIN_VOLUME_TO_BUY": 0.001,
"MIN_VOLUME_TO_SELL": 0.001
},
"bbpp": {
"BTC_TRADING_LIMIT": 0.01,
"PERIOD": 15,
"GAIN": 0.1,
"HIGH_BB": 40,
"LOW_BB": 40,
"STDV": 2,
"SMAPERIOD": 150,
"PP_SELL": 0.12345678,
"PANIC_SELL": false,
"DOUBLE_UP": false,
"STOP_LIMIT": 60,
"BUY_ENABLED": true,
"MIN_VOLUME_TO_BUY": 0.001,
"MIN_VOLUME_TO_SELL": 0.001
},
"ppbb": {
"BTC_TRADING_LIMIT": 0.01,
"PERIOD": 15,
"GAIN": 0.1,
"HIGH_BB": 40,
"LOW_BB": 40,
"STDV": 2,
"SMAPERIOD": 150,
"PP_BUY": 0.00000001,
"PANIC_SELL": false,
"DOUBLE_UP": false,
"STOP_LIMIT": 60,
"BUY_ENABLED": true,
"MIN_VOLUME_TO_BUY": 0.001,
"MIN_VOLUME_TO_SELL": 0.001
},
"gainstepgain": {
"BTC_TRADING_LIMIT": 0.01,
"HIGH_BB": 45,
"LOW_BB": 45,
"STDV": 2,
"SMAPERIOD": 150,
"PERIOD": 15,
"SELLLVL1": 0.6,
"SELLLVL2": 2,
"SELLLVL3": 70,
"SELLLVL": 2,
"BUY_LEVEL": 2,
"LASTPOINTS": 5,
"AVGPOINTS": 250,
"AVGMINIMUM": 0.00000001,
"EMA1": 200,
"EMA2": 50,
"PANIC_SELL": false,
"DOUBLE_UP": true,
"STOP_LIMIT": 60,
"BUY_ENABLED": true,
"MIN_VOLUME_TO_BUY": 0.001,
"MIN_VOLUME_TO_SELL": 0.001
},
"stepgaingain": {
"BTC_TRADING_LIMIT": 0.01,
"PERIOD": 15,
"BUYLVL1": 0.6,
"BUYLVL2": 2,
"BUYLVL3": 70,
"BUYLVL": 2,
"GAIN": 2,
"LASTPOINTS": 5,
"AVGPOINTS": 250,
"AVGMINIMUM": 0.00000001,
"EMA1": 2000,
"EMA2": 1000,
"PANIC_SELL": false,
"STOP_LIMIT": 60,
"BUY_ENABLED": true,
"MIN_VOLUME_TO_BUY": 0.001,
"MIN_VOLUME_TO_SELL": 0.001
},
"gainpp": {
"BTC_TRADING_LIMIT": 0.01,
"PERIOD": 15,
"BUY_LEVEL": 0.1,
"PP_SELL": 0.12345678,
"EMA1": 2000,
"EMA2": 1000,
"PANIC_SELL": false,
"STOP_LIMIT": 60,
"BUY_ENABLED": true,
"MIN_VOLUME_TO_BUY": 0.001,
"MIN_VOLUME_TO_SELL": 0.001
},
"ppgain": {
"BTC_TRADING_LIMIT": 0.01,
"PERIOD": 15,
"GAIN": 2,
"PP_BUY": 0.12345678,
"EMA1": 200,
"EMA2": 50,
"PANIC_SELL": false,
"DOUBLE_UP": false,
"STOP_LIMIT": 60,
"BUY_ENABLED": true,
"MIN_VOLUME_TO_BUY": 0.001,
"MIN_VOLUME_TO_SELL": 0.001
},
"stepgainpp": {
"BTC_TRADING_LIMIT": 0.01,
"PERIOD": 15,
"BUYLVL1": 1,
"BUYLVL2": 3,
"BUYLVL3": 5,
"BUYLVL": 2,
"PP_SELL": 0.1,
"LASTPOINTS": 5,
"AVGPOINTS": 250,
"AVGMINIMUM": 0.00000001,
"EMA1": 2000,
"EMA2": 1000,
"PANIC_SELL": false,
"DOUBLE_UP": false,
"STOP_LIMIT": 60,
"BUY_ENABLED": true,
"MIN_VOLUME_TO_BUY": 0.001,
"MIN_VOLUME_TO_SELL": 0.001
},
"ppstepgain": {
"BTC_TRADING_LIMIT": 0.01,
"PERIOD": 15,
"SELLLVL1": 2,
"SELLLVL2": 5,
"SELLLVL3": 10,
"SELLLVL": 2,
"PP_BUY": 0.00000001,
"LASTPOINTS": 5,
"AVGPOINTS": 250,
"AVGMINIMUM": 0.00000001,
"EMA1": 2000,
"EMA2": 1000,
"PANIC_SELL": false,
"DOUBLE_UP": false,
"STOP_LIMIT": 60,
"BUY_ENABLED": true,
"MIN_VOLUME_TO_BUY": 0.001,
"MIN_VOLUME_TO_SELL": 0.001
}
},
"optionals": {
"toOverride": {
"BOUGHT_PRICE": 0.104744
}
}
}
edit: the bot just sold 100 LISK i had manualy bought this morning, at the price of 0.001475000 when the market was 0.00148542 so this bot is doing something weird. can you please help me?
Thanks