Username: Password:

Author Topic: Gunbot Monitor - Oversee all GUNBOTs in one screen  (Read 125329 times)

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Gunbot Monitor - Oversee all GUNBOTs in one screen
« on: May 24, 2017, 10:57:02 AM »
gmon - A command line application to monitor your Gunbot




Basics

🚨 gmon 1.x will only work with Gunbot v9! 🚨

- gmon works best on Unix based systems (Linux and OSX)
- gmon requires Gunbot v9, Node.js 6 or higher and npm
- gmon uses up to 100MB memory
- you should not use gmon if your server has less than 230MB available free memory
- you need a wide window / screen
- gmon and it's creator are not responsible/liable for wrong numbers or wrong calculations
- use at own risk



Installation - Linux, OSX, Windows

You need to install Gunbot-Monitor on the same machine as Gunbot.

This is a Node.js command line app available through the npm registry.

Before installing, download and install Node.js.
Node.js 6.11.2 or higher is required.

Installation is done using the "npm install -g" command:

Code: [Select]
npm install -g gunbot-monitor


Update

Use npm to update:

Code: [Select]
npm uninstall -g gunbot-monitor && npm install -g gunbot-monitor


Usage

To start gmon, go to the folder your Gunbot is installed (`cd /path/to/gunbot`) and run this command:

Code: [Select]
gmon [options]

Options

Code: [Select]
    -h, --help                               Output usage information
    -v, --version                            Output the version number
    -p, --path <path>                        Path to the GUNBOT folder. Separate multiple paths with ":" (like: -p /path1:/path2). [Default: current folder]
    -N, --path-name <name>                   Optional name for each path to the GUNBOT folder(s). Separate multiple path names with ":" (like: -N Kraken_Bot:Proxy_Mega_Bot). [Default: No path name]
    -c, --compact [groupSize]                Do not draw row lines. Optional set the number of rows after which a line is drawn. [Default: 0]
    -s, --small                              Reduce columns for small screens
    -d, --digits <digits>                    Amount of digits for all numbers. Min = 0, max = 10. [Default: 4]
    -r, --refresh <seconds>                  Seconds between table refresh. Min = 1, max = 600. [Default: 60]
    -m, --markets <markets>                  Filter of markets to show. Separate multiple markets with ":" (like: -m poloniex:kraken) [Default: all]
    -P, --profit                             Use to activate the parsing of the profit. NOT WORKING CORRECTLY!
    -H, --hide-inactive <hours>              Hides trading pairs which last log entry is older than given hours. Min = 1, max = 854400. [Default: 720]
    -C, --connections-check-delay <seconds>  Seconds between netstats checks. Higher numbers result in more inaccurate statistics but reduce cpu usage. Min = 1, max = 600. [Default: 1]


Path option "-p"

To run gmon outside of your Gunbot folder, use the `-p` option to specify the path where Gunbot is installed:

Code: [Select]
gmon -p /path/to/gunbot
If you have multiple Gunbots running, you can use the `-p` option to specify all paths to your Gunbots:

Code: [Select]
gmon -p /path/to/AAA_bot:/path/to/BBB_bot

Path name option "-N"

When using `-p` option you can set names for your different Gunbots:

Code: [Select]
gmon -N Kraken-Bot-tssl:Bittrex-emo

Compact mode "-c"

With this option, gmon will not draw row lines to separate the rows:

Code: [Select]
gmon -c
Optional set the number of rows after which a line should be drawn to have a little visual guide:

Code: [Select]
gmon -c 4

Small mode "-s"

With this option, gmon will not draw the columns *OO?*, *# Coins*, *1 6 h d +* to support smaller screens:

Code: [Select]
gmon -s

Digits option "-d"

When using `-d` option you can set the number of displayed digits. Set to a lower number on small screens:

Code: [Select]
gmon -d 3

Refresh option "-r"

This option allows you to set the time in seconds how long gmon waits until it checks all values again.

⚡️ Please check your server when setting `-r` to low numbers! ⚡️ Faster updates mean more work for your server.

Code: [Select]
gmon -r 90

Market filter "-m"

With option `-m` you are able to define specific markets you want to see in the output:

Code: [Select]
gmon -m kraken:bitfinex # This will only show pairs on those exchanges

Profit option "-P"

Now working at the moment.


Hide inactive pairs "-H"

gmon will show all trading pairs inside a folder, as long as there is a `state.json` file. If you disable a pair you can set this option `-H` to hide inactive trading pairs when there last update is older than the set number.

Code: [Select]
gmon -H 2

Connections check delay "-C"

Set the time interval in seconds how often the number of open connections to the exchanges should be checked. Higher numbers result in more inaccurate statistics but reduce cpu usage.

Code: [Select]
gmon -C 10


How to read gmon's output

ColumnDescription
**Name**Market name and trading pair name
**Str**Buy and sell strategy
**LL**Last Log - seconds since the last log update of this trading pair 
**OO?**Open Order? - says "yes" if there is an open order on the market
-
**# Coins**Amount of coins of the quote currency
**in BTC**Value of the quote currency in BTC (or other base currency)
**Diff since buy**Indicator how much the value of the holding quote currency has changed in BTC (or other base currency)
-
**Buy/Bought**If numbers are white: Price which needs to be reached till the bot will buy quote currency (if **# Coins** == 0)
If numbers are yellow: Price the bot paid to buy the quote currency"
**Sell**Price which needs to be reached till the bot will sell the holding quote currency (if **# Coins** > 0)
**Last Price**Current market price for the quote currency
**Price diff**Difference between Last Price and the Buy/Bought if waiting to buy
or difference between Last Price and the Sell if waiting to sell.
If something is not correct (the log does not contain all needed prices) it shows an error hint
-
**# Buys**Number of total buys - How often did the bot buy this quote currency and time since the last buy
**1 6 h d +**Number of buys in the last 1 hour / 6 hours / 12 hours / 24 hours / more than 24 hours.
**# Sells**Number of total sells - How often did the bot sell this quote currency and time since the last sell
**1 6 h d +**Number of sells in the last 1 hour / 6 hours / 12 hours / 24 hours / more than 24 hours



Windows issues

Do yourself a favor and use a console emulator like cmder.



Wishlist

https://github.com/BeerK0in/gunbot-monitor/issues/15



Thanks

Thanks to your feedback so for and thanks to
https://github.com/toSvenson
https://github.com/jbogatay
for contributing!



Support & Tips

You like gmon and it helps you earning money?

- Report bugs in this forum thread or via the Telegram group t.me/beercrypto.
- Support gmon and send a tip to BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT


BK
« Last Edit: April 27, 2018, 07:16:41 PM by beer-k0in »
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline Alex_13

  • Rookie
  • *
  • Posts: 7
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #1 on: May 24, 2017, 05:08:57 PM »
Wonderful idea! But it doesn't run on Windows now)) I'm working in Linux, but bot runs on Win machine.
All the best!

btcjuice

  • Guest
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #2 on: May 25, 2017, 10:09:38 PM »
This is amazing dude, have been using it for 2 days now and couldn't imagine GB without it. Great job!

Few improvements i would suggest:
- on the "diff since buy" column add a total at the bottom also.
- I dont know why but the pink arrows and the blue arrows show just squares to me. the yellow arrows are ok though!
- put profit column green? :) Today was a bad day... just saw reds on the  "diff since buy" so a little green would cheer us up? :)
- On "last error" the idea is "If a 422 only shows up once in a while is ok, but if it blocks a pair that is bad" so can we also see (what time was the error before the last?) understandable? Or X errors in the last Y minutes? Just basically something that would help on identifying if it was a one-off error or a persistent one.


Love the interface and its great as it is, the above are just reaaly some minor improvement sugestions, dont take them the bad way :D

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #3 on: May 25, 2017, 11:29:50 PM »
But it doesn't run on Windows now

I think I found the issue with Windows. Will look into it tomorrow.



This is amazing dude, have been using it for 2 days now and couldn't imagine GB without it. Great job!

Glad you like it.

Few improvements i would suggest:
- on the "diff since buy" column add a total at the bottom also.
- I dont know why but the pink arrows and the blue arrows show just squares to me. the yellow arrows are ok though!
- put profit column green? :) Today was a bad day... just saw reds on the  "diff since buy" so a little green would cheer us up? :)
- On "last error" the idea is "If a 422 only shows up once in a while is ok, but if it blocks a pair that is bad" so can we also see (what time was the error before the last?) understandable? Or X errors in the last Y minutes? Just basically something that would help on identifying if it was a one-off error or a persistent one.

Thank you for the feedback. I put it "on the list" :)

Arrows: What OS are you running GUNBOT on? Debian? Ubuntu? CentOS?

BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline Snapper_Head

  • Rookie
  • *
  • Posts: 4
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #4 on: May 26, 2017, 07:19:27 AM »
Thanks for your program.  It is great that so many people are contributing and sharing their work to make gunbot better.

I ran into trouble getting this to work but solved it by updating nodjs to version 6

curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get install -y nodejs

Offline dj_crypto

  • Rookie
  • *
  • Posts: 6
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #5 on: May 26, 2017, 08:36:36 AM »
Hey mate,

I also have a few windows servers I am running pairs on. Any plans on getting this amazing monitor working with a windows server?

Have a good day, and again, great work :)

dj

Offline finlay1888

  • Rookie
  • *
  • Posts: 6
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #6 on: May 26, 2017, 10:03:28 AM »
This is great work and solved my initial monitoring challenges with GunBot.

Top work!  Do you have a LTC wallet I can send something to?


Offline Anon

  • Rookie
  • *
  • Posts: 9
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #7 on: May 26, 2017, 11:21:24 AM »
i can't make it work... i get only logo >>gunbot-monitor<< and refresh interval 20s and it stays like it forever...

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #8 on: May 26, 2017, 03:44:55 PM »
I've updated the monitor.

Run
Code: [Select]
npm install -g gunbot-monitor to update it on your server.



Few improvements i would suggest

Added hopefully all of it. Can you check the arrows again please?



Wonderful idea! But it doesn't run on Windows now)) I'm working in Linux, but bot runs on Win machine.
I also have a few windows servers I am running pairs on. Any plans on getting this amazing monitor working with a windows server?
i can't make it work... i get only logo >>gunbot-monitor<< and refresh interval 20s and it stays like it forever...

Should work on Windows and OSes other than Linux and OSX now.



Do you have a LTC wallet I can send something to?

I do. LTC wallet: LNwLXuf9Ry47n3GiFc4cGTBXLLX1Cov6Ha
Thank you! 8)

BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline deund

  • Rookie
  • *
  • Posts: 2
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #9 on: May 26, 2017, 05:24:12 PM »
hi ;

Gunbot monitor is big great

thanks you develloper :-)

1 question
is possible to execute GM in log in html ---> example    $ gmon html
in my browser view GM with 20sec refresh.......

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #10 on: May 26, 2017, 05:41:03 PM »
is possible to execute GM in log in html ---> example    $ gmon html
in my browser view GM with 20sec refresh.......

Right now out of the box: No, all the output is formatted for the console and not written into a file.

I could build a sweet webapp to view and control the bot. But that would took time from my other projects and I would have to charge money for it.
So if there is a big demand and more than 20 people would pay, lets say 0.05 BTC for it, then we can go into the web. :)

BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline Anon

  • Rookie
  • *
  • Posts: 9
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #11 on: May 26, 2017, 06:29:14 PM »
i can't make it work... i get only logo >>gunbot-monitor<< and refresh interval 20s and it stays like it forever...

Should work on Windows and OSes other than Linux and OSX now.


i'm using ubuntu 16.04
nodejs v7.10.0
still same thing even after update...

btcjuice

  • Guest
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #12 on: May 26, 2017, 07:08:48 PM »
i'm using ubuntu 16.04

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #13 on: May 26, 2017, 07:18:20 PM »
i'm using ubuntu 16.04
nodejs v7.10.0
still same thing even after update...

Can you go to the folder your GUNBOT is installed and run those commands and post the results here?

Code: [Select]
npm ls -g pm2 gunbot-monitor
Code: [Select]
free -m
Code: [Select]
ls -la *-log.txt
BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #14 on: May 26, 2017, 07:24:52 PM »
i'm using ubuntu 16.04

Could be the Terminal software you are using to connect to your server. What is the OS on your local machine and how (which program) do you connect to your server?

BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

btcjuice

  • Guest
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #15 on: May 26, 2017, 07:40:07 PM »
Windows 10 with putty 0.66

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #16 on: May 26, 2017, 11:00:25 PM »
Windows 10 with putty 0.66

Looks like putty uses a non UTF-8 font by default. Maybe this helps you to switch to a more modern font: https://superuser.com/questions/393834/how-to-configure-putty-to-display-these-characters

BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Reibinga

  • Guest
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #17 on: May 27, 2017, 11:40:54 PM »
Is there a reason as to why some prices in the last price column for pairs are blank and others are not?

https://gyazo.com/d664c58af15772b5855447030ade4ce5

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #18 on: May 28, 2017, 06:51:00 AM »
Is there a reason as to why some prices in the last price column for pairs are blank and others are not?

https://gyazo.com/d664c58af15772b5855447030ade4ce5

General answer: if the GUNBOT does not log something, the Monitor can not show it.

In your case a line like this is missing in the logs:
LP 1.7650000,<=,prBuy 1.7715878  secMargin 0.0000708635135333334  grows yes

This is not confirmed by Gunthar, but I think it is when the GUNBOT is in a bad state after an error on Poloniex. See this post in the Bugs thread.
https://gunthy.org/index.php?topic=270.msg1570#msg1570

I also noticed, the bots will not trade if 'last price' is empty, so I restart them (and wait ~10s between each restart):
Code: [Select]
pm2 restart BTC_XXXI'm not sure if restarting is the correct way to address this, but it works for me.

BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline Svenson

  • Rookie
  • *
  • Posts: 1
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #19 on: May 28, 2017, 07:56:12 AM »
Windows 10 with putty 0.66

Looks like putty uses a non UTF-8 font by default. Maybe this helps you to switch to a more modern font: https://superuser.com/questions/393834/how-to-configure-putty-to-display-these-characters

BK

The pull request I've issues a few days ago was meant to make the arrows work with default putty. :)


Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #20 on: May 28, 2017, 10:59:16 PM »
Sorry, I disabled email notifications on github, so I was unaware of all the issues and the PRs here.

Thanks to Svenson there is a new version out.
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline freekwillem

  • Rookie
  • *
  • Posts: 2
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #21 on: May 30, 2017, 08:21:01 AM »
Just changed my bot to Linux.
Great work on the generator en the monitor.

At least I know now what my bot is doing! :) :)


Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #22 on: May 30, 2017, 09:32:56 AM »
I've updated the monitor
Version 0.0.22

Run
Code: [Select]
npm install -g gunbot-monitor to update it on your server.




Small screens

You can run the monitor on small screens now with the parameters '-c' or '-s' or both '-c -s'.

Code: [Select]
gmon -c
Code: [Select]
gmon -s
Code: [Select]
gmon -c -s
« Last Edit: May 30, 2017, 09:36:45 AM by beer-k0in »
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline Alex_13

  • Rookie
  • *
  • Posts: 7
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #23 on: May 30, 2017, 11:15:04 AM »
Quote
You can run the monitor on small screens now with the parameters '-c' or '-s' or both '-c -s'.

Wonderful! :D

Offline Alex_13

  • Rookie
  • *
  • Posts: 7
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #24 on: May 30, 2017, 11:18:40 AM »
Example of bat-file (fullscreen-mode)

Code: [Select]
cd "e:\BOT\Gunbot_v3.2_core_allCPU\"
start /max cmd /k gmon -s

Offline P0s31d0n

  • Rookie
  • *
  • Posts: 4
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #25 on: May 30, 2017, 04:45:42 PM »
ok I am sorry but I am quite new to all this so is a bit over my head.

I am running on windows AWS VPS

When you say to Run
Code: [Select]
npm install -g gunbot-monitor
to install the gunbot-monitor

where do I exactly do that and how?

Like where do I run that command to get the monitor installed?

I apologize for the noob question.

Offline criptonauta

  • Contributor
  • **
  • Posts: 137
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #26 on: June 01, 2017, 04:35:20 AM »
Hi BK

How to adjust delay? 10s is too low, i'd like it to be more sparse.

Thanks

Cripto
   ✔ FAST, APPROVED AND EASY Escrow for used GunBot licenses @ 5% ..:..Gunbot licenses 10% off: 'Criptonauta_Gun' code. | Tuning, Custom Strats | No VPS? Get yours here   ✔

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #27 on: June 01, 2017, 08:08:01 AM »
How to adjust delay? 10s is too low, i'd like it to be more sparse.

Hi,

use the '-r' parameter:

Code: [Select]
gmon -r 60


All available options can be displayed with
Code: [Select]
gmon -h
Code: [Select]
  Usage: gmon [options]

  Options:

    -h, --help               output usage information
    -v, --version            output the version number
    -p, --path <path>        Path to the GUNBOT folder
    -c, --compact            Do not draw row lines
    -s, --small              Reduce columns for small screens
    -r, --refresh <seconds>  Seconds between table refresh. Min = 10, max = 600

You can also combine the options like:
Code: [Select]
gmon -csr 120
BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #28 on: June 01, 2017, 03:06:44 PM »
I've updated the monitor
Version 0.0.25

Changelog

-    Default timing is 60s now.
-    Handle "EMFILE: too many open files, scandir".
-    Added profit behind the --profit (-P) flag.
-    Highlight 429 errors.



Update

Run
Code: [Select]
npm install -g gunbot-monitor to update/install it on your server.



Profit is back

You can activate the profit parsing again with the parameter '-P'.

Code: [Select]
gmon -P
THIS WILL SLOW DOWN YOUR SYSTEM. Please check your CPU load and increase the refresh time if the CPU load is to high, or do not activate the profit parsing.



Usage

All available options can be displayed with
Code: [Select]
gmon -h

Code: [Select]
  Usage: gmon [options]

  Options:

    -h, --help               output usage information
    -v, --version            output the version number
    -p, --path <path>        Path to the GUNBOT folder
    -c, --compact            Do not draw row lines
    -s, --small              Reduce columns for small screens
    -r, --refresh <seconds>  Seconds between table refresh. Min = 10, max = 600
    -P, --profit             Use to activate the parsing of the profit. I WILL SLOW DOWN YOUR SYSTEM!

You can also combine the options like:

Code: [Select]
gmon -csPr 120 -p /path/to/GB/
BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline unknownMe

  • Rookie
  • *
  • Posts: 1
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #29 on: June 01, 2017, 05:07:09 PM »
 0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node',
1 verbose cli   '/usr/local/bin/npm',
1 verbose cli   'install',
1 verbose cli   '-g',
1 verbose cli   '-gunbot-monitor' ]
2 info using npm@3.10.10
3 info using node@v6.10.2
4 silly loadCurrentTree Starting
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 silly fetchPackageMetaData .
8 silly fetchOtherPackageData .
9 silly cache add args [ '.', null ]
10 verbose cache add spec .
11 silly cache add parsed spec Result {
11 silly cache add   raw: '.',
11 silly cache add   scope: null,
11 silly cache add   escapedName: null,
11 silly cache add   name: null,
11 silly cache add   rawSpec: '.',
11 silly cache add   spec: '/Users/xxx/Patch2022_Gunbot_v3.2_core_allCPU',
11 silly cache add   type: 'local' }
12 error addLocal Could not install /Users/xxx/Patch2022_Gunbot_v3.2_core_allCPU
13 silly fetchPackageMetaData Error: EISDIR: illegal operation on a directory, read
13 silly fetchPackageMetaData     at Error (native)
13 silly fetchPackageMetaData  error for . { Error: EISDIR: illegal operation on a directory, read
13 silly fetchPackageMetaData     at Error (native) errno: -21, code: 'EISDIR', syscall: 'read' }
14 silly rollbackFailedOptional Starting
15 silly rollbackFailedOptional Finishing
16 silly runTopLevelLifecycles Finishing
17 silly install printInstalled
18 verbose stack Error: EISDIR: illegal operation on a directory, read
18 verbose stack     at Error (native)
19 verbose cwd /Users/xxx/Patch2022_Gunbot_v3.2_core_allCPU
20 error Darwin 16.5.0
21 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "-gunbot-monitor"
22 error node v6.10.2
23 error npm  v3.10.10
24 error code EISDIR
25 error errno -21
26 error syscall read
27 error eisdir EISDIR: illegal operation on a directory, read
28 error eisdir This is most likely not a problem with npm itself
28 error eisdir and is related to npm not being able to find a package.json in
28 error eisdir a package you are trying to install.
29 verbose exit [ -21, true ]

Offline finlay1888

  • Rookie
  • *
  • Posts: 6
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #30 on: June 02, 2017, 08:20:23 AM »

Profit is back

You can activate the profit parsing again with the parameter '-P'.

Code: [Select]
gmon -P

Everytime I think of asking for something, its already done!   Really guys great effort with this tool.  Hope you got that LTC contrib.

Offline dobcrypto

  • Contributor
  • **
  • Posts: 196
  • Russian - native language
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #31 on: June 02, 2017, 09:30:53 AM »
I've updated the monitor
Version 0.0.25

Changelog

-    Default timing is 60s now.
-    Handle "EMFILE: too many open files, scandir".
-    Added profit behind the --profit (-P) flag.
-    Highlight 429 errors.



Update

Run
Code: [Select]
npm install -g gunbot-monitor to update/install it on your server.



Profit is back

You can activate the profit parsing again with the parameter '-P'.

Code: [Select]
gmon -P
THIS WILL SLOW DOWN YOUR SYSTEM. Please check your CPU load and increase the refresh time if the CPU load is to high, or do not activate the profit parsing.



Usage

All available options can be displayed with
Code: [Select]
gmon -h

Code: [Select]
  Usage: gmon [options]

  Options:

    -h, --help               output usage information
    -v, --version            output the version number
    -p, --path <path>        Path to the GUNBOT folder
    -c, --compact            Do not draw row lines
    -s, --small              Reduce columns for small screens
    -r, --refresh <seconds>  Seconds between table refresh. Min = 10, max = 600
    -P, --profit             Use to activate the parsing of the profit. I WILL SLOW DOWN YOUR SYSTEM!

You can also combine the options like:

Code: [Select]
gmon -csPr 120 -p /path/to/GB/
BK

All is good with last version. thx!

Offline opedroadami

  • Rookie
  • *
  • Posts: 39
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #32 on: June 03, 2017, 01:26:31 PM »
Really nice work! Especially the PROFIT tab, does the job much easier than Polo and other spreadsheets.

Does it work with BTC-XXX pairs only?

I'm trying to make it work with an AWS VPS running USDT pairs, but it shows only the GUNBOT title and no coins.

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #33 on: June 03, 2017, 05:22:32 PM »
Does it work with BTC-XXX pairs only?

This version yes. There will be an update to support AAA_XXX pairs some day. Don't know when. :)

BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline theboxer

  • Rookie
  • *
  • Posts: 5
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #34 on: June 05, 2017, 12:08:12 PM »
Does the monitor support gunbot 2.0.4? I'm having a bad luck trying to get it working with it, shows no active pairs :/

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #35 on: June 05, 2017, 02:05:45 PM »
Does the monitor support gunbot 2.0.4? I'm having a bad luck trying to get it working with it, shows no active pairs :/
If the log files are similar in v2.0.4 to v3.2 it should work. Are you using the command 'gmon' inside the folder of your log files?

BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline theboxer

  • Rookie
  • *
  • Posts: 5
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #36 on: June 05, 2017, 02:50:43 PM »
Yep, using it inside the folder, but found out the logs have different names... But, I changed the code to support these names and trying to get it working :)

--Update
So it seems that file name isn't the only thing that changed, log structure too, so monitor won't show anything :(
« Last Edit: June 05, 2017, 03:32:23 PM by theboxer »

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #37 on: June 06, 2017, 08:03:53 PM »
Yep, using it inside the folder, but found out the logs have different names... But, I changed the code to support these names and trying to get it working :)

--Update
So it seems that file name isn't the only thing that changed, log structure too, so monitor won't show anything :(

I never used 2.x.
gmon is open source software, so if you like, you can modify the code to work with 2.x.

BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline chrysophylax

  • Rookie
  • *
  • Posts: 6
  • --- ChainWorks Industries ---
    • View Profile
    • --- ChainWorks Industries ---
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #38 on: June 07, 2017, 08:32:44 AM »
great work mate ...

so how can we commission you to create a private one? ...

#crysx
grn - Gfz2cXMkhMZYWSFvLEMnM8bXk7X5Mtq2J2 . exchange - https://www.cryptopia.co.nz/Exchange/?market=GRN_BTC . cwi thread - https://bitcointalk.org/index.php?topic=1563601 . email - crysx@gnxs.com .

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #39 on: June 07, 2017, 11:28:57 AM »
so how can we commission you to create a private one? ...

Sorry, I don't understand. What do you mean with "a private one"?

BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline Klon552

  • Rookie
  • *
  • Posts: 29
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #40 on: June 07, 2017, 03:03:27 PM »
Here a little Tut/Collection for lazy Windows people like me:

1. Install node

https://nodejs.org/en/

(maybe beer-K0in can confirm if the new 8 version works also, i have the last 7 and it works. If you are not sure now: install the 6)


the 8 version works just fine. i tested it

2. Open your CMD (Console) and just type: "npm install -g gunbot-monitor"

and he will install it.

3. To start the bot:

Use your cmd console and go to the gunbot path.  for exampe: C:\Users\XXX\Desktop\GUNBOT_V3.3_ALL_OS

and type: "gmon -P"

now it should work.

Edit(12.07.17):
Because of this problem:
Quote
The current way how gmon counts the number of your trades and your profit is wrong.
https://gunthy.org/index.php?topic=319.0

You can do all your command without the "P" if you want. its also much less hungry for rescources.

If your screen is fucked up try: "gmon -scP" instead.

Edit: I have found a way to make it look good:

Only use "gmon -sP" as command and if you start the cmd just right click on the name/ titlebar and choose properties > Layout. Now you can edit the Window size as you like. Works perfect for me.

Edit2: Sometimes if you only use -sP it looks still confusing. So for some reason you have to start it with "gmon -scP", then again with "gmon -sP". At least in my case.


4. Update Bot:

Simply type "npm install -g gunbot-monitor" in your cmd and the update will be installed.



You can also make a bat file and start it from your Desktop:

1. Open a text file in your gunbotfolder

2. Type:
Code: [Select]
@echo off

gmon -sP

or

Code: [Select]
@echo off

gmon -P

Rename .txt to .bat and just right click on the file and move it to your desktop and select: "Create shortcut here"

_________________________________

I will edit this post if something new will happen. This is like a reminder for myself, because in chat some infos vanishes very fast.

Beer K0in suggested to try Cmder. It's an enhanced console emulator and can replace the normal cmd.

http://cmder.net/

Edit: with the possibility to change the window size in win, there is imo no need for it anymore.

(THX Beer K0in, Andrew Sidorkin)
« Last Edit: July 12, 2017, 04:17:31 PM by Klon552 »

Offline chrysophylax

  • Rookie
  • *
  • Posts: 6
  • --- ChainWorks Industries ---
    • View Profile
    • --- ChainWorks Industries ---
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #41 on: June 08, 2017, 08:46:30 AM »
so how can we commission you to create a private one? ...

Sorry, I don't understand. What do you mean with "a private one"?

BK

building something similar to this ( console ) but for our own internal use ... private - not gpl ...

thats what i meant :) ...

btw - after a period of time ( could be minutes or hours ) the console crashes - but the trades are still running in the backend ... the following are the runnign conditions ...

- os is centos 7 x64 ...
- installs for npm / nodejs is via centos 7 repos ( or epel ) ...
- console runs and displays as it should - but crashes after an unspecified time ...

gmon has to be reactivated via the commandline to restart ...

there is no reason given in the console why it has abruptly stopped ...

also - ALL the bot specs ( .js ) need to be in the one directory for this to work well - where we have each pair in a different directories for logistics sakes ... is there a way to inform this package of the different directories? ... or must they all be bundled into one directory as they are now? ...

btw - this is an awesome package you have designed ...

#crysx
« Last Edit: June 08, 2017, 09:01:57 AM by chrysophylax »
grn - Gfz2cXMkhMZYWSFvLEMnM8bXk7X5Mtq2J2 . exchange - https://www.cryptopia.co.nz/Exchange/?market=GRN_BTC . cwi thread - https://bitcointalk.org/index.php?topic=1563601 . email - crysx@gnxs.com .

Offline nixxda

  • Rookie
  • *
  • Posts: 17
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #42 on: June 08, 2017, 08:53:14 AM »
as I just said on Telegram
"gmon is fucking greate ;D "
Tip on the way!-)

Offline Alex_13

  • Rookie
  • *
  • Posts: 7
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #43 on: June 08, 2017, 10:23:09 AM »
"gmon is fucking greate ;D "

Absolutely agree ))

What about little improvement? Hide no active logs (~ 1 hour no activity) It will be no nessesary to delete *-log files on disabled coins  :)

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #44 on: June 08, 2017, 11:37:55 AM »
"gmon is fucking greate ;D "
Tip on the way!-)

Absolutely agree ))

Thank you!  8)



Hide no active logs (~ 1 hour no activity) It will be no nessesary to delete *-log files on disabled coins  :)

I've put it on the wishlist.  ;)

BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #45 on: June 09, 2017, 01:12:50 PM »
gmon update
Version 0.0.31

Changelog

- Displays market in front of pair name.
- Displays strategy per pair.
- 422's are hidden behind the --show-all-errors flag.
- Hide inactive trade pairs with the --hide-inactive option.
- Set amount of displayed digits with the --digits (-d) option.
- Improved # Buys and # Sells alignment.
- Renamed last colum to "Errors"



Update

Run
Code: [Select]
npm install -g gunbot-monitor to update/install it on your server.



422's are hidden

You can activate the display of all errors again with the parameter '--show-all-errors'.

Code: [Select]
gmon --show-all-errors


Hide inactive trade pairs

You can hide inactive bots from the list with the parameter '--hide-inactive <hours>'. This will not show pairs who's last log entry is older than <hours> hours.

Code: [Select]
gmon --hide-inactive 3


Set amount of displayed digits

You can set the amount of digits with the parameter '-d <digits>'. This will effect all numbers.
Example:
'-d 2' --> 0.12
'-d 8' --> 0.12345678

Code: [Select]
gmon -d 6


Usage

All available options can be displayed with
Code: [Select]
gmon -h

Code: [Select]
  Usage: gmon [options]

  Options:

    -h, --help               output usage information
    -v, --version            output the version number
    -p, --path <path>        Path to the GUNBOT folder. [Default: current folder]
    -c, --compact            Do not draw row lines
    -s, --small              Reduce columns for small screens
    -d, --digits <digits>    Amount of digits for all numbers. Min = 0, max = 10. [Default: 4]
    -r, --refresh <seconds>  Seconds between table refresh. Min = 10, max = 600. [Default: 60]
    -P, --profit             Use to activate the parsing of the profit. I WILL SLOW DOWN YOUR SYSTEM!
    --hide-inactive <hours>  Hides trading pairs which las log entry is older than given hours. Min = 1, max = 854400. [Default: 720]
    --show-all-errors        Use to list 422 errors in the last column.

You can also combine the options like:

Code: [Select]
gmon -csPr 120 -p /path/to/GB/ --hide-inactive 1 -d 3
BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline densmirnov

  • Rookie
  • *
  • Posts: 7
    • View Profile
    • densmirnov.com
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #46 on: June 09, 2017, 02:06:09 PM »
gmon update
Version 0.0.31

.snip

Amazing! Works like charm! Thanks a lot!

Offline dobcrypto

  • Contributor
  • **
  • Posts: 196
  • Russian - native language
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #47 on: June 09, 2017, 02:08:40 PM »
gmon update
Version 0.0.31
Changelog
- Displays market in front of pair name.
- Displays strategy per pair.
Cant see strategy per pair.
Market in front of pair name i see =)

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #48 on: June 09, 2017, 02:32:54 PM »
Cant see strategy per pair.

Do you use the '-s' parameter? The strategy is hidden in the small version.

BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline Alex_13

  • Rookie
  • *
  • Posts: 7
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #49 on: June 09, 2017, 06:37:20 PM »

Offline opedroadami

  • Rookie
  • *
  • Posts: 39
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #50 on: June 09, 2017, 08:05:25 PM »
Really nice work, and the constant updates keep adding more and more useful features!

One question I have is that my monitor stops working after a while. Sometimes only after a couple minutes, sometimes it keeps on updating from 4-5 hours. But it will eventually stop, and the way I check it is by looking at the server time on the upper left of the monitor.

 Is it a bug, a limitation of mine or something else? I'm running it through cmd with WinServ2016.

Offline dobcrypto

  • Contributor
  • **
  • Posts: 196
  • Russian - native language
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #51 on: June 09, 2017, 08:30:22 PM »
Cant see strategy per pair.

Do you use the '-s' parameter? The strategy is hidden in the small version.

BK
Oh... clear now.

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #52 on: June 09, 2017, 09:57:59 PM »
Is it a bug, a limitation of mine or something else? I'm running it through cmd with WinServ2016.

Maybe you lost connection to your server?

BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline opedroadami

  • Rookie
  • *
  • Posts: 39
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #53 on: June 10, 2017, 12:22:12 AM »
Is it a bug, a limitation of mine or something else? I'm running it through cmd with WinServ2016.

Maybe you lost connection to your server?

BK

I don't think so, I'm using a Contabo VPS and never experienced a lost connection before. But I will check it.

Could this be a Windows cmd issue?

Either way, the cmd window stays there so with 2 commands I can set up the monitor again so it really isn't that big of an issue.

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #54 on: June 10, 2017, 01:41:02 AM »
Either way, the cmd window stays there so with 2 commands I can set up the monitor again so it really isn't that big of an issue.

Why 2 commands? What are those 2? The 2nd would be 'gmon', but whats the first one?  :)

BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline orthanc

  • Rookie
  • *
  • Posts: 2
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #55 on: June 10, 2017, 08:00:58 AM »
Hi,

Gmon is a great tool, thanks :)

Is there a way to make gmon include manual sells into -P option? I'm ok with adding lines into trade or general log :) I even tried without success :)

Offline opedroadami

  • Rookie
  • *
  • Posts: 39
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #56 on: June 10, 2017, 08:15:08 PM »
Either way, the cmd window stays there so with 2 commands I can set up the monitor again so it really isn't that big of an issue.

Why 2 commands? What are those 2? The 2nd would be 'gmon', but whats the first one?  :)

BK

CTRL+C to close the frozen monitor is the first one.

I also like to use cls just to keep things fresh :D

Offline topvmax

  • Rookie
  • *
  • Posts: 9
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #57 on: June 11, 2017, 08:26:04 AM »
hi, is there a possibility, parameter, to close the old task and open a new one in the Batch.
Cant use Taskill, be course the PID changes .
thanks
Minexcoin — A new era of payments || ICO || DISCUSSION

Offline Beachguy

  • Rookie
  • *
  • Posts: 23
  • Former Gunbot Reseller
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #58 on: June 11, 2017, 01:33:59 PM »
This is a pretty amazing evolution of the first gmon.....Thanks for your continuing work.
You get a five beachguy rating  8) 8) 8) 8) 8)

Offline pipks

  • Rookie
  • *
  • Posts: 5
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #59 on: June 11, 2017, 09:34:46 PM »
hi,
i want to updated but update command don't work.
i use v.0.0.27

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #60 on: June 12, 2017, 10:42:57 AM »
hi, is there a possibility, parameter, to close the old task and open a new one in the Batch.
Cant use Taskill, be course the PID changes .

Can you explain a little bit more?



i want to updated but update command don't work.

What command did you use?
What error did you get?



You get a five beachguy rating  8) 8) 8) 8) 8)

:D



Is there a way to make gmon include manual sells into -P option? I'm ok with adding lines into trade or general log :) I even tried without success :)

You need to add a line like this to the file market-BTC_XXX-log.txt:
Code: [Select]
2017/06/12 09:02:28 Profit 0.0014662869891060035


BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline AllYourBaseRBelong2Us

  • Rookie
  • *
  • Posts: 8
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #61 on: June 14, 2017, 04:26:59 AM »
gmon update
Version 0.0.31

Changelog

- Displays market in front of pair name.
- Displays strategy per pair.
- 422's are hidden behind the --show-all-errors flag.
- Hide inactive trade pairs with the --hide-inactive option.
- Set amount of displayed digits with the --digits (-d) option.
- Improved # Buys and # Sells alignment.
- Renamed last colum to "Errors"

You sir, are a genius, and this summary view of Gunbot activity and progress is indispensable.  I have it running on my Windows VPS and this is the most watched window I have in ANYTHING I do, work or personal.

A couple of very minor suggestions for future consideration:

- Have "Available Bitcoins" display either total for all exchanges being shown, or per exchange.  I am running Polo and Bittrex and the total shown is only for Polo (I think, they're about the same balance).

- Maybe next to "Available Bitcoins" show either a percent utilized or percent available compared to Total in BTC currently in other coins listed.  I'm constantly doing that quick mental math to see if I need to adjust my "Max Balance to Trade" numbers up or down to fully utilize available BTC.  As a bonus, showing average BTC utilization over last 24 hours (or since monitor was started, whichever is easier).

- When there is more than one exchange being used, have a subtotal per exchange so you can see how one is doing compared to the other.  A simple "P TOTAL" line under the Polo grouping and "B TOTAL" line under the Bittrex grouping, etc, with grand totals still at bottom.

- Consider adding Strategy to the small view.  It is very narrow and really the only missing piece of info I find myself constantly going back to Gunbot to look up (when you're watching 20-30 pairs or more).

Thanks for your awesome contribution and an invaluable tool!

- Chris OCC

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #62 on: June 14, 2017, 09:56:40 AM »
You sir, are a genius, and this summary view of Gunbot activity and progress is indispensable.  I have it running on my Windows VPS and this is the most watched window I have in ANYTHING I do, work or personal.

Thank you. Glad gmon helps you.  8)

I've added you suggestions to the wishlist: https://github.com/BeerK0in/gunbot-monitor/issues/15

BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline dyvosvit

  • Rookie
  • *
  • Posts: 30
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #63 on: June 14, 2017, 10:50:20 AM »
What's new in
"Version 0.0.32"?

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #64 on: June 14, 2017, 10:56:47 AM »
What's new in
"Version 0.0.32"?

Just a small fix if you have more than one similar entry in the trades-log. Does not really fix the issue of counting sells which are not executed at the exchange market. So there was just a small hint in the Telegram group about v0.0.32.

BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline pipks

  • Rookie
  • *
  • Posts: 5
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #65 on: June 14, 2017, 08:01:58 PM »
Hello,
Is there a way to automatically close the screen for inactive trade pairs?

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #66 on: June 14, 2017, 08:12:41 PM »
Is there a way to automatically close the screen for inactive trade pairs?

Depends on what "automatically" means to you.
You can start gmon with the --hide-inactive <hours> paramenter:

Code: [Select]
--hide-inactive <hours>  Hides trading pairs which last log entry is older than given hours. Min = 1, max = 854400. [Default: 720]

BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline pipks

  • Rookie
  • *
  • Posts: 5
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #67 on: June 14, 2017, 08:35:41 PM »
Depends on what "automatically" means to you.
You can start gmon with the --hide-inactive <hours> paramenter:

i want to automatically kill screen.

i use ubuntu and guncontrol

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #68 on: June 14, 2017, 10:02:02 PM »
i use ubuntu and guncontrol

Wrong thread. Please ask your question here: https://gunthy.org/index.php?topic=278

BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline pipks

  • Rookie
  • *
  • Posts: 5
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #69 on: June 14, 2017, 11:38:47 PM »

Offline chrysophylax

  • Rookie
  • *
  • Posts: 6
  • --- ChainWorks Industries ---
    • View Profile
    • --- ChainWorks Industries ---
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #70 on: June 20, 2017, 11:35:34 AM »
Is it a bug, a limitation of mine or something else? I'm running it through cmd with WinServ2016.

Maybe you lost connection to your server?

BK

I don't think so, I'm using a Contabo VPS and never experienced a lost connection before. But I will check it.

Could this be a Windows cmd issue?

Either way, the cmd window stays there so with 2 commands I can set up the monitor again so it really isn't that big of an issue.

it does this on occasion in linux also ( centos 7 x64 ) ...

so you are not alone with this ... read back on my posts earlier - which seem to have been ignored ...

with centos 7 - its as simple as writing a small script to restart the service - but im guessing this is just as simple in a windows system also ...

its a superb piece of code - and will upgrade now to the latest version ...

tanx beer ...

#crysx
grn - Gfz2cXMkhMZYWSFvLEMnM8bXk7X5Mtq2J2 . exchange - https://www.cryptopia.co.nz/Exchange/?market=GRN_BTC . cwi thread - https://bitcointalk.org/index.php?topic=1563601 . email - crysx@gnxs.com .

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #71 on: June 20, 2017, 02:07:46 PM »
read back on my posts earlier - which seem to have been ignored ...

Sorry, I missed that post.  :(



so how can we commission you to create a private one? ...
Sorry, I don't understand. What do you mean with "a private one"?
building something similar to this ( console ) but for our own internal use ... private - not gpl ...

gmon is licensed under the MIT license. So you are free to do what ever you want with it:
https://github.com/BeerK0in/gunbot-monitor/blob/master/LICENSE



- os is centos 7 x64 ...
there is no reason given in the console why it has abruptly stopped ...

Never did tests on centOS. Will do some in the future. There are also coming some fixes to gmon with to much open files. Maybe that will also fix your problems.



also - ALL the bot specs ( .js ) need to be in the one directory for this to work well - where we have each pair in a different directories for logistics sakes ... is there a way to inform this package of the different directories? ... or must they all be bundled into one directory as they are now? ...

There will be an update which allows scanning multiple folders. I hope end of this week.

BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #72 on: June 20, 2017, 03:30:07 PM »
The current way how gmon counts the number of your trades and your profit is wrong. What you see is the number of TRIES of trades, not the real trades.

So please read those values as "ah, Gunbot is doing something" - but your actual number of trades and your actual profit is lower than those!

Not sure if there is a performant way of reading only the successful trades from the log. The way to go is to read this from the markets. There is something on the horizon - but for now:
Please ignore "# Buys", "1 6 h d +", "# Sells", "1 6 h d +" and "Profit" values in gmon.

BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline dcb942

  • Rookie
  • *
  • Posts: 16
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #73 on: June 21, 2017, 04:01:51 AM »
How do you use pm2 and why is there nothing in that field for me?

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #74 on: June 21, 2017, 08:35:18 AM »
How do you use pm2 and why is there nothing in that field for me?

1. The field is empty if there is no pm2 process with the pair name.
2. I use the generator (https://gunthy.org/index.php?topic=277.0) to start Gunbot as pm2 process.


BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline infebious

  • Rookie
  • *
  • Posts: 8
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #75 on: June 21, 2017, 08:26:44 PM »
Gmon crashes after a couple hours of running, this error appears and I don't know how to fix it.  Running on Ubuntu, 71% memory used, 6% CPU load, 12 pairs on Polo.  I am able to restart gmon, but it will crash again in a couple hours;

events.js:163
      throw er; // Unhandled 'error' event
      ^

Error: spawn netstat EMFILE
    at exports._errnoException (util.js:1050:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
    at onErrorNT (internal/child_process.js:367:16)
    at _combinedTickCallback (internal/process/next_tick.js:80:11)
    at process._tickCallback (internal/process/next_tick.js:104:9)

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #76 on: June 22, 2017, 12:14:00 AM »
Gmon crashes after a couple hours of running, this error appears and I don't know how to fix it.

I just released v0.0.33 - it should be fixed now.

Run this to update gmon on your VPS:
Code: [Select]
npm install -g gunbot-monitor


BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline Diesel

  • Rookie
  • *
  • Posts: 16
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #77 on: June 22, 2017, 11:43:07 PM »
1st: LOVE this!
2nd: YES, build a web display for this sucker, people will probably buy (I would).  I do see someone has a webgui out there, but I'm not willing to buy it sight unseen. And I'm not sure I need all those features, just a display.
3rd: What would it take to group (sort) the coins we are holding vs the coins waiting to buy? This would make it much easier to keep an eye on trends for buy vs sell.... just a thought.

Keep up the good work! Also - where do we send beer?

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #78 on: June 23, 2017, 08:49:48 PM »
2nd: YES, build a web display for this sucker, people will probably buy (I would).
3rd: What would it take to group (sort) the coins we are holding vs the coins waiting to buy?

I put it on the wishlist.
https://github.com/BeerK0in/gunbot-monitor/issues/15



Keep up the good work! Also - where do we send beer?

Thanks! BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #79 on: June 23, 2017, 08:58:32 PM »
gmon update
Version 0.0.37

Changelog

- Monitor multiple folders.
- Shortcut parameter for --hide-inactive and --show-all-errors (-H and -E).
- Fixed Bug "netstat ENFILE" (thx to Jeff B).
- Adding Strategy column to the small view (-s).
- Fixed NaN bug for bittrex logs.
- Displays available BTC for all markets.
- Added connection gauges for bittrex and kraken.
- Connections gauges are only visible if there are pairs for those markets.



Update

Run
Code: [Select]
npm install -g gunbot-monitor to update/install it on your server.



Monitor multiple folders

You can monitor multiple folders now. Use the -p parameter and separate the paths by colons.

Code: [Select]
gmon -p /path/to/the/logs:/another/path:a/relative/path


Usage

All available options can be displayed with
Code: [Select]
gmon -h

Code: [Select]
  Usage: gmon [options]

  Options:

    -h, --help                   Output usage information
    -v, --version                Output the version number
    -p, --path <path>            Path to the GUNBOT folder. Separate multiple paths with ":" (like: -p /path1:/path2). [Default: current folder]
    -c, --compact                Do not draw row lines
    -s, --small                  Reduce columns for small screens
    -d, --digits <digits>        Amount of digits for all numbers. Min = 0, max = 10. [Default: 4]
    -r, --refresh <seconds>      Seconds between table refresh. Min = 10, max = 600. [Default: 60]
    -P, --profit                 Use to activate the parsing of the profit. THIS WILL SLOW DOWN YOUR SYSTEM!
    -H, --hide-inactive <hours>  Hides trading pairs which las log entry is older than given hours. Min = 1, max = 854400. [Default: 720]
    -E, --show-all-errors        Use to list 422 errors in the last column.

You can also combine the options like:

Code: [Select]
gmon -csPr 120 -p /path/to/GB/:another/path --hide-inactive 1 -d 3 -E


Support & Tips

You like gmon and it helps you earning money?

- Report bugs in this forum thread or via pm in Telegram at @BeerK0in
- Support gmon and send a tip to BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT


BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline ajg

  • Rookie
  • *
  • Posts: 12
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #80 on: June 24, 2017, 05:15:15 AM »
Hi and Thankyou for the fantastic work on gunbot monitor.  It's a truly brilliant tool! 

Question though, on several pairs I keep getting messages saying "No LP found".  What causes this and what does it mean?  BTW I'm using Poloniex so I'm suffering with the 422 errors a lot and I'm running about 50 pairs. 

Thanks

Offline Diesel

  • Rookie
  • *
  • Posts: 16
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #81 on: June 24, 2017, 06:00:00 AM »
Beer money on the way! Get something good, none of that IPA crap.

Offline DiCE1904

  • Rookie
  • *
  • Posts: 4
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #82 on: June 24, 2017, 06:45:09 AM »
Getting this strange thing going on now with the monitor with nothing showing


Offline agis

  • Rookie
  • *
  • Posts: 16
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #83 on: June 24, 2017, 07:57:56 AM »
Getting this strange thing going on now with the monitor with nothing showing

Specify the path using -p, or start gmon from within the directory where the Gunbot files are

Offline opedroadami

  • Rookie
  • *
  • Posts: 39
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #84 on: June 24, 2017, 12:06:05 PM »
Really enjoying this new version.

I would really like to see support for ETH and USDT pairs!

Also, when there is 0 available BTC, I noticed that there is simply no message ("Available BTC: --blank--") instead of a more meaningful "Available BTC: 0.0".


Offline DiCE1904

  • Rookie
  • *
  • Posts: 4
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #85 on: June 24, 2017, 02:33:21 PM »
Getting this strange thing going on now with the monitor with nothing showing

Specify the path using -p, or start gmon from within the directory where the Gunbot files are

That did the trick! thanks

Offline Diesel

  • Rookie
  • *
  • Posts: 16
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #86 on: June 24, 2017, 04:52:48 PM »
For everyone wishing we had a way to view our GMON via a browser, I found this:
https://chrome.google.com/webstore/detail/secure-shell/pnhechapfaindjhompbnflcldabbghjo

Secure SSH connections via a Chrome app.  Once I had it set up with font sizes correctly, I now have a link saved to open the app, and can keep GMON running  in my browser. That means I can run it from any chrome browser I can log into from any location/device, which is my goal...  8)


I also found this: https://github.com/yudai/gotty

For setting up an actual TTY to web service on the machine.  I'm too lazy to get it running, but it seems appropriate for GMON, if anyone wants to take a whack at getting it running. I get that most people probably aren't as obsessed as I am about seeing my bots via the web... but some are :)
« Last Edit: June 25, 2017, 04:57:43 PM by Diesel »

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #87 on: June 25, 2017, 11:47:39 PM »
Question though, on several pairs I keep getting messages saying "No LP found".  What causes this and what does it mean?  BTW I'm using Poloniex so I'm suffering with the 422 errors a lot and I'm running about 50 pairs. 

Check the last 55 lines of the logs of that pair. gmon only reads the last 55, so if there are only errors, it can not useful data to display.



Beer money on the way! Get something good, none of that IPA crap.

Thanks! I don't like IPA that much.  8)



I would really like to see support for ETH and USDT pairs!
Also, when there is 0 available BTC, I noticed that there is simply no message ("Available BTC: --blank--") instead of a more meaningful "Available BTC: 0.0".

Could you check the next version. v0.0.38 should work with ETH and USDT now.
Code: [Select]
npm install -g gunbot-monitor


Secure SSH connections via a Chrome app.  Once I had it set up with font sizes correctly, I now have a link saved to open the app, and can keep GMON running  in my browser. That means I can run it from any chrome browser I can log into from any location/device, which is my goal...  8)

Nice one!


BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline djkaltenudel

  • Rookie
  • *
  • Posts: 2
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #88 on: June 26, 2017, 07:25:11 AM »
Hi BK, nice work with gmon :) Is it possible to change the buy/sell prices to BTC instead of USD?

Edit: we cleared that in telegram, was probably not really awake  ;D
« Last Edit: June 26, 2017, 10:02:33 AM by djkaltenudel »

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #89 on: June 26, 2017, 08:51:05 AM »
Hi BK, nice work with gmon :) Is it possible to change the buy/sell prices to BTC instead of USD?

All prices are in BTC.


BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline Nigredo

  • Rookie
  • *
  • Posts: 4
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #90 on: June 26, 2017, 02:45:44 PM »
I am experiencing a strange problem with the monitor lately.

When I start it everything seems to be fine. After that, the monitor is not really updated: The time displayed in the "LL" column continues to increase, indicating that the monitor is not accessing the last log available. If I open the logs in the /opt/gunbot folder manually (using vim, for instance) I can see that everything is up to date and the logs are being correctly written to the files. gmon is being called from the correct folder.

Offline nmn

  • Rookie
  • *
  • Posts: 2
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #91 on: June 26, 2017, 03:02:49 PM »
Trying to update gmon. Is there any trouble with this warning ? Thank you!

root@vultr:/opt/gunbot# npm install -g gunbot-monitor
npm WARN deprecated fs-promise@0.5.0: Use mz or fs-extra^3.0 with Promise Support
/usr/bin/gmon -> /usr/lib/node_modules/gunbot-monitor/src/index.js
- read-last-lines@1.1.2 node_modules/gunbot-monitor/node_modules/read-last-lines
/usr/lib
└─┬ gunbot-monitor@0.0.38
  └── commander@2.10.0

Offline Nigredo

  • Rookie
  • *
  • Posts: 4
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #92 on: June 26, 2017, 03:04:55 PM »
This is what I get:

root@Gunbot:/opt/gunbot# npm install -g gunbot-monitor
npm WARN deprecated fs-promise@0.5.0: Use mz or fs-extra^3.0 with Promise Support
/usr/bin/gmon -> /usr/lib/node_modules/gunbot-monitor/src/index.js
/usr/lib
└── gunbot-monitor@0.0.38


There is no mention of "commander@2.10.0".

Offline Nigredo

  • Rookie
  • *
  • Posts: 4
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #93 on: June 26, 2017, 03:27:37 PM »
Ok, it looks like this happens only when I call gmon with the -P option enabled. Probably a bug of the "profit" option then (the monitor says that "-P" is bugged, but I though that this would influence only the displayed profit and not the rest too).
« Last Edit: June 26, 2017, 04:20:11 PM by Nigredo »

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #94 on: June 27, 2017, 01:21:55 AM »
Ok, it looks like this happens only when I call gmon with the -P option enabled. Probably a bug of the "profit" option then (the monitor says that "-P" is bugged, but I though that this would influence only the displayed profit and not the rest too).

As mentioned in the first post and in gmon -h:
Code: [Select]
-P, --profit                 Use to activate the parsing of the profit. THIS WILL SLOW DOWN YOUR SYSTEM!
So only run -P if you have a fast system, because it parses your whole files.



Trying to update gmon.

And you successfully did. Ignore those warnings.


BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline cz3kit

  • Rookie
  • *
  • Posts: 5
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #95 on: June 27, 2017, 10:36:15 AM »
I tried to start the monitor today but I get the following error:

Code: [Select]
Version 0.0.38  |  Refresh interval 60s  |  Currently there is a bug in the calculated number of trades and the profit - don't rely on it.
/usr/lib/node_modules/gunbot-monitor/src/modules/netData.js:19
    this.connectionsHistory[market].shift();
                                   ^

TypeError: Cannot read property 'shift' of undefined
    at NetData.addToConnectionsHistory (/usr/lib/node_modules/gunbot-monitor/src/modules/netData.js:19:36)
    at NetData.calculateConnections (/usr/lib/node_modules/gunbot-monitor/src/modules/netData.js:63:14)
    at Timeout.interval.setInterval [as _onTimeout] (/usr/lib/node_modules/gunbot-monitor/src/modules/netData.js:38:44)
    at ontimeout (timers.js:386:14)
    at tryOnTimeout (timers.js:250:5)
    at Timer.listOnTimeout (timers.js:214:5)


Anything I can do or do I have to wait? This happens the first time and has not happened earlier :(

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #96 on: June 27, 2017, 11:08:28 AM »
I tried to start the monitor today but I get the following error

Thank you for reporting that error. I just released a bugfix for this:

Run
Code: [Select]
npm install -g gunbot-monitorto update gmon on your server to version v.0.0.39


BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline cz3kit

  • Rookie
  • *
  • Posts: 5
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #97 on: June 27, 2017, 02:08:41 PM »
Great, it works now. Thank you.

Offline Defpro

  • Rookie
  • *
  • Posts: 2
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #98 on: June 27, 2017, 05:40:20 PM »
Is there a way to reset the monitor? It shows the old pairs that i don't use anymore

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #99 on: June 28, 2017, 11:19:28 AM »
Is there a way to reset the monitor? It shows the old pairs that i don't use anymore

Delete all files from your gunbot folder for those coins.
Or use parameter -H:

Code: [Select]
-H, --hide-inactive <hours>  Hides trading pairs which last log entry is older than given hours. Min = 1, max = 854400. [Default: 720]
BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline cz3kit

  • Rookie
  • *
  • Posts: 5
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #100 on: June 29, 2017, 08:49:10 AM »
Code: [Select]
Version 0.0.39  |  Refresh interval 60s  |  Currently there is a bug in the calculated number of trades and the profit - don't rely on it.

Error: spawn ENOMEM


This is the error I am currently getting. Not sure why I am getting it. Any idea?

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #101 on: June 29, 2017, 01:10:03 PM »
This is the error I am currently getting. Not sure why I am getting it. Any idea?

Your machine is running out of memory.

BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline cz3kit

  • Rookie
  • *
  • Posts: 5
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #102 on: June 29, 2017, 05:14:32 PM »
Oh wow. Ok. I guess need to stop a pair or something :D Thx

Offline chrysophylax

  • Rookie
  • *
  • Posts: 6
  • --- ChainWorks Industries ---
    • View Profile
    • --- ChainWorks Industries ---
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #103 on: June 30, 2017, 12:31:24 PM »
or not ...

you could setup a means of swapping - if your machine / vps is powerful or quick enough ...

#crysx
« Last Edit: June 30, 2017, 12:40:16 PM by chrysophylax »
grn - Gfz2cXMkhMZYWSFvLEMnM8bXk7X5Mtq2J2 . exchange - https://www.cryptopia.co.nz/Exchange/?market=GRN_BTC . cwi thread - https://bitcointalk.org/index.php?topic=1563601 . email - crysx@gnxs.com .

Offline kobalt

  • Rookie
  • *
  • Posts: 22
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #104 on: July 01, 2017, 06:16:12 PM »
Heya love Gunbot Monitor.

I'm trying to write a script to watch two folders (on Windows Server 2016) separating the folders like this, results in an error because of the colons:

@echo off

gmon -p C:\Users\Administrator\Documents\Bittrex GUNBOT_v3.3.2:C:\Users\Administrator\Documents\Bittrex GUNBOT_v3.3.2

What is the correct way to enter file path in a windows environment?

Also reducing the refresh interval doesn't seem to work, it starts but it will not display any pairs.
Edit: adding a space between -sP made gmon -c -s P -r 10 -H 3 -E work
Edit2 The refresh rate worked but Price wasn't shown anymore, after some shuffling gmon P -c -s -r 10 -H 3 -E did the trick... :) but.... not for a lot of pairs somehow on polo with proxy....
« Last Edit: July 01, 2017, 11:01:45 PM by kobalt »

Offline opedroadami

  • Rookie
  • *
  • Posts: 39
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #105 on: July 01, 2017, 10:58:38 PM »
Hi, I'm trying to write a script to watch two folders (on Windows Server 2016) separating the folders like this, results in an error because of the colons:

@echo off

gmon -p C:\Users\Administrator\Documents\Bittrex GUNBOT_v3.3.2:C:\Users\Administrator\Documents\Bittrex GUNBOT_v3.3.2

What is the correct way to enter file path in a windows environment?

Try

Code: [Select]
@echo off

cd C:\Users\Administrator\Documents

gmon -p /insert_first_file_path_here:/insert_second_file_path_here

Offline kobalt

  • Rookie
  • *
  • Posts: 22
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #106 on: July 02, 2017, 06:08:10 AM »
That is an excellent suggestion!  ;D

Btw somehow the P price and -E are connected somehow, i now get the error field when tying to get back the Profit field ( know it isn't accurate but it's motivation none the less  ;D  when i use say -c -s P -r 10 -H 3 theres no price field but do get a free error field ;)

let's see if it behaves better when i link these folders.
Will let you know what worked.

Mmmm im getting frustrated your idea looked perfect but no it gives: https://www.dropbox.com/s/02lzokiv2hfji5r/Screenshot%202017-07-02%2007.29.51.png?dl=0

with: @echo off

cd C:\Users\Administrator\Documents

gmon -p \PoloniexGUNBOT\gunbotProxy1.4\gunbotProxySettings1.2\gunbot:BittrexGUNBOT -c -sP -r 20 -H 3 -E

will try a single folder first perhaps... :-\

« Last Edit: July 02, 2017, 06:41:29 AM by kobalt »

Offline opedroadami

  • Rookie
  • *
  • Posts: 39
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #107 on: July 02, 2017, 02:20:48 PM »
That is an excellent suggestion!  ;D

Btw somehow the P price and -E are connected somehow, i now get the error field when tying to get back the Profit field ( know it isn't accurate but it's motivation none the less  ;D  when i use say -c -s P -r 10 -H 3 theres no price field but do get a free error field ;)

let's see if it behaves better when i link these folders.
Will let you know what worked.

Mmmm im getting frustrated your idea looked perfect but no it gives: https://www.dropbox.com/s/02lzokiv2hfji5r/Screenshot%202017-07-02%2007.29.51.png?dl=0

with: @echo off

cd C:\Users\Administrator\Documents

gmon -p \PoloniexGUNBOT\gunbotProxy1.4\gunbotProxySettings1.2\gunbot:BittrexGUNBOT -c -sP -r 20 -H 3 -E

will try a single folder first perhaps... :-\

You have to use the backslash (\) for the cd command but the slash (/) to specify the paths on the "gmon -p" line, the way beer-k0in showed us on the release notes.

So your code would become

Quote
@echo off

cd C:\Users\Administrator\Documents

gmon -p /PoloniexGUNBOT/gunbotProxy1.4/gunbotProxySettings1.2/gunbot:/BittrexGUNBOT -c -sP -r 20 -H 3 -E

Offline krixt

  • Rookie
  • *
  • Posts: 38
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #108 on: July 05, 2017, 11:09:36 PM »
Please provide an option to turn off the color. Or to invert the major colors. I run a white-background terminal and I cannot read the monitor with all that yellow and blue. Thanks!

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #109 on: July 05, 2017, 11:56:18 PM »
Please provide an option to turn off the color. Or to invert the major colors. I run a white-background terminal and I cannot read the monitor with all that yellow and blue. Thanks!

I'll add it to the wishlist.
In the meantime: Most terminal apps allow you to set profiles with individual color settings. So you can create a new profile and change the colors the way you like it:



BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline kenseo83

  • Rookie
  • *
  • Posts: 1
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #110 on: July 08, 2017, 08:50:09 AM »
hi

i  would like to know how to uninstall this?

Offline criptonauta

  • Contributor
  • **
  • Posts: 137
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #111 on: July 10, 2017, 03:04:24 AM »
hi

i  would like to know how to uninstall this?

npm -g uninstall gunbot-monitor
   ✔ FAST, APPROVED AND EASY Escrow for used GunBot licenses @ 5% ..:..Gunbot licenses 10% off: 'Criptonauta_Gun' code. | Tuning, Custom Strats | No VPS? Get yours here   ✔

Offline Moondust

  • Rookie
  • *
  • Posts: 13
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #112 on: July 10, 2017, 10:59:47 AM »
Verry nice to monitor it !

But, i am running it on my Laptop just now and switch today to my Windows VPS.
Is there a Way to see the Monitor in a Website from my W-VPS ? I have always poor Internet Connection and
cant open always remote to watch.

it would be nice if the Monitor can showing in a Website :-)


Greetings

Moondust

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #113 on: July 10, 2017, 11:02:41 AM »
it would be nice if the Monitor can showing in a Website :-)

It's on the wishlist. Maybe some day. :)


BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline Moondust

  • Rookie
  • *
  • Posts: 13
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #114 on: July 10, 2017, 11:07:01 AM »

It's on the wishlist. Maybe some day. :)


BK

i wish some day is tomorrow.... hahaha

Offline Diesel

  • Rookie
  • *
  • Posts: 16
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #115 on: July 10, 2017, 06:07:25 PM »
For a website version, you can run Secure SSH, a chrome extension that gives you nice terminal via website.  Chrome only though....

Offline PeWi

  • Rookie
  • *
  • Posts: 10
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #116 on: July 11, 2017, 05:25:20 PM »
Small screens

You can run the monitor on small screens now with the parameters '-c' or '-s' or both '-c -s'.

Code: [Select]
gmon -c

A minor suggestion for the compact mode (-c):

It's not as easy to follow the lines at 20 currencies without the lines.

It would be very helpful, if GMON had a second compact option, which prints a line every 5 or 7 currencies. This would still be a very compact screen, but the eye would have a few helper lines to keep right.

PeWi
« Last Edit: July 11, 2017, 06:02:13 PM by PeWi »

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #117 on: July 12, 2017, 12:21:09 AM »
gmon update
Version 0.0.41

Changelog

- Bugfix: Calculate total price diff percentage correctly.
- Bugfix: Hide function (-H) works now.
- Added a option to --compact mode to set a groupSize to draw lines.
- Reduced minimum allowed refresh rate to 1s (down from 10s).
- Added a option to specify which markets are shown.



Update

Run
Code: [Select]
npm install -g gunbot-monitor to update/install it on your server.



Group lines in compact mode

You can set a optional number after the -c parameter now, to group the rows and draw a line after that many rows.

Code: [Select]
gmon -c 3This will draw a line after every 3rd row.



Set markets to monitor

You can set the markets you want to monitor now. The parameter is --markets (-m). Separate multiple markets with ":"

Code: [Select]
gmon -m poloniex:krakenThis will only show pairs running on poloniex and kraken.



Usage

All available options can be displayed with
Code: [Select]
gmon -h

Code: [Select]
  Usage: gmon [options]

  Options:

    -h, --help                   Output usage information
    -v, --version                Output the version number
    -p, --path <path>            Path to the GUNBOT folder. Separate multiple paths with ":" (like: -p /path1:/path2). [Default: current folder]
    -c, --compact [groupSize]    Do not draw row lines. Optional set the number of rows after which a line is drawn. [Default: 0]
    -s, --small                  Reduce columns for small screens
    -d, --digits <digits>        Amount of digits for all numbers. Min = 0, max = 10. [Default: 4]
    -r, --refresh <seconds>      Seconds between table refresh. Min = 1, max = 600. [Default: 60]
    -m, --markets <markets>      List of markets to show. Separate multiple markets with ":" (like: -m poloniex:kraken) [Default: poloniex:kraken:bittrex]
    -P, --profit                 Use to activate the parsing of the profit. THIS WILL SLOW DOWN YOUR SYSTEM!
    -H, --hide-inactive <hours>  Hides trading pairs which las log entry is older than given hours. Min = 1, max = 854400. [Default: 720]
    -E, --show-all-errors        Use to list 422 errors in the last column.

You can also combine the options like:

Code: [Select]
gmon -sPEr 120 -p /path/to/GB/:another/path -H 1 -d 3 -c 4 -m bittrex


Support & Tips

You like gmon and it helps you earning money?

- Report bugs in this forum thread or via pm in Telegram at @BeerK0in
- Support gmon and send a tip to BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT


BK
« Last Edit: July 12, 2017, 12:25:53 AM by beer-k0in »
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline Impulse666

  • Rookie
  • *
  • Posts: 6
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #118 on: July 12, 2017, 02:49:37 AM »
The current way how gmon counts the number of your trades and your profit is wrong. What you see is the number of TRIES of trades, not the real trades.

So please read those values as "ah, Gunbot is doing something" - but your actual number of trades and your actual profit is lower than those!

Not sure if there is a performant way of reading only the successful trades from the log. The way to go is to read this from the markets. There is something on the horizon - but for now:
Please ignore "# Buys", "1 6 h d +", "# Sells", "1 6 h d +" and "Profit" values in gmon.

BK

Was this ever addressed or still trying to figure out a way?

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #119 on: July 12, 2017, 07:42:42 AM »
Was this ever addressed or still trying to figure out a way?

Addressed many times, but every solution so far is not worth it.
The reason are the Gunbot logs, which are out of control for gmon. There is no fast way to check if a log entry is a "real" trade which went through or not.

The next version of Gunbot will change the way how to get all the data. So we are waiting for the next release of Gunbot and than this will be fixed.


BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline PeWi

  • Rookie
  • *
  • Posts: 10
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #120 on: July 12, 2017, 11:52:04 AM »
gmon update
- Added a option to --compact mode to set a groupSize to draw lines.

Thanks a lot!

Run
Code: [Select]
npm install -g gunbot-monitor to update/install it on your server.


I did this update, got an error with the hint to use root, did the update with sudo again.
Message after update looks as if V0.41 is installed now:

npm WARN deprecated fs-promise@0.5.0: Use mz or fs-extra^3.0 with Promise Support
/usr/bin/gmon -> /usr/lib/node_modules/gunbot-monitor/src/index.js
/usr/lib
└─┬ gunbot-monitor@0.0.41
  ├─┬ chalk@1.1.3
  │ ├── ansi-styles@2.2.1
[...]

But if I call gmon, then gmon V0.40 comes up.

Is there still something to do? Change a link or something other?

Kind regards, PeWi

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #121 on: July 12, 2017, 01:44:47 PM »
I did this update, got an error with the hint to use root, did the update with sudo again.
Message after update looks as if V0.41 is installed now:
[...]
But if I call gmon, then gmon V0.40 comes up.

Try running gmon as root (sudo). If that shows v0.0.41, try updating as non-root again.
If that does not work, we need to dig further.

In that case please give me the output of this command:

Code: [Select]
echo "-#- release -#-" && cat /etc/*release && echo "-#- nodejs -#-" && node -v && echo "-#- modules -#-" && npm -g ls gunbot-monitor && echo "-#- gmon -#-" && ls -lha /usr/bin/gmon && echo "-#- version -#-" && gmon -v && cat /usr/lib/node_modules/gunbot-monitor/package.json | grep version


BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline PeWi

  • Rookie
  • *
  • Posts: 10
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #122 on: July 12, 2017, 03:36:13 PM »
Hi BK,

sudo gmon also showed V0.40

The output of your commands line:

NAME="Ubuntu"
VERSION="16.04 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
UBUNTU_CODENAME=xenial
-#- nodejs -#-
v6.11.0
-#- modules -#-
/usr/lib
└── gunbot-monitor@0.0.41

-#- gmon -#-
lrwxrwxrwx 1 root root 47 Jul 12 08:55 /usr/bin/gmon -> ../lib/node_modules/gunbot-monitor/src/index.js
-#- version -#-
0.0.40
  "version": "0.0.41"


Seems like V0.0.41 installed. but V0.0.40 started?!?

Additionally

pewi@pewi ~ $ whereis gmon
gmon: /usr/bin/gmon /usr/local/bin/gmon
pewi@pewi ~ $ ls -la /usr/bin/gmon
lrwxrwxrwx 1 root root 47 Jul 12 08:55 /usr/bin/gmon -> ../lib/node_modules/gunbot-monitor/src/index.js
pewi@pewi ~ $ ls -la /usr/local/bin/gmon
lrwxrwxrwx 1 root root 47 Jul 11 07:13 /usr/local/bin/gmon -> ../lib/node_modules/gunbot-monitor/src/index.js

Any idea?

Kind regards, PeWi

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #123 on: July 12, 2017, 04:11:21 PM »
Any idea?

Hm, maybe

Code: [Select]
npm uninstall -g gunbot-monitor
sudo npm uninstall -g gunbot-monitor
npm install -g gunbot-monitor


BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline PeWi

  • Rookie
  • *
  • Posts: 10
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #124 on: July 12, 2017, 06:43:11 PM »
Code: [Select]
npm uninstall -g gunbot-monitor
sudo npm uninstall -g gunbot-monitor
npm install -g gunbot-monitor

and because of

Code: [Select]
npm ERR! Linux 4.4.0-83-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "-g" "gunbot-monitor"
npm ERR! node v6.11.0
npm ERR! npm  v3.10.10
npm ERR! path /usr/lib/node_modules
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall access

npm ERR! Error: EACCES: permission denied, access '/usr/lib/node_modules'
npm ERR!     at Error (native)
npm ERR!  { Error: EACCES: permission denied, access '/usr/lib/node_modules'
npm ERR!     at Error (native)
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   syscall: 'access',
npm ERR!   path: '/usr/lib/node_modules' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

sudo npm install -g gunbot-monitor


Didn't help -same gmon 0.0.40 :-(

Another idea?

Kind regards, PeWi

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #125 on: July 13, 2017, 10:06:40 AM »
Another idea?

Sure. :)

Try this first:

Code: [Select]
sudo rm /usr/local/bin/gmon
sudo rm /usr/bin/gmon
sudo rm /usr/lib/node_modules/gunbot-monitor/src/index.js
sudo npm install -g gunbot-monitor
gmon -v


If that is still not working, you can change the permissions to npm or change the folder where npm installs the packages:

https://docs.npmjs.com/getting-started/fixing-npm-permissions


BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline PeWi

  • Rookie
  • *
  • Posts: 10
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #126 on: July 13, 2017, 03:56:51 PM »
Hi BK,

sorry - didn't work also ...

V0.0.41 again didn't come up ...

... but V0.0.42 :-))

Thanks a lot!

Kind regards, PeWi

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #127 on: July 13, 2017, 04:04:52 PM »
... but V0.0.42 :-))

So removing the symlinks in /usr folder did the trick?


BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline PeWi

  • Rookie
  • *
  • Posts: 10
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #128 on: July 13, 2017, 07:35:37 PM »
So removing the symlinks in /usr folder did the trick?

Can't say, I have only executed all of your commands step by step.
And I don't know nothing about node.js and it's programs to check it by myself.

Fine that it's running now!

(And I will keep the 'rm ..' in mind for the next update.)

Kind regards, PeWi

Offline xLEEJOHNx

  • Rookie
  • *
  • Posts: 6
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #129 on: July 14, 2017, 01:13:12 AM »
Nice software you have here!!
When will the next update come out for profit calculations being fixed?

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #130 on: July 14, 2017, 08:03:51 AM »
When will the next update come out for profit calculations being fixed?

https://gunthy.org/index.php?topic=319.msg3247#msg3247


BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline krixt

  • Rookie
  • *
  • Posts: 38
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #131 on: July 14, 2017, 03:06:39 PM »
Are errors not being parsed? Turns out I've had many errors in various pairs but gmon not showing anything in that last column.

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #132 on: July 14, 2017, 03:47:22 PM »
Are errors not being parsed? Turns out I've had many errors in various pairs but gmon not showing anything in that last column.

Depends on the error.

First post or gmon -h gives you all options:
Quote
-E, --show-all-errors        Use to list 422 errors in the last column.


BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline xLEEJOHNx

  • Rookie
  • *
  • Posts: 6
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #133 on: July 14, 2017, 08:57:20 PM »
When will the next update come out for profit calculations being fixed?

https://gunthy.org/index.php?topic=319.msg3247#msg3247


BK

Thanks!
Could we get a  security margin line?
If it hasn't already been asked for before 

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #134 on: July 14, 2017, 09:10:36 PM »
Could we get a  security margin line?

I put it on the wishlist.


BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline remi

  • Rookie
  • *
  • Posts: 1
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #135 on: July 16, 2017, 05:49:07 PM »
Hello everyone!

Fore some reason GB is showing nothing for me. started it from /opt/gunbot/ , which is the place of the GB executable and the config files. Also tried to specify the path with
Code: [Select]
gmon -p /opt/gunbot/. Any ideas?

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #136 on: July 17, 2017, 10:11:26 AM »
Fore some reason GB is showing nothing for me. started it from /opt/gunbot/ , which is the place of the GB executable and the config files. Also tried to specify the path with
Code: [Select]
gmon -p /opt/gunbot/. Any ideas?

Please show me the output of this command:
Code: [Select]
ls -lah /opt/gunbot/*-log*

BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline xLEEJOHNx

  • Rookie
  • *
  • Posts: 6
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #137 on: July 19, 2017, 01:17:37 AM »
is there a way to be able to view the whole thing at once
if i run it with -c -s i still can see all of my pairs

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #138 on: July 19, 2017, 07:44:37 AM »
is there a way to be able to view the whole thing at once
if i run it with -c -s i still can see all of my pairs

What do you mean by "the whole thing at once"?

BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline xgl2

  • Rookie
  • *
  • Posts: 4
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #139 on: July 19, 2017, 11:20:19 AM »
Hello,

I have a Feature Request:
It would be nice to see in the Bottom line, how many pairs are monitored with the monitor, e.g.

= TOTAL (25) =

kind regards,

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #140 on: July 19, 2017, 11:58:19 AM »
It would be nice to see in the Bottom line, how many pairs are monitored with the monitor

I've added it to the wishlist.


BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline xLEEJOHNx

  • Rookie
  • *
  • Posts: 6
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #141 on: July 19, 2017, 02:41:27 PM »
is there a way to be able to view the whole thing at once
if i run it with -c -s i still can see all of my pairs

What do you mean by "the whole thing at once"?

BK

When I run 63 pairs at once and monitor it with one gmon
It cuts out the top half of the pairs. I can't scroll up either
Not sure if that's just a cmd issue or gmon

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #142 on: July 19, 2017, 03:10:05 PM »
When I run 63 pairs at once and monitor it with one gmon
It cuts out the top half of the pairs. I can't scroll up either
Not sure if that's just a cmd issue or gmon

Are your gunbot on Windows? If yes, use cmder (http://cmder.net/) as terminal emulator and "change Font Size using Ctrl+MouseWheel" or just scroll up.

Any other good terminal app should allow you to a) change the font size or b) scroll up.


BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #143 on: July 20, 2017, 12:44:14 PM »
gmon update
Version 0.0.51

Changelog

- Bugfix: Show pm2 ids for process names like `AAA_XXX`, `AAA_XXX_M` and `AAA_XXX_m`
- Added total number of monitored pairs per folder.
- Added total BTC value of available BTC and current ALT value.
- Added option to set names for different paths ( `-N kraken:polo` ).
- Added option to set netstat connection check delay time ( `-C 5` ).



Update

Run
Code: [Select]
npm uninstall -g gunbot-monitor && npm install -g gunbot-monitor to update it on your server.

Run
Code: [Select]
npm install -g gunbot-monitor to install it on your server.



Total number of monitored pairs per folder

Shows the total number of pairs in the last row: = TOTAL (123) =



Total BTC value of available BTC and current ALT value

Shows the total BTC value of the available BTC + the monitored ALTs:
Available BitCoins:   poloniex 0.41640129    bittrex 0.467   |   Total BTC value: 3.1025 (in BTC: 0.8834, in ALTs: 2.2191)

It does not connect to the market to collect all you balances. The value next to ALTs is the only value of the monitored currencies and is influenced by the --hide-inactive option.



Set names for different paths

For every path to the GUNBOT folder(s) you can set a name (-N) which will be displayed as headline. Separate multiple path names with ":".

If you want no name for some folder, just don't type anything.

Example:
Code: [Select]
gmon -p /opt/polobot/:/opt/v3.1/kraken/ -N "Polo with Proxy":Kraken
Code: [Select]
gmon -p /opt/polobot/:~/bot-with-no-name:/opt/v3.1/kraken/:/home/bk/awesome_gun -N "Polo with Proxy"::Kraken:"BK is cool"



netstat connection check delay time

With the option -C it is possible to set the delay between each netstats check in seconds. This is for low end systems to reduce the CPU load by increasing the delay time.



Usage

All available options can be displayed with
Code: [Select]
gmon -h

Code: [Select]
  Usage: gmon [options]

  Options:

    -h, --help                               Output usage information
    -v, --version                            Output the version number
    -p, --path <path>                        Path to the GUNBOT folder. Separate multiple paths with ":" (like: -p /path1:/path2). [Default: current folder]
    -N, --path-name <name>                   Optional name for each path to the GUNBOT folder(s). Separate multiple path names with ":" (like: -N Kraken_Bot:Proxy_Mega_Bot). [Default: No path name]
    -c, --compact [groupSize]                Do not draw row lines. Optional set the number of rows after which a line is drawn. [Default: 0]
    -s, --small                              Reduce columns for small screens
    -d, --digits <digits>                    Amount of digits for all numbers. Min = 0, max = 10. [Default: 4]
    -r, --refresh <seconds>                  Seconds between table refresh. Min = 1, max = 600. [Default: 60]
    -m, --markets <markets>                  List of markets to show. Separate multiple markets with ":" (like: -m poloniex:kraken) [Default: poloniex:kraken:bittrex]
    -P, --profit                             Use to activate the parsing of the profit. THIS WILL SLOW DOWN YOUR SYSTEM!
    -H, --hide-inactive <hours>              Hides trading pairs which last log entry is older than given hours. Min = 1, max = 854400. [Default: 720]
    -E, --show-all-errors                    Use to list 422 errors in the last column.
    -C, --connections-check-delay <seconds>  Seconds between netstats checks. Higher numbers result in more inaccurate statistics but reduce cpu usage. Min = 1, max = 600. [Default: 1]

You can also combine the options like:

Code: [Select]
gmon -sPEr 120 -p /path/to/GB/:another/path -H 1 -d 3 -c 4 -m bittrex -C 2 -N "GB one":"Bot 2"


Support & Tips

You like gmon and it helps you earning money?

- Report bugs in this forum thread or via pm in Telegram at @BeerK0in
- Support gmon and send a tip to BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT


BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline xgl2

  • Rookie
  • *
  • Posts: 4
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #144 on: July 22, 2017, 12:18:23 PM »
THX for implementing my request that fast!!

Offline demeo

  • Rookie
  • *
  • Posts: 1
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #145 on: July 22, 2017, 08:24:07 PM »
Code: [Select]
gmon -p /home/demeo/Pobrane/Gnubot/GUNBOT_v3.3.2_Poloniex_Bittrex_Patch/logs/
/usr/local/lib/node_modules/gunbot-monitor/src/index.js:37
  for (const [index, pathToGunbot] of pathsToGunbot.entries()) {
             ^

SyntaxError: Unexpected token [
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:374:25)
    at Object.Module._extensions..js (module.js:417:10)
    at Module.load (module.js:344:32)
    at Function.Module._load (module.js:301:12)
    at Function.Module.runMain (module.js:442:10)
    at startup (node.js:136:18)
    at node.js:966:3

Any help appreciated :)

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #146 on: July 24, 2017, 08:44:04 AM »
Code: [Select]
gmon -p /home/demeo/Pobrane/Gnubot/GUNBOT_v3.3.2_Poloniex_Bittrex_Patch/logs/
/usr/local/lib/node_modules/gunbot-monitor/src/index.js:37
  for (const [index, pathToGunbot] of pathsToGunbot.entries()) {
             ^
Any help appreciated :)

You need nodejs 6.x or higher.


BK
« Last Edit: July 24, 2017, 10:47:43 AM by beer-k0in »
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline PeWi

  • Rookie
  • *
  • Posts: 10
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #147 on: July 24, 2017, 08:58:05 AM »
Hi beer-k0in,

one problem:

Since a few days I also have ETH_xxx pairs running also. GMON seems to interpret the ETH values as BTC values and writes them in the column 'in BTC' and sums them up with the values of BTC_xxx pairs without difference.

Therefore my total amount is about double as in reality. ;-)

I am not sure whether GMON has any chance to convert the ETH values to BTC values because it would need to get current currency exchange rates, wouldn't it?

Handling as seperated columns breaks the layout. (Perhaps someone uses XMR_xxx and USDT_xxx pairs, too?)

So I currently have no idea how to solve this problem ...

Kind regards, PeWi

Offline opedroadami

  • Rookie
  • *
  • Posts: 39
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #148 on: July 24, 2017, 03:54:12 PM »
Hi beer-k0in,

one problem:

Since a few days I also have ETH_xxx pairs running also. GMON seems to interpret the ETH values as BTC values and writes them in the column 'in BTC' and sums them up with the values of BTC_xxx pairs without difference.

Therefore my total amount is about double as in reality. ;-)

I am not sure whether GMON has any chance to convert the ETH values to BTC values because it would need to get current currency exchange rates, wouldn't it?

Handling as seperated columns breaks the layout. (Perhaps someone uses XMR_xxx and USDT_xxx pairs, too?)

So I currently have no idea how to solve this problem ...

Kind regards, PeWi

If you are running headless, maybe you can simply separate BTC_XXX, ETH_XXX and so on on different folders. At least that's the way I'm running it.

Offline chrysophylax

  • Rookie
  • *
  • Posts: 6
  • --- ChainWorks Industries ---
    • View Profile
    • --- ChainWorks Industries ---
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #149 on: July 28, 2017, 06:58:20 PM »
can we use gunbot monitor on the new version of gunbot? ...

curious as it no longer uses the conf files for the pairs ...

#crysx
grn - Gfz2cXMkhMZYWSFvLEMnM8bXk7X5Mtq2J2 . exchange - https://www.cryptopia.co.nz/Exchange/?market=GRN_BTC . cwi thread - https://bitcointalk.org/index.php?topic=1563601 . email - crysx@gnxs.com .

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #150 on: July 29, 2017, 01:46:57 AM »
can we use gunbot monitor on the new version of gunbot? ...

No. Non of the existing tools will work with Gunbot v3.3.4 right now. The Gunbot has evolved a lot and the 3rd party devs need to adapt. This will take a while.


BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline chrysophylax

  • Rookie
  • *
  • Posts: 6
  • --- ChainWorks Industries ---
    • View Profile
    • --- ChainWorks Industries ---
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #151 on: July 30, 2017, 11:58:37 AM »
can we use gunbot monitor on the new version of gunbot? ...

No. Non of the existing tools will work with Gunbot v3.3.4 right now. The Gunbot has evolved a lot and the 3rd party devs need to adapt. This will take a while.


BK

well mate ...

you have done an awesome job so far ... congrats on a fantastic application ...

if gmon does evolve with it - it would be a product worth its weight in beers :) ...

#crysx
grn - Gfz2cXMkhMZYWSFvLEMnM8bXk7X5Mtq2J2 . exchange - https://www.cryptopia.co.nz/Exchange/?market=GRN_BTC . cwi thread - https://bitcointalk.org/index.php?topic=1563601 . email - crysx@gnxs.com .

Offline qborg

  • Rookie
  • *
  • Posts: 3
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #152 on: August 08, 2017, 04:10:52 AM »
Looking forward to seeing updates for this awesome tool.

Offline Lea N.

  • Contributor
  • **
  • Posts: 328
  • Support Staff Member and Reseller
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #153 on: August 14, 2017, 08:46:10 AM »
I'm patiently waiting for this to work with the newer releases :)

Offline cryptosticks

  • Contributor
  • **
  • Posts: 229
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #154 on: August 24, 2017, 08:59:44 AM »
Nice!  I got this tool working on my Windows 7 VPS.  Took a bit of playing around with the font and window size settings to make it readable.

Thanks for the hard work on this great tool.

Offline Storx

  • Rookie
  • *
  • Posts: 2
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #155 on: August 31, 2017, 07:15:17 PM »
Can someone assist me on getting this running on Ubuntu on Amazon EC2?

I tried to install the "npm install -g gunbot-monitor" command, but im getting a bunch of errors due to permission denied.



Offline Vae_Victus

  • Rookie
  • *
  • Posts: 12
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #156 on: September 02, 2017, 04:54:46 PM »
beer-K0in, Thanks for the great utility!

 I think I found the (one) reason why profit calcs are off. GB 3.3.2 incorrectly states the value of purchase of a coin if it has bought it more than once in the past (not sure how long the "past" is but...).

Here is an example where PIVX was bought at 73.003 and was sold, and rebought at 74.363, but GB reports it as a 73.003 value. Then, gmon picks up that bad value.

This may have been reported already, but I just noticed it.

Offline cryptosticks

  • Contributor
  • **
  • Posts: 229
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #157 on: September 03, 2017, 12:54:56 AM »
Just thought I'd share that I'm using GunBot monitor in a different folder to watch my ETH-trading pairs.  One folder for BTC-trading pairs and one folder for ETH-trading pairs.  (Yes, running two instances of GunBot 3.3.2)

Offline Iggy

  • Rookie
  • *
  • Posts: 1
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #158 on: September 03, 2017, 04:21:36 PM »
Newby question,  for windows for the nodes program, do i just install it into any folder and run  the node.exe and then type

"npm install -g gunbot-monitor" because i did that and it doesnt seem to be doing anything, thanks


Offline candyP

  • Rookie
  • *
  • Posts: 2
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #159 on: September 04, 2017, 11:39:27 PM »
quick question:
why does it say that I have 0 total BTC value
when I can see that I have balance on poloniex.
The bot has not made any trades yet (7hrs).
https://imgur.com/a/4tcAh
Also why is there the letter "P" before trading pairs.
Thank you.

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #160 on: September 06, 2017, 09:02:25 AM »
I tried to install the "npm install -g gunbot-monitor" command, but im getting a bunch of errors due to permission denied.

Try running as root or with sudo



I think I found the (one) reason why profit calcs are off.

gmon only reads the Gunbot logs. It has no connection to the exchanges. The problem are the log files of Gunbot. Whenever Gunbot sends a sell order, it writes it into the logs - even when the sell order could not be completed. After few minutes, the sell order will get canceled and a new sell order is placed. There is no way to read from the logs, which sell order was fulfilled.

When the Gunbot API is ready, this will be solved. :)



Newby question,  for windows for the nodes program, do i just install it into any folder and run  the node.exe and then type

Just install node. No need to runn any .exe file. https://nodesource.com/blog/installing-nodejs-tutorial-windows/



why does it say that I have 0 total BTC value
Also why is there the letter "P" before trading pairs.

Is there a message "No LP found"? Please check you log files. Whenever gmon does not show anything, it is because the logfiles are not providing the needed data, which is an indicator for problems with Gunbot.

"P" is Poloniex


BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline candyP

  • Rookie
  • *
  • Posts: 2
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #161 on: September 06, 2017, 10:11:34 PM »
I appreciate your reply.
1- yes it does tell me no LP found.
2- I checked the log files:
Code: [Select]
###[ --2017/09/06 20:24:58--poloniex--BTC_ETH  --  Gunbot v3.3 cycle #2229 --------------- ]
::::: collecting market data...
***************************************************
Low BB:0.00000000 - High BB:0.00000000
***************************************************
***************************************************
EMA1:0.07303960 - EMA2:0.07335587
***************************************************
BB price to sell 0.0000000 -- GAIN price to sell NaN
BB price to buy 0 -- GAIN price to buy 0
++2017/09/06 20:25:00 Error: statusCode 422
!!! Cycle 2230 failed. Will repeat in 60s
Seems like it cannot read the bb values.
The bot did not make a single trade yet.
Is error 422 the reason?

Thank you again.

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #162 on: September 08, 2017, 12:23:50 PM »
Is error 422 the reason?

Poloniex allows only 6 connections per second (Error 422 is telling you: too much connections). Maybe you have a lot of trade pairs and a short delay. Try using only one pair and monitor the logs. Then think about using the community proxy.

BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline chemo

  • Rookie
  • *
  • Posts: 3
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #163 on: September 10, 2017, 10:59:59 PM »
Is there a way to run gmon over multiple directories/folders?
So I may have /gunbot/maincoins and /gunbot/testcoins

I can run a bash script that just calls gmon for each folder but that then creates the gmon "header" for each folder and doesn't add up the coin balances correctly. Is there a way to have one combined gmon for both folders?

thanks.

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #164 on: September 11, 2017, 09:26:07 AM »
Is there a way to run gmon over multiple directories/folders?

Code: [Select]
gmon -h-->
Code: [Select]
-p, --path <path>     Path to the GUNBOT folder. Separate multiple paths with ":" (like: -p /path1:/path2). [Default: current folder]
So in your case:
Code: [Select]
gmon -p /gunbot/maincoins:/gunbot/testcoins

BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline chemo

  • Rookie
  • *
  • Posts: 3
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #165 on: September 11, 2017, 11:15:01 AM »
Thanks BK.
I'm already doing that.

What I'm asking is whether there is a way to have all the coins from the different folder as one list, and a single BTC/Alts balance? at the moment, it displays BTC/Alt balances for each folder, with varying totals, despite the fact that the folders all link back to the same Bittrex exchange.


Offline chemo

  • Rookie
  • *
  • Posts: 3
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #166 on: September 11, 2017, 09:47:58 PM »
Sorry I should have been more specific.
At the moment gmon shows the overall BTC balance but then the specific Altcoin balance in BTC for EACH folder.

Is there a way to display the overall BTC balance and OVERALL Altcoin balance across multiple folders?

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #167 on: September 12, 2017, 01:34:51 PM »
Is there a way to display the overall BTC balance and OVERALL Altcoin balance across multiple folders?

No, sorry, there is no sum at this moment. Depending on the layout of the new v5 Gunbot-API, maybe there will be such feature.


BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline Tom12coin

  • Rookie
  • *
  • Posts: 12
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #168 on: September 16, 2017, 07:38:35 AM »
Very simple...but i like it - thanks.

Just a small feature request: adding the volume of the coin from the uses marketplace would be great.

I tried now 4.0.5 and dont get any datas, just working with 3.x?
« Last Edit: September 16, 2017, 03:40:09 PM by Tom12coin »

Offline xLEEJOHNx

  • Rookie
  • *
  • Posts: 6
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #169 on: September 16, 2017, 11:38:59 PM »
Very simple...but i like it - thanks.

Just a small feature request: adding the volume of the coin from the uses marketplace would be great.

I tried now 4.0.5 and dont get any datas, just working with 3.x?

anything past 3.3.2 wont work
gmon read logs and gunbot doesnt log anything anymore

Offline Tom12coin

  • Rookie
  • *
  • Posts: 12
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #170 on: September 17, 2017, 05:34:43 PM »
Pity..but this Sjakil's GUI get also his datas.

Anyway, then no upgrade to 4.0.5 and staying with 332 - dont want to miss the Monitor.

Offline rberkness

  • Rookie
  • *
  • Posts: 1
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #171 on: September 21, 2017, 01:38:13 PM »
Thanks for building this, and the Linux interface! I'm sending a tip of appreciation to 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Nice work, please keep it up!

Offline Hoho

  • Rookie
  • *
  • Posts: 5
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #172 on: September 29, 2017, 06:40:04 PM »
I was just about to ask here when it occurred t0 me what I may have done. In case anyone's gmon shows duplicate pairs, check the -trades.txt of that pair for an extra blank line at the top.

Love the monitor, btw! Thanks!

Offline kin0

  • Rookie
  • *
  • Posts: 19
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #173 on: January 02, 2018, 12:37:23 AM »
Aww I just read that there is no way to get this to work with the new 7 version :(

Does Gbot now not save the logs? Because when i use the web interface i can still see the logging being created, it would be nice to have the option to output the logs again to enable this to work.  I really like the monitor as it really quickly helped me to see my overall position, whereas the other GUIs don't.

Would love to get it back working again!

Offline cochise

  • Rookie
  • *
  • Posts: 4
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #174 on: January 26, 2018, 08:04:10 PM »
Aww I just read that there is no way to get this to work with the new 7 version :(

Does Gbot now not save the logs? Because when i use the web interface i can still see the logging being created, it would be nice to have the option to output the logs again to enable this to work.  I really like the monitor as it really quickly helped me to see my overall position, whereas the other GUIs don't.

Would love to get it back working again!

Yeah me too !

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #175 on: April 27, 2018, 07:17:33 PM »
gmon update
Version 1.0.5

Changelog

- Major Release: Gunbot-Monitor supports Gunbot v9 now.
- Removed: option -E is no longer available.




Update

Use npm to update:

Code: [Select]
npm uninstall -g gunbot-monitor && npm install -g gunbot-monitor



Gunbot v9 support

🚨 gmon 1.x will only work with Gunbot v9! 🚨

Since a lot has change after Gunbot v3.2, there are still a few things from the past inside of gmon which may look strange now.
Having multiple setups in Gunbot v9 will mess up the numbers of you total and available BTC.




Usage

To start gmon, go to the folder your Gunbot is installed (`cd /path/to/gunbot`) and run this command:

Code: [Select]
gmon [options]

Options

Code: [Select]
    -h, --help                               Output usage information
    -v, --version                            Output the version number
    -p, --path <path>                        Path to the GUNBOT folder. Separate multiple paths with ":" (like: -p /path1:/path2). [Default: current folder]
    -N, --path-name <name>                   Optional name for each path to the GUNBOT folder(s). Separate multiple path names with ":" (like: -N Kraken_Bot:Proxy_Mega_Bot). [Default: No path name]
    -c, --compact [groupSize]                Do not draw row lines. Optional set the number of rows after which a line is drawn. [Default: 0]
    -s, --small                              Reduce columns for small screens
    -d, --digits <digits>                    Amount of digits for all numbers. Min = 0, max = 10. [Default: 4]
    -r, --refresh <seconds>                  Seconds between table refresh. Min = 1, max = 600. [Default: 60]
    -m, --markets <markets>                  Filter of markets to show. Separate multiple markets with ":" (like: -m poloniex:kraken) [Default: all]
    -P, --profit                             Use to activate the parsing of the profit. NOT WORKING CORRECTLY!
    -H, --hide-inactive <hours>              Hides trading pairs which last log entry is older than given hours. Min = 1, max = 854400. [Default: 720]
    -C, --connections-check-delay <seconds>  Seconds between netstats checks. Higher numbers result in more inaccurate statistics but reduce cpu usage. Min = 1, max = 600. [Default: 1]

You can also combine the options like:

Code: [Select]
gmon -sEr 120 -p /path/to/GB/:another/path -H 1 -d 3 -c 4 -m bittrex



Support & Tips

You like gmon and it helps you earning money?

- Report bugs in this forum thread or via the Telegram group t.me/beercrypto.
- Support gmon and send a tip to BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT


BK
« Last Edit: April 27, 2018, 07:49:33 PM by beer-k0in »
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline cryptosticks

  • Contributor
  • **
  • Posts: 229
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #176 on: April 28, 2018, 12:55:05 AM »
GMON for v9!

Yasssssss!   ;D

Offline criptonauta

  • Contributor
  • **
  • Posts: 137
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #177 on: April 28, 2018, 01:06:20 AM »
Wow, that brings some memories!

Installing it now!

Cheers BK!
   ✔ FAST, APPROVED AND EASY Escrow for used GunBot licenses @ 5% ..:..Gunbot licenses 10% off: 'Criptonauta_Gun' code. | Tuning, Custom Strats | No VPS? Get yours here   ✔

Offline mahoutsukai

  • Rookie
  • *
  • Posts: 2
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #178 on: April 28, 2018, 04:43:35 AM »
Hi, I tried running it using both Windows command prompt and cmder but both returned:

C:\Users\Administrator\AppData\Roaming\npm\node_modules\gunbot-monitor\src\modules\tradePairParser.js:51
        collectedData.openOrders = state.openOrders.length || 0;
                                                    ^

TypeError: Cannot read property 'length' of undefined
    at fs.stat (C:\Users\Administrator\AppData\Roaming\npm\node_modules\gunbot-monitor\src\modules\tradePairParser.js:51:53)
    at C:\Users\Administrator\AppData\Roaming\npm\node_modules\gunbot-monitor\node_modules\graceful-fs\polyfills.js:287:18
    at FSReqWrap.oncomplete (fs.js:153:5)


Please kindly advise.

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #179 on: April 28, 2018, 12:45:58 PM »
Hi,

Hi, I tried running it using both Windows command prompt and cmder but both returned:

C:\Users\Administrator\AppData\Roaming\npm\node_modules\gunbot-monitor\src\modules\tradePairParser.js:51
        collectedData.openOrders = state.openOrders.length || 0;

I just published version v1.0.6 which should fix your issue.

Code: [Select]
npm un -g gunbot-monitor && npm i -g gunbot-monitor

BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline mahoutsukai

  • Rookie
  • *
  • Posts: 2
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #180 on: April 28, 2018, 02:39:59 PM »
Hi,

Hi, I tried running it using both Windows command prompt and cmder but both returned:

C:\Users\Administrator\AppData\Roaming\npm\node_modules\gunbot-monitor\src\modules\tradePairParser.js:51
        collectedData.openOrders = state.openOrders.length || 0;

I just published version v1.0.6 which should fix your issue.

Code: [Select]
npm un -g gunbot-monitor && npm i -g gunbot-monitor

BK

Works great now. Thanks!

Offline pinowet

  • Rookie
  • *
  • Posts: 3
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #181 on: May 16, 2018, 04:24:38 PM »
Hi,
do you know why gmon not showing connections to binance? It is allways 0... Thanks

Offline aknetman

  • Rookie
  • *
  • Posts: 5
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #182 on: June 17, 2018, 09:06:15 PM »
gmon is not working for me with version 1.0.6 and gunthy-gui version 9.

Shows
"Setup 1" with total BTC value as 0.0000

I noticed the "out.log" is now in ./setups/###long GUID type number with dashes###/out.log and have tried using that path with the -P option to no avail.

I also thought PM2 with logrotate may be causing this so I tried starting gunth-gui from the CLI with no difference.

Am I missing something?
Thanks

Offline Raderlab

  • Rookie
  • *
  • Posts: 10
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #183 on: November 02, 2018, 04:20:51 PM »
Are there any plans to update for Gunbot v10 and beyond?

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #184 on: December 23, 2018, 02:44:18 PM »
Are there any plans to update for Gunbot v10 and beyond?

Hey. I was busy the last year with other projects and there was no time for me to care about gmon.

Currently there are no plans to update gmon, sorry. But gmon is open source licensed under the MIT license, so anyone can grab the code and alter it.

https://github.com/BeerK0in/gunbot-monitor/network reveals all forks of the main repository. There is a fork from user H256 which was updated in september. But I did not check the code and dont know if his version supports GunBot v10.

BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline olliecrypto

  • Rookie
  • *
  • Posts: 55
    • View Profile
    • TheCryptoBot Automated Cryptocurrency Bot
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #185 on: March 23, 2019, 04:02:33 PM »
this looks beautiful.
i'll have to reinstall linux on one of my extra pc's and mess with this really soon.
thanks for this effort, it's pretty impressive.
My favorite Trading Tool :
Gunbot - the Automated Cryptocurrency Trading Bot
https://thecryptobot.com

Offline Ghazz

  • Rookie
  • *
  • Posts: 1
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #186 on: June 17, 2019, 12:03:13 AM »
Hi lads,

Trying to set the monitor up, but it doesn't show pairs or anything. please see attached jpg.

Anybody knows how i can make it look like the picture you show us?

Br.
Ghazz

Offline giz

  • Rookie
  • *
  • Posts: 5
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #187 on: February 05, 2021, 06:25:44 AM »
does gunbot monitor still work or is there an alternative now?

Offline Aitor

  • Administrator
  • *****
  • Posts: 570
  • Telegram: @AitorRuiz Gunbot.shop
    • View Profile
    • Gunbot
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #188 on: February 06, 2021, 04:06:07 AM »
does gunbot monitor still work or is there an alternative now?

This project is dead since long time ago.