Heyo
Here is my first tutorial/config on how to start your favorite coins at once.
Also how to edit all your configs at once!
And a prepared package of all these .bat & config files attached!
Basically you need to do this in 5 main steps:1. Start Gunbot.exe / or skip this to set up configs first and start supergun with commandline/.bat file.
2. Configure your coin & save each coin to generate a config file - also insert API Keys.
(or setup one file & copy it many times and give it all the coin names)
3. create a XXX.bat (e.g. eth.bat) for each coin from the list below (or just take the .bat man pack from download)
4. Modify & Start all you coins with start-all.bat
5. Done - all configured coins should run fine
Here is the new default Config:
Please configure it as you need it.
var config = {
// DEBUG
DEBUG_LOG:false,
I_REALLY_WANT_IT:false,
BUY_SMALL_PORTION:1,
INSUFFICIENT_FUNDS_ON_SELL_FIX: 0.005,
INSUFFICIENT_FUNDS_ON_BUY_FIX: 0.005,
//-----------------------------------------------
// 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_PRICES_TREND: 30,// 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_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_ETH", // single pair format for all markets !
BUYLVL1: 3,
BUYLVL2: 12,
SELLLVL1: 2,
SELLLVL2: 70,
BUYLVL: 2,
SELLLVL: 2,
BUY_STRATEGY: "BB", // accepted values BB or STEPGAIN or GAIN or PINGPONG
SELL_STRATEGY: "BB", // accepted values BB or STEPGAIN or GAIN or PINGPONG
LOW_BB: 25,
HIGH_BB: 25,
PINGPONG_BUY: 0.01,
PINGPONG_SELL: 0.02,
BUY_LEVEL: 3, // If GAIN buy strategy is used, buy at this percentual below lower ema value
GAIN: 5, // If GAIN sell strategy is used, sell at this percentual above bought price
BTC_TRADING_LIMIT: 0.2,// max amount of BTC balance to use for each pair
SECURITY_MARGIN: 60, // sell all balance if currency decreases x% after you bought it
MIN_VOLUME_TO_BUY: 0.05, // bitrex min volume
//---BITTREX
BITTREX_KEY:'',
BITTREX_SECRET:'',
BITTREX_PRICE_METHOD:'ohlc',// ohlc OR vwa "price to buy" definition method
BITTREX_VWA_1_INTERVAL: 10,// weighted average interval in minutes
BITTREX_VWA_2_INTERVAL: 120,// weighted average interval in minutes
//---KRAKEN
KRAKEN_ASSET_PAIR:'XETHXXBT',
KRAKEN_KEY: '',
KRAKEN_SECRET: '',
KRAKEN_PRICE_METHOD:'vwa',// ohlc OR vwa "price to buy" definition method
KRAKEN_VWA_1_INTERVAL: 1,// weighted average interval in minutes
KRAKEN_VWA_2_INTERVAL: 15,// weighted average interval in minutes
//---POLONIEX
POLONIEX_KEY: '',
POLONIEX_SECRET: '',
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,
BOT_SLEEP_DELAY:(1000)*120,// bot cycle delay (koef*sec)
BOT_MAX_LIFETIME:999999999,// overall bot lifetime(koef*min),
BOT_ON_FAIL_DELAY:(1000)*60, // bot repeat cycle delay if previous cycle failed (koef*sec)
//-----------------------------------------------
// EMAIL
//-----------------------------------------------
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;
Just add your Exchange Api code.Here is how you can quickly change those configs on all files AT ONCE or those files you need:
- Download and open Sublime Text (Best Text Editor
- Select all XXX_XXX-config.js you want to edit in your explorer
- Drag & Drop into Sublime Text
- Select Lines you want to change (shortcut CTRL+SHIFT+F) or MENU > FIND > Search in Files
- Select <open files>
- Copy Paste the old part in search (top row) and Copy&Edit the new part in replace (bottom row)
- Replace & Boom & Done like a Pro!
See Screenshots!
Here is a example of the coin, including the commands you need to start them on windows.
Just pick the ones you need and create a .bat file with the coin name (e.g. btc_xrp.bat)
[spoiler]
@echo off
TITLE BTC_XRP
gunthy BTC_XRP poloniex
[/spoiler]
If you don't want to setup these files, you can find them in the attached.zip file.
Here I have a startup.bat file to start them all (you may have to edit it)
This would start these 63 coins at once, minimized, with 1 second startdelay per coin (you can delete all you don't want to trade, just edit it as you need)
[spoiler]
@echo off
@echo off
start /min BTC_DCR.bat
timeout 1
start /min BTC_BTCD.bat
timeout 1
start /min BTC_DASH.bat
timeout 1
start /min BTC_DOGE.bat
timeout 1
start /min BTC_REP.bat
timeout 1
start /min BTC_NMC.bat
timeout 1
start /min BTC_NAV.bat
timeout 1
start /min BTC_BELA.bat
timeout 1
start /min BTC_VRC.bat
timeout 1
start /min BTC_HZ.bat
timeout 1
start /min BTC_LTC.bat
timeout 1
start /min BTC_LSK.bat
timeout 1
start /min BTC_XBC.bat
timeout 1
start /min BTC_ETH.bat
timeout 1
start /min BTC_RADS.bat
timeout 1
start /min BTC_VTC.bat
timeout 1
start /min BTC_BCN.bat
timeout 1
start /min BTC_XMR.bat
timeout 1
start /min BTC_OMNI.bat
timeout 1
start /min BTC_XPM.bat
timeout 1
start /min BTC_STRAT.bat
timeout 1
start /min BTC_LBC.bat
timeout 1
start /min BTC_GRC.bat
timeout 1
start /min BTC_VIA.bat
timeout 1
start /min BTC_EXP.bat
timeout 1
start /min BTC_SC.bat
timeout 1
start /min BTC_CLAM.bat
timeout 1
start /min BTC_GAME.bat
timeout 1
start /min BTC_BURST.bat
timeout 1
start /min BTC_SYS.bat
timeout 1
start /min BTC_ARDR.bat
timeout 1
start /min BTC_STEEM.bat
timeout 1
start /min BTC_RIC.bat
timeout 1
start /min BTC_ZEC.bat
timeout 1
start /min BTC_BTS.bat
timeout 1
start /min BTC_NSR.bat
timeout 1
start /min BTC_XRP.bat
timeout 1
start /min BTC_GNT.bat
timeout 1
start /min BTC_XVC.bat
timeout 1
start /min BTC_FLO.bat
timeout 1
start /min BTC_NXC.bat
timeout 1
start /min BTC_NOTE.bat
timeout 1
start /min BTC_PINK.bat
timeout 1
start /min BTC_BLK.bat
timeout 1
start /min BTC_XEM.bat
timeout 1
start /min BTC_POT.bat
timeout 1
start /min BTC_SJCX.bat
timeout 1
start /min BTC_NAUT.bat
timeout 1
start /min BTC_MAID.bat
timeout 1
start /min BTC_FCT.bat
timeout 1
start /min BTC_FLDC.bat
timeout 1
start /min BTC_STR.bat
timeout 1
start /min BTC_AMP.bat
timeout 1
start /min BTC_NXT.bat
timeout 1
start /min BTC_CURE.bat
timeout 1
start /min BTC_NEOS.bat
timeout 1
start /min BTC_DGB.bat
timeout 1
start /min BTC_PPC.bat
timeout 1
start /min BTC_HUC.bat
timeout 1
start /min BTC_XCP.bat
timeout 1
start /min BTC_EMC2.bat
timeout 1
start /min BTC_PASC.bat
timeout 1
start /min BTC_ETC.bat
exit
[/spoiler]
Important, you have to go trought all coins and set up a config file (save) for each coin before you can start all!
This will be fixed in future versions, so standard settings apply to each coin, if you start it.
Edit: 17.04.2017
Added files to start all coins on windows.
Make sure you have setup all the settings first.
Edit: 22.04.2017
Added New Config for 3xx
Fixed Descriptions
Changed Startup.bat (filtered those coins that poloniex will remove)
Thanks for adding this thread to the main description @ Gunthar
Edit: 20.05.2017
Updated all configs to latest version 3.3
Wish you good botting Well, best regards
Pro