Username: Password:

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Pro

Pages: [1]
1
Heyo

I encountered a major Problem, where the losses will always come from...
This will be probably fixed in next versions, however it is the following scenario:

A big Pump comes, let's say the course goes up by 70%, but then the course goes back down 50% or more most of the time (from top).
The Problem is, that the Bot don't know, that there was a huge pump and just buys 5% below the top, and the cash get's stuck.

Here are an actual example of this:


(if you don't see the full image, CTRL+SCROLL to 90% or click on it)



This is basically a 30%~ Loss Trade overall.
This is just one example, there are probably some more, wich stuck like that.
I don't know yet, if there are measurements to avoid that, but happend not just once.

Settings where:
BUYLVL1: 1,
BUYLVL2: 2,
BUYLVL3: 3,
SELLLVL1: 1,
SELLLVL2: 2,
SELLLVL3: 3,
BUYLVL: 3,
SELLLVL: 3,
STARTEMA1: 0.02,
STARTEMA2: 0.04,
PERIOD: 15,
MAX_LATEST_PRICES: 100,
MAX_LATEST_DIRECTIONS: 30,


I wonder if you all experience this as well?

It's mostly a pattern like that.
There must be a strategy to handle those dynamics.

What would you suggest?

2
Heyo  ;)

Here is the Thread, where you can put in your Suggestions & Feature-Requests for GunBot.

Also try to explain the exact logic behind each suggestion. Like step by step.

Mine would be:

Remove the need to save settings first, but use standard settings instead for each coin, if no previous setting exists
now you have to save all coins first

remove the bug window coming up, if you press supergun a second time
if gunbot is running, ignore second request, when button is pressed

Option to save Api-Keys, if you start gunbot.exe

• Add self explaining messages after error code
like: 429 - temporarily banned due to overuse of api
or something more clear for everyone

• Add better Stats
like
Open Positions: 1
Position: buy@0.000123
Last Sell: sell@0.000234
Profit: 0,11 btc (so far trading this coin with gunbot)
Something like this, more sorted and nice colors.

• Trade on Fibonacci Levels
If it hit's a lower fibonacci level quickly (big volume, high sells, bigger red candle), buy on fib level 50%, 38,2% and 23,6% and sell on next fibonacci level

Edit 10.04.2017:
Option or Setting to exit on % Profit
Example: Sell Position if coin/Position has reached 50%+, ignore other settings and exit, allow tolerance of 1-5% below like AltcoinX goes 0.0012 -> 0.0018 , sell for 0.00178, so ist actually gets sold and don't get stuck, because it was not Matched. Also a tolerance value must be added or like position sell X% below actual value.

Example Values for settings:
EXIT-ON-PROFIT-PRC: 50
SELL-TOLERANCE-PRC: 1


Those are a few, with different priority.
You might implement them step by step as think @ Gunthar

You're welcome to add your suggestions here as well:

Have a great day.

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

Code: [Select]
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]
Code: [Select]
@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]
Code: [Select]
@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

Pages: [1]