-
-
Save dyvosvit/7cf7204e07a7aa0fdb5926b65c00331d to your computer and use it in GitHub Desktop.
2 steps-setup of GunBot in windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//if it worked for you, feel free to use it = think of donating any amount you wish | |
// если ВАМ понравилось у ВАС все работает, я буду очень рад любым ВАШИМ пожертвованиям | |
// BTC: 1HRjjHByNL2enV1eRR1RkN698tucecL6FA | |
// ETH: 0x4e5e7b86baf1f8d6dfb8a242c85201c47fa86c74 | |
// ZEC: t1aKAm7qXi6fbGvAhbLioZm3Q8obb4e3BRo | |
var config = { | |
BOT_SLEEP_DELAY: ((1001)*60*(Math.random()*0.3+0.7)), // bot cycle delay (koef*sec) | |
BOT_ON_FAIL_DELAY:((1001)*120*(Math.random()*0.3+0.7)), // bot repeat cycle delay if previous cycle failed //---POLONIEX | |
BOT_MAX_LIFETIME:999999999,// overall bot lifetime(koef*min), | |
POLONIEX_KEY: 'put your key here', // | |
POLONIEX_SECRET: 'put your secret here' // | |
}; | |
module.exports = config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
@title BTC_%1 | |
gunthy.exe BTC_%1 poloniex |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LSK | |
FCT | |
DCR | |
MAID | |
STRAT | |
SYS | |
LBC | |
STEEM | |
SJCX | |
ETH | |
NOTE | |
SC | |
FLO | |
GNO | |
DASH | |
XEM | |
BTS | |
GAME | |
XRP | |
STR | |
REP | |
LTC | |
DGB | |
BTCD | |
GNT | |
BTM | |
NXT | |
RIC | |
BLK | |
CLAM | |
NAV | |
ETC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//if it worked for you, feel free to use it = think of donating any amount you wish | |
// если ВАМ понравилось у ВАС все работает, я буду очень рад любым ВАШИМ пожертвованиям | |
// BTC: 1HRjjHByNL2enV1eRR1RkN698tucecL6FA | |
// ETH: 0x4e5e7b86baf1f8d6dfb8a242c85201c47fa86c74 | |
// ZEC: t1aKAm7qXi6fbGvAhbLioZm3Q8obb4e3BRo | |
var config = { | |
BTC_TRADING_LIMIT: 0.004,// max amount of BTC balance to use for each pair | |
BUYLVL1: 1, | |
BUYLVL2: 5, | |
BUYLVL3: 41, | |
SELLLVL1: 1.5, | |
SELLLVL2: 5, | |
SELLLVL3: 70, | |
BUY_STRATEGY: 'STEPGAIN', // accepted values BB or STEPGAIN or GAIN or PINGPONG | |
SELL_STRATEGY: 'STEPGAIN', // accepted values BB or STEPGAIN or GAIN or PINGPONG | |
LOW_BB: 25, | |
HIGH_BB: 25, | |
BUY_LEVEL: 3, // If GAIN buy strategy is used, buy at this percentual below lower ema value | |
GAIN: 2, // If GAIN sell strategy is used, sell at this percentual above bought price | |
SECURITY_MARGIN: 60, // sell all balance if currency decreases x% after you bought it | |
MIN_VOLUME_TO_BUY: 0.0005, // bitrex min volume | |
DEBUG_LOG:false, | |
I_REALLY_WANT_IT:false, | |
BUY_SMALL_PORTION:1, | |
INSUFFICIENT_FUNDS_ON_SELL_FIX: 0.0005, | |
INSUFFICIENT_FUNDS_ON_BUY_FIX: 0.0005, | |
//----------------------------------------------- | |
// STARTUP OPTIONS | |
//----------------------------------------------- | |
SELL_ON_START:false, | |
CANCEL_SELL_ORDERS_ON_START:false, | |
CANCEL_BUY_ORDERS_ON_START:false, | |
CANCEL_OPEN_ORDERS_ON_START:false, | |
MAX_LATEST_PRICES:300,// limit of latest prices to analyze to determine if price is growing or falling | |
MAX_LATEST_DIRECTIONS:30,// limit of latest price directions ,used in supergun detection | |
MAX_LATEST_PRICES_TREND:30, | |
MAX_LAST_ORDERS:5, // keeping last orders bought | |
PERIOD: 15, // candlestick period | |
SAVEFILE_SUFFIX: '-save.json', | |
//----------------------------------------------- | |
// PRIMARY SETTINGS | |
DEFAULT_MARKET_NAME:'poloniex', | |
DEFAULT_CURRENCY_PAIR:'BTC_XMR', // single pair format for all markets ! | |
//---BITTREX | |
BITTREX_KEY:'xxxxx', | |
BITTREX_SECRET:'xxxxx', | |
BITTREX_PRICE_METHOD:'ohlc',// ohlc OR vwa price to buy definition method | |
BITTREX_VWA_1_INTERVAL: 0.02,// weighted average interval in minutes | |
BITTREX_VWA_2_INTERVAL: 0.04,// weighted average interval in minutes | |
//---KRAKEN | |
KRAKEN_ASSET_PAIR:'XETHXXBT', | |
KRAKEN_KEY: 'xxxxx', | |
KRAKEN_SECRET: 'xxxxx', | |
KRAKEN_PRICE_METHOD:'ohlc',// ohlc OR vwa price to buy definition method | |
KRAKEN_VWA_1_INTERVAL: 0.02,// weighted average interval in minutes | |
KRAKEN_VWA_2_INTERVAL: 0.04,// weighted average interval in minutes | |
//---POLONIEX | |
POLONIEX_KEY: 'xxx', | |
POLONIEX_SECRET: 'xxx', | |
POLONIEX_PRICE_METHOD:'vwa',// ohlc OR vwa price to buy definition method | |
POLONIEX_VWA_1_INTERVAL: 0.02,// weighted average interval in hours | |
POLONIEX_VWA_2_INTERVAL: 0.04,// weighted average interval in hours | |
//----------------------------------------------- | |
// BOT TIMINGS | |
//----------------------------------------------- | |
API_CALLS_DELAY:777, | |
//----------------------------------------------- | |
//----------------------------------------------- | |
ALERT_ON_NO_FUNDS:false, // email on insufficcient funds | |
SMTP_EMAIL: '%40@gmail.com', | |
ALERT_EMAIL:'********', | |
SMTP_PASSWORD: '**********', | |
SMTP: true, | |
SMTP_PROTOCOL: 'SMTPS', | |
SMTP_HOST: 'smtp.gmail.com', | |
//----------------------------------------------- | |
// OUTPUT | |
//----------------------------------------------- | |
MAX_LATEST_PRICES_SHOWN: 0, // limit of latest prices to show in console.log | |
SHOW_LASTEST_DIRECTIONS:false, // show chart in console | |
MAX_LATEST_DIRECTIONS_SHOWN:0, // chart height | |
LASTEST_DIRECTIONS_LIST_WIDTH:0, // chart width | |
//----------------------------------------------- | |
// OTHER (might be deprecated/not in use ) | |
//----------------------------------------------- | |
BTC_BALANCE: 2// btc balance for test purposes, | |
}; | |
module.exports = config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REM thx Daniel for idea of copying configs | |
REM thx BZ Corp for timeout | |
FOR /F %%X IN (currencies.txt) DO ( | |
timeout /t 15 /nobreak | |
copy poloniex-BTC_BASE-config.js poloniex-BTC_%%X-config.js | |
start apair.bat %%X | |
) |
Качаем все что видим в папку с ГБ:
- Редактируем poloniex-BTC_BASE-config.js так как вам надо: уровни, стратегию, лимит покупки
- В файле currencies.txt прописываем пары с которыми будем работать .... запускаем runme.bat
@dyvosvit How do I fix it when it doesn't start a pair saying "Missing Coins Pair Parameter"?
How do I fix it when it doesn't start a pair saying "Missing Coins Pair Parameter"?
that means that you are trying to run GB without indicating which coin you want to run...
to run one pair that you want
you need a config for it
and run in the commandline of GB folder
apair.bat ETH
for example.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Download and copy everthing to your favourite folder with gunbot
PROFIT