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 - albatros24

Pages: 1 [2]
21
Beginners & Help / Re: [TUT] How to running GUNBOT in Linux
« on: September 21, 2017, 05:28:45 PM »
Hello,

trying to set-up Gunbot 3.3.2 in Linux Mint 18.2 but when i run the bot with pm2 and check the log for the pair I get this output:

Quote
    Bot crashed at 2017/09/21 15:47:52
    Reason: Failed to load config!!!
    Parameter: undefined-BTC_XRP-config.js
    Original error: { Error: Cannot find module '/home/albatros/Programi/gunbot/undefined-BTC_XRP-config.js'
        at Module._resolveFilename (module.js:470:15)
        at Function.Module._resolveFilename (evalmachine.<anonymous>:0:0)
        at Function.Module._load (module.js:418:25)
        at Module.require (module.js:498:17)
        at Module.require (evalmachine.<anonymous>:0:0)
        at require (internal/module.js:20:19)
        at loadConfig (evalmachine.<anonymous>:0:0)
        at new Bot (evalmachine.<anonymous>:0:0)
        at Object.console./snapshot/Users/Enrico/Desktop/xBot_v2.9.3/index.js.dev (evalmachine.<anonymous>:0:0)
        at Module._compile (evalmachine.<anonymous>:0:0)
        at Object.Module._extensions..js (module.js:580:10)
        at Module.load (module.js:488:32)
        at tryModuleLoad (module.js:447:12)
        at Function.Module._load (module.js:439:3)
        at Module.runMain (evalmachine.<anonymous>:0:0)
        at run (bootstrap_node.js:426:7)
        at startup (bootstrap_node.js:147:9)
        at bootstrap_node.js:541:3 code: 'MODULE_NOT_FOUND' }


Any help would be appreciated!


Ok, I managed to get it working. I am new to Linux so any advice and/or corrections are appreciated.

The problem was that the 3.3.2 version has different naming conventions (I think). So, I did the following:

1. I created the following .config file: 'bittrex-BTC_XRP-config.js' and edited it appropriately (entered my API key, set the trading strategy etc.)

2. The executable for my OS (Linux Mint 18.2 64-bit) is named 'gunthy-linuxx64'. So, when creating .yaml file for pm2, i named it 'gunthy-linuxx64.yaml".

3. Inside the gunthy-linuxx64.yaml file I entered the following:


apps:
  - script : ./gunthy-linuxx64
    name : 'BTC_XRP'
    args : 'BTC_XRP bittrex'


As I understand, the 'name' argument is the name that will be shown in the list of running processes when you start Gunbot with pm2. So if you named it for example 'chair', pm2 would have a process named 'chair'. The 'args' argument is the part that tells Gunbot to run the .config file named 'bittrex-BTC_AMP-config.js'.

So that started my Gunbot and got it working.

After checking the logs using 'pm2 logs BTC_XRP' command, I noticed the following errors:

0|BTC_XRP  | (node:8521) DeprecationWarning: Calling an asynchronous function without callback is deprecated.
0|BTC_XRP  | (node:9057) DeprecationWarning: Calling an asynchronous function without callback is deprecated.

Does anyone know what the errors mean and how to fix them?



Edit: It's 'bittrex-BTC_XRP-config.js', not 'bittrex-BTC_AMP-config.js'

22
Beginners & Help / Re: [TUT] How to running GUNBOT in Linux
« on: September 21, 2017, 05:26:26 PM »
Hello,

trying to set-up Gunbot 3.3.2 in Linux Mint 18.2 but when i run the bot with pm2 and check the log for the pair I get this output:

Quote
    Bot crashed at 2017/09/21 15:47:52
    Reason: Failed to load config!!!
    Parameter: undefined-BTC_XRP-config.js
    Original error: { Error: Cannot find module '/home/albatros/Programi/gunbot/undefined-BTC_XRP-config.js'
        at Module._resolveFilename (module.js:470:15)
        at Function.Module._resolveFilename (evalmachine.<anonymous>:0:0)
        at Function.Module._load (module.js:418:25)
        at Module.require (module.js:498:17)
        at Module.require (evalmachine.<anonymous>:0:0)
        at require (internal/module.js:20:19)
        at loadConfig (evalmachine.<anonymous>:0:0)
        at new Bot (evalmachine.<anonymous>:0:0)
        at Object.console./snapshot/Users/Enrico/Desktop/xBot_v2.9.3/index.js.dev (evalmachine.<anonymous>:0:0)
        at Module._compile (evalmachine.<anonymous>:0:0)
        at Object.Module._extensions..js (module.js:580:10)
        at Module.load (module.js:488:32)
        at tryModuleLoad (module.js:447:12)
        at Function.Module._load (module.js:439:3)
        at Module.runMain (evalmachine.<anonymous>:0:0)
        at run (bootstrap_node.js:426:7)
        at startup (bootstrap_node.js:147:9)
        at bootstrap_node.js:541:3 code: 'MODULE_NOT_FOUND' }


Any help would be appreciated!


Ok, I managed to get it working. I am new to Linux so any advice and/or corrections are appreciated.

The problem was that the 3.3.2 version has different naming conventions (I think). So, I did the following:

1. I created the following .config file: 'bittrex-BTC_AMP-config.js' and edited it appropriately (entered my API key, set the trading strategy etc.)

2. The executable for my OS (Linux Mint 18.2 64-bit) is named 'gunthy-linuxx64'. So, when creating .yaml file for pm2, i named it 'gunthy-linuxx64.yaml".

3. Inside the gunthy-linuxx64.yaml file I entered the following:


apps:
  - script : ./gunthy-linuxx64
    name : 'BTC_XRP'
    args : 'BTC_XRP bittrex'


As I understand, the 'name' argument is the name that will be shown in the list of running processes when you start Gunbot with pm2. So if you named it for example 'chair', pm2 would have a process named 'chair'. The 'args' argument is the part that tells Gunbot to run the .config file named 'bittrex-BTC_AMP-config.js'.

So that started my Gunbot and got it working.




23
Beginners & Help / Re: [TUT] How to running GUNBOT in Linux
« on: September 21, 2017, 03:32:06 PM »
Hello,

trying to set-up Gunbot 3.3.2 in Linux Mint 18.2 but when i run the bot with pm2 and check the log for the pair I get this output:

Quote
    Bot crashed at 2017/09/21 15:47:52
    Reason: Failed to load config!!!
    Parameter: undefined-BTC_XRP-config.js
    Original error: { Error: Cannot find module '/home/albatros/Programi/gunbot/undefined-BTC_XRP-config.js'
        at Module._resolveFilename (module.js:470:15)
        at Function.Module._resolveFilename (evalmachine.<anonymous>:0:0)
        at Function.Module._load (module.js:418:25)
        at Module.require (module.js:498:17)
        at Module.require (evalmachine.<anonymous>:0:0)
        at require (internal/module.js:20:19)
        at loadConfig (evalmachine.<anonymous>:0:0)
        at new Bot (evalmachine.<anonymous>:0:0)
        at Object.console./snapshot/Users/Enrico/Desktop/xBot_v2.9.3/index.js.dev (evalmachine.<anonymous>:0:0)
        at Module._compile (evalmachine.<anonymous>:0:0)
        at Object.Module._extensions..js (module.js:580:10)
        at Module.load (module.js:488:32)
        at tryModuleLoad (module.js:447:12)
        at Function.Module._load (module.js:439:3)
        at Module.runMain (evalmachine.<anonymous>:0:0)
        at run (bootstrap_node.js:426:7)
        at startup (bootstrap_node.js:147:9)
        at bootstrap_node.js:541:3 code: 'MODULE_NOT_FOUND' }


Any help would be appreciated!

24
Beginners & Help / Error starting Gunbot 3.3.2. in Linux Mint 18.2
« on: September 21, 2017, 02:54:53 PM »
Hello,

trying to set-up Gunbot 3.3.2 in Linux Mint 18.2 but when i run this command in the terminal:

Quote
./gunthy-linuxx64 BTC_XRP

I get this output:

Quote
Bot crashed at 2017/09/21 15:47:52
Reason: Failed to load config!!!
Parameter: undefined-BTC_XRP-config.js
Original error: { Error: Cannot find module '/home/albatros/Programi/gunbot/undefined-BTC_XRP-config.js'
    at Module._resolveFilename (module.js:470:15)
    at Function.Module._resolveFilename (evalmachine.<anonymous>:0:0)
    at Function.Module._load (module.js:418:25)
    at Module.require (module.js:498:17)
    at Module.require (evalmachine.<anonymous>:0:0)
    at require (internal/module.js:20:19)
    at loadConfig (evalmachine.<anonymous>:0:0)
    at new Bot (evalmachine.<anonymous>:0:0)
    at Object.console./snapshot/Users/Enrico/Desktop/xBot_v2.9.3/index.js.dev (evalmachine.<anonymous>:0:0)
    at Module._compile (evalmachine.<anonymous>:0:0)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.runMain (evalmachine.<anonymous>:0:0)
    at run (bootstrap_node.js:426:7)
    at startup (bootstrap_node.js:147:9)
    at bootstrap_node.js:541:3 code: 'MODULE_NOT_FOUND' }

Any help would be appreciated!

25
Beginners & Help / Re: Gunbot 5.x & GunthyGUI - first time SETUP GUIDE
« on: September 19, 2017, 06:16:57 PM »
Hello, can this GUI be used with Gunbot 3.3.2?

26
Beginners & Help / Running Gunbot on Linux Mint 18 with and without VPS
« on: September 19, 2017, 06:04:00 PM »
Hello everyone, I'm fairly new to crypto and I just bought a Gunbot license.

I have a dual boot Linux Mint 18/Win 10 machine but I would like to run Gunbot on Linux Mint 18.

I am also fairly new to Linux.

Today I was trying to begin setting it up and noticed that all of the tutorials for Linux use VPS.

Why is VPS used at all?

Is it possible to run Gunbot on Linux without setting up VPS and are there any tutorials which explain how to do it?

If I set up Gunbot with VPS, do I have to have my computer turned on at all times?

Also how much resources does Gunbot use if set-up with VPS as opposed to using it without VPS?

Thanks to anyone that takes the time to answer my questions!

Pages: 1 [2]