0

TradingView Addon for Gunbot Manual

WHAT IS TRADING VIEW

TradingView is an advanced financial visualization platform with the ease of use of a modern website. Whether you are looking at basic price charts or plotting complex spread symbols with overlayed strategy back testing.

TradingView is the most active social network for traders and investors. Talk to millions of traders from all the world, discuss trading ideas and place live orders. Enjoy an unparalleled experience even from iPads or other devices, previously possible only with high end trading stations.

This definition is taken from their website. Basically TradingView allows user to talk using technical analysis on their interactive charts. Now how does this work with gunbot? Basically the Gunbot Developers have created a TradingView plugin that allows Gunbot to receive the alerts that you configure on tradingview by using a mail service in order to buy/sell a specific pair or cryptocurrency that you are trading.

Consider that this plugin is an extra-addon to current gunbot implementation and has an extra cost of 0.05 BTC

WHERE CAN I BUY TRADING VIEW ADDON

You can get TradingView Addon in the following link:

https://gunbot.shop/product/trading-view-addon-for-gunbot/

HOW DOES GUNBOT INTERACT WITH TRADINGVIEW ADDON

Basically as expressed before, Gunbot is watching an email inbox through an imap listener which allows the bot to quickly verify if there’s any alerts, it looks something like this when its fetching the emails:

The respective configuration sections are shown here:

        "client": {
                 "port": 3000,
                 "hostname": "127.0.0.1"
        },
        "ws": {
                 "port": 5000,
                 "hostname": "127.0.0.1"
        },
	"bot": {
		"debug": true, // not used in production
                "BOT_DELAY": 1,
		"period_storage_ticker": 2000, // number of prices to store to calculate TA indicators
		"interval_ticker_update": 25000, // interval to fetch prices (default 25 seconds)
		"timeout_buy": 60000, // internal timeout for buy orders
		"timeout_sell": 60000, // internal timeout for sell orders
                "TV_GAIN": 1, // Gain % bot will try to achieve when selling using TradingView plugin, 
                              // take in consideration that this depends on the main pair you are running, ie: 
                              // USDT-BTC, then require units in USDT, BTC-ARK would require units to be BTC, 
                              // ETH-SNT would require units to be in ETH
                "TV_TRADING_LIMIT_BUY": 0.01, // Amount of main pair unit to use per buy order, tradingview can 
                                              // buy multiple times
                "TV_PYRAMID":false, // Setting this value to true enables the use of pyramid contracts through 
                                    // Tradingview.
                                    // This might possibly trigger a large amount of trades. Be sure to have 
                                    // checked your strategy and balances before trying this.
                "TV_PROTECTION": true, // This prevents the bot from selling at a lower value than TV_GAIN 
                                       // profit
                "RETRY_TV_ORDER": false, // This parameter can be used to prevent consecutive orders being 
                                         // placed when orders are not successful.
		"WATCH_MODE": false, // if true it will not buy/sell
		"VERBOSE": true, // if true it will show up more informations on console
		
	},
	"imap_listener": {
		"enabled": false, // if true, tradingview plugin is enabled (need a license)
		"authorized_froms": ["[email protected]"], // set here the sender email you want to enable
		"user": "YOUR_EMAIL_HERE", // set here your TradingView alerts email
		"password": "YOUR_PASSWORD_HERE", // Your email password
		"host": "imap.gmail.com", // IMAP server
		"port": 993, // port to use with your IMAP server
		"tls": true, // tls options
		"tlsOptions": {
			"rejectUnauthorized": false
		},
         "exchanges": {
            "bittrex":{
                  "key": "YOUR_API_KEY_HERE",
                  "secret": "YOUR_SECRET_KEY_HERE"
             },
            "poloniex": {
                  "key": "YOUR_API_KEY_HERE",
                  "secret": "YOUR_SECRET_KEY_HERE"
             },
            "cryptopia":{ 
                  "key": "YOUR_API_KEY_HERE",
                  "secret": "YOUR_SECRET_KEY_HERE"
             },
            "kraken":{
                  "key": "YOUR_API_KEY_HERE",
                  "secret": "YOUR_SECRET_KEY_HERE"
             }
	}

FORMATS FOR BUY, SELL AND STOPLOSS ALERTS

The alerts messages have to be in the following format in order for Gunbot to understand them:

For Poloniex BUY_POLONIEX_MAINPAIR_TRADINGPAIR Examples:

  • BUY_POLONIEX_BTC_ETH would buy ETH using BTC
  • SELL_POLONIEX_USDT_BTC would sell BTC for USDT
  • STOPLOSS_BITTREX_BTC-PIVX would sell PIVX for BTC if stoploss is triggered. ​ For Bittrex BUY_BITTREX_MAINPAIR-TRADINGPAIR Examples:
  • BUY_BITTREX_ETH-MYST would buy MYST using ETH
  • BUY_BITTREX_BTC-XLM would buy XLM using BTC
  • SELL_BITTREX_BTC-ETH would sell ETH for BTC
  • BUY_BITTREX_USDT-NEO would buy NEO using USDT

For Kraken:

  • BUY_KRAKEN_DASHEUR would buy DASH using EURO
  • SELL_KRAKEN_XLTCXXBT would buy LTC using BTC

More examples and syntax for exchanges available for Gunbot:

  • BUY_POLONIEX_BTC_ETH
  • SELL_POLONIEX_USDT_BTC
  • STOPLOSS_BITTREX_BTC-PIVX
  • STOPLOSS_POLONIEX_BTC_XLM
  • SELL_CRYPTOPIA_ETH_BTC
  • BUY_CRYPTOPIA_LTC_BTC

Note that we will be sharing advanced tutorials and videos on how to use TradingView Addon on our Vip Zone. We will also share and talk about some free and pais scrypts for TradingView Addon.

Submit Your Comment