Username: Password:

Author Topic: on bittrex while getting ema1  (Read 21939 times)

Offline loki

  • Rookie
  • *
  • Posts: 3
    • View Profile
on bittrex while getting ema1
« on: August 22, 2017, 06:24:05 PM »
Hi all

just bougth gunbot yesterday, but I am fighting with it to have it up&running for long now. I have downloaded the latest version which has been published yesterday:
root@ubuntu:/app/gunbot# ls -ltrh
insgesamt 378M
drwxrwxrwx 3 root root 4.0K Aug 21 20:33 tulind
-rwxr-xr-x 1 root root  95M Aug 22 18:52 gunthy-arm
-rwxr-xr-x 1 root root  87M Aug 22 18:52 gunthy.exe
-rwxr-xr-x 1 root root  98M Aug 22 18:52 gunthy-linx64
-rwxr-xr-x 1 root root  99M Aug 22 18:52 gunthy-macos
-rwxr-xr-x 1 root root 6.4K Aug 22 18:57 config.js
root@ubuntu:/app/gunbot#

config.js is attached as configJS.txt

I didnt really change anything on config.js (except the api/secret). Here how it looks like:
root@ubuntu:/app/gunbot# ./gunthy-linx64
Loading config...
Loading exchange bittrex
2017/08/22 19:22:42: Kicking bittrex, receiving new tickers...
------------------------------------------------------------------------------------------------
 ɢƱƝß๏Ŧ v4.0.4  Scanning bittrex for trading opportunities 2017/08/22 19:22:45
------------------------------------------------------------------------------------------------
 ɢՍҊβ۝Ł v4.0.4  Tips&Tricks: BTC-LTC can be bought!!!
2017/08/22 19:22:46: There are some trading opportunities for BTC-LTC at bittrex. Scanning Trade History
2017/08/22 19:22:46: Last Bid price BTC-LTC: 0.01146173 | Last Ask: 0.01146305
2017/08/22 19:22:46: Balance BTC: 0.0*********
2017/08/22 19:22:46: Balance LTC: 0
2017/08/22 19:22:46: On Orders LTC: 0
Processing strategy BB for BTC-LTC on bittrex
Error on strategy BB for BTC-LTC on bittrex while getting ema1 -\ Error: Cannot read property '0' of null


any idea what I can do to fix this?

Offline dobcrypto

  • Contributor
  • **
  • Posts: 196
  • Russian - native language
    • View Profile
Re: on bittrex while getting ema1
« Reply #1 on: August 22, 2017, 07:08:20 PM »
Hi all
just bougth gunbot yesterday, but I am fighting with it to have it up&running for long now. I have downloaded the latest version which has been published yesterday:
root@ubuntu:/app/gunbot# ls -ltrh
insgesamt 378M
drwxrwxrwx 3 root root 4.0K Aug 21 20:33 tulind
-rwxr-xr-x 1 root root  95M Aug 22 18:52 gunthy-arm
-rwxr-xr-x 1 root root  87M Aug 22 18:52 gunthy.exe
-rwxr-xr-x 1 root root  98M Aug 22 18:52 gunthy-linx64
-rwxr-xr-x 1 root root  99M Aug 22 18:52 gunthy-macos
-rwxr-xr-x 1 root root 6.4K Aug 22 18:57 config.js
root@ubuntu:/app/gunbot#

config.js is attached as configJS.txt

I didnt really change anything on config.js (except the api/secret). Here how it looks like:
root@ubuntu:/app/gunbot# ./gunthy-linx64
Loading config...
Loading exchange bittrex
2017/08/22 19:22:42: Kicking bittrex, receiving new tickers...
------------------------------------------------------------------------------------------------
 ɢƱƝß๏Ŧ v4.0.4  Scanning bittrex for trading opportunities 2017/08/22 19:22:45
------------------------------------------------------------------------------------------------
 ɢՍҊβ۝Ł v4.0.4  Tips&Tricks: BTC-LTC can be bought!!!
2017/08/22 19:22:46: There are some trading opportunities for BTC-LTC at bittrex. Scanning Trade History
2017/08/22 19:22:46: Last Bid price BTC-LTC: 0.01146173 | Last Ask: 0.01146305
2017/08/22 19:22:46: Balance BTC: 0.0*********
2017/08/22 19:22:46: Balance LTC: 0
2017/08/22 19:22:46: On Orders LTC: 0
Processing strategy BB for BTC-LTC on bittrex
Error on strategy BB for BTC-LTC on bittrex while getting ema1 -\ Error: Cannot read property '0' of null
any idea what I can do to fix this?
Try to add in bb section EMA:
Code: [Select]
"bb": {
                        "BTC_TRADING_LIMIT": 0.01,
                        "PERIOD": 15,
                        "GAIN": 0.6,
                        "EMA1": 4,
                        "EMA2": 2,
                        "HIGH_BB": 45,
                        "LOW_BB": 45,
                        "PANIC_SELL": false,
                        "DOUBLE_UP": true,
                        "STOP_LIMIT": 60,
                        "BUY_ENABLED": true,
                        "MIN_VOLUME_TO_BUY": 0.001,
                        "MIN_VOLUME_TO_SELL": 0.001

Offline loki

  • Rookie
  • *
  • Posts: 3
    • View Profile
Re: on bittrex while getting ema1
« Reply #2 on: August 22, 2017, 07:18:19 PM »
That worked :-)
Thanks much!

after adding those two lines in the bb section
"EMA1": 4,
"EMA2": 2,

Offline loki

  • Rookie
  • *
  • Posts: 3
    • View Profile
Re: on bittrex while getting ema1
« Reply #3 on: August 22, 2017, 07:52:36 PM »
not good :-), bot bought XRP and BCC and price dropping ^^

Offline sloaleks

  • Contributor
  • **
  • Posts: 610
    • View Profile
Re: on bittrex while getting ema1
« Reply #4 on: August 24, 2017, 11:25:21 AM »
by yesterday gunny should have sold at profit, albeit the choice of pairs was not optimal for the bot. I'm presumin you looked at candles on the 22nd, when after 0400 gmt ltc began its journey down.

Offline AnotherOne

  • Rookie
  • *
  • Posts: 28
    • View Profile
Re: on bittrex while getting ema1
« Reply #5 on: August 25, 2017, 12:31:54 PM »
What is the purpose to use 45/45? I mean, you buy at 45% over the lower bb and sell at 45% under bb... Seems it makes no sense? Or I don't understand the 45% correctly? Think I read somewhere than using 10% low bb will buy at 10% over the low bb.. Which makes sens because you don't want to buy when the price is high... no?

Thanks for any clarification!