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.


Messages - ruphus

Pages: 1 2 [3]
41
EDIT1
Ok I got the config.js more or less working right now. There was a Comma to much at the pairs section.
Now it says the following:
Code: [Select]
Loading config ...
Loading exchange poloniex
Kicking poloniex, receiving new tickers...
Getting tickers for poloniex catch error: Cannot read property 'error' of undefined
repeating this error over and over again.

EDIT2
I guess I have found the solution. I have had still the 127.0.0.1 poloniex.com loopback within my /etc/hosts file, for the gunbotproxy. It looks fine now - at least for the moment. I am wondering, why GB 4 is catching prices every 15seks - doesn't that lead to an API ban?



Original post
Yes you can switch easily best is create a separate directory and install in it. You will have to modify (override) your configuration and provide for each pair the "BOUGHT_PRICE" that way it knows that what price you had purchased those coins for. Try and test with one pair and test and then migrate all other pairs. You can always switch back from 4.x to 3.3 anytime as you have the backup directory just run Gunbot from that directory instead and you are back on 3.3.

....

I hope this helps...

Good luck!

Hey eBitcoinworld,
thank you very much for the hint! I tryed out a fresh installation/config of 4.04 and only added one pair (BTC_XMR) for testing purposes. When running the bot it instantly crashes stating that there is a problem with the config(my assumption) on line 140 (what is the beginning of the bbstepgain funktion).

My Pair looks like this:
Code: [Select]
"pairs": {
"poloniex": {
"BTC_XMR": {
"strategy": "bbstepgain",
"override": {"BOUGHT_PRICE": 0.01849999}
}
},
},

while my bbstepgain looks like:
Code: [Select]
"bbstepgain": {
"BTC_TRADING_LIMIT": 0.01,
"PERIOD": 15,
"HIGH_BB": 45,
"LOW_BB": 45,
"SELLLVL1": 3,
"SELLLVL2": 6,
"SELLLVL3": 12,
"SELLLVL": 3,
"LASTPOINTS": 5,
"AVGPOINTS": 250,
"AVGMINIMUM": 0.00000001,
"EMA1": 2000,
"EMA2": 1000,
"PANIC_SELL": false,
"DOUBLE_UP": false,
"STOP_LIMIT": 60,
"BUY_ENABLED": true,
"MIN_VOLUME_TO_BUY": 0.001,
"MIN_VOLUME_TO_SELL": 0.001

},

Error:
Code: [Select]
Bot crashed at 2017/08/19 15:42:40
Reason: Failed to load config!!!
Parameter: undefined
Original error: SyntaxError: Unexpected token } in JSON at position 140
    at JSON.parse (<anonymous>)
    at Promise (/snapshot/gunbot-build/bot.js:0:0)
    at Promise.module.exports.Promise._execute (/snapshot/gunbot-build/node_modules/bluebird/js/release/debuggability.js:300:9)
    at Promise.module.exports.Promise._resolveFromExecutor (/snapshot/gunbot-build/node_modules/bluebird/js/release/promise.js:483:18)
    at new Promise (/snapshot/gunbot-build/node_modules/bluebird/js/release/promise.js:79:10)
    at loadConfig (/snapshot/gunbot-build/bot.js:0:0)
    at Object.start (/snapshot/gunbot-build/bot.js:0:0)
    at Object.<anonymous> (/snapshot/gunbot-build/bot.js:0:0)
    at Module._compile (pkg/prelude/bootstrap.js:1173:22)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:503:32)
    at tryModuleLoad (module.js:466:12)
    at Function.Module._load (module.js:458:3)
    at Module.require (module.js:513:17)
    at Module.require (pkg/prelude/bootstrap.js:1083:31)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/snapshot/gunbot-build/index.js:0:0)
    at Module._compile (pkg/prelude/bootstrap.js:1173:22)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:503:32)
    at tryModuleLoad (module.js:466:12)
    at Function.Module._load (module.js:458:3)

An idea, what I am doing wrong here?

42
Right now I am still running 3.3.2 and I am questioning myself, what would happen, if I switch to 4.04?

Will the bot still know the trade history and bought prices and stuff, since it has no log files and stuff? Is it safe to just switch to 4.04 then?

43
Technical Support & Development / Re: jsongui crash
« on: June 17, 2017, 01:49:04 PM »
Update
Always seems to be when I open a new pair and it fails to find the webapge comes up on the right hand screen. Could this be an issue my end? Firewall?

I experience the same crash, but only when I close that failed website pair.
System: Win 10 x64

44
Technical Support & Development / Re: Compile GB for Raspberry Pi?
« on: June 09, 2017, 11:52:31 AM »
Noone here is interested in using a Raspberry Pi?

Maybe anyone knows, if that ARM executables may be used within Windows IoT version on Raspberrys? - I#ll give a try on that, when I have time for.

45
your security margin is quite low at 5%.

I see your bot has bought for like 647 in the past which would end (with 5% sec.margin) at 614ish. So maybe the bot has sold some old trades at security margin?

46
Technical Support & Development / Compile GB for Raspberry Pi?
« on: June 07, 2017, 08:49:55 AM »
Hey there,

I am wondering if there is a way to run GB on my Raspberry Pi... Initially I thought that the "ARM-version" should run on Raspberrys but nevertheless Raspbian (Kernel 4.9) says the armv6 & armv7 versions are DOS/windows executables:


So I guess the ARM builds are kind of windows IoT based? I dont know...

For now I am wondering, if there is a way to compile that for armv7 and *nix? Any help is appreciated.


best regards
ruphus

47
Technical Support & Development / Re: GB 3.2 not showing log-screen
« on: June 07, 2017, 08:28:29 AM »
So...

actually 3.3.2 is "working" now. Nevertheless only one out of four pairs makes sell offers. I don't see why that happens right now, but I will have a look on that later.

I guess the real problem for me was, that my api key was not enabled for 3.x versions or something like that. Gunthar has helped mit on that.

48
Technical Support & Development / Re: GB 3.2 not showing log-screen
« on: June 03, 2017, 09:26:13 AM »
gunbot v3.3 is out, why don't use it?
I'll give it a try as soon as my API is registered for v3.

49
!INVALID LICENSE! Contact Gunthar.
 solved

50
Technical Support & Development / Re: GB 3.2 not showing log-screen
« on: June 02, 2017, 11:06:14 AM »
*push*

51
General Discussion / Re: GUNBOT Wiki - In-Depth Explaination
« on: June 01, 2017, 08:09:06 AM »
Further on we should have an eye on tutorials like Beginner Guides (which coins and configs) and Installation Guides (Win + *nix + ARM). Since Windows "installation" is without doubt no problem, espacially the *nix and ARM installtion guides would be awsome.

52
Hey guys,

is it normal that the log screen says:
Quote
=== PRICE INFORMATION UPDATE PAIR BTC_ETC at 2017/05/30 12:05:16 ===  last price: 0.00746475
price target to buy: 0.00000000
price target to sell: 0.00749470
***Your altcoin balance is 0.00000000
Looking for obsolete BUY orders. Ts:7/21

Doesn't that mean, it will wait for a zerozero price?!


Greetings.

//edit:
ok if I had waited for a few more minutes, I would have seen that it is buying and selling as expected (looking into polo trade history). Nevertheless GB says price target 0.000 which is a little confusing.

53
Hey guys,

when I want to run GB 3.2 (windows 10) it won't show me the log-screen. As you see in the screenshot it only shows some sort of "website not found" error.




Any help on this?

//edit:
using 3.3.2 and a whole new API key has solved my issues for now.

54
Beginners & Help / Re: [TUT] How to running GUNBOT in Linux
« on: May 30, 2017, 10:24:13 AM »
When I follow your instrucitons on my raspberry pi (running raspbian - kernel 4.9 armv7) i get the following error after running pm2 start gunbot.yaml:



My gunbot.yaml file looks like:
Code: [Select]
apps:
  - script : ./gunbot
    name : 'BTC_ETH'
    args : 'BTC_ETH'
  - script : ./gunbot
    name : 'BTC_ETC'
    args : 'BTC_ETC'
  - script : ./gunbot
    name : 'BTC_DASH'
    args : 'BTC_DASH'
  - script : ./gunbot
    name : 'BTC_DCR'
    args : 'BTC_DCR'
  - script : ./gunbot
    name : 'BTC_FCT'
    args : 'BTC_FCT'
  - script : ./gunbot
    name : 'BTC_GNT'
    args : 'BTC_GNT'
  - script : ./gunbot
    name : 'BTC_LSK'
    args : 'BTC_LSK'
  - script : ./gunbot
    name : 'BTC_LTC'
    args : 'BTC_LTC'
  - script : ./gunbot
    name : 'BTC_STRAT'
    args : 'BTC_STRAT'
  - script : ./gunbot
    name : 'BTC_XMR'
    args : 'BTC_XMR'

Within the pair-config-files I mainly inserted my API key and secret.

Any help on this?

55
Beginners & Help / Re: Running v3.2 on Raspberry Pi
« on: May 30, 2017, 09:17:09 AM »
Has anyone any idea on how to get the armv7 version running on a raspberry pi 3?

56
Beginners & Help / Re: Running v3.2 on Raspberry Pi
« on: May 29, 2017, 03:15:18 PM »
Code: [Select]
pi@pi:~ $ uname -a
Linux pi 4.9.28-v7+ #999 SMP Tue May 16 14:03:19 BST 2017 armv7l GNU/Linux

I guess it is armv7 since it is a pi3.

the error message indicates that the compiled script is not compiled for armv7, doesnt it?!

57
Beginners & Help / Running v3.2 on Raspberry Pi
« on: May 27, 2017, 10:03:55 AM »
Hey Guys,

can anyone help me setting up Gunbot on my Raspberry pi? Right now I am connecting through VNC to the Pi running raspbian.
Eventhough nodejs is not needed in v3.2 the newest nodejs is installed.

The tutorials i fount in this forum only cover v2.04. What are the main steps to get my bot running on my small Pi machine?

//edit:
When I try

chmod +x gunthy-armv7 gunthy-armv7x86
./gunthy-armv7(x86) BTC_ETH poloniex

it says "cannot execute binary - wrong file format..."


I am gladfull for any help!


Greetings
ruphus

Pages: 1 2 [3]