GUNBOT: The automatic profit generator > Beginners & Help

Gunbot Monitor - Oversee all GUNBOTs in one screen

(1/38) > >>

beer-k0in:
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: ---npm install -g gunbot-monitor
--- End code ---



Update

Use npm to update:


--- Code: ---npm uninstall -g gunbot-monitor && npm install -g gunbot-monitor
--- End code ---



Usage

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


--- Code: ---gmon [options]
--- End code ---


Options


--- Code: ---    -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]

--- End code ---


Path option "-p"

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


--- Code: ---gmon -p /path/to/gunbot
--- End code ---

If you have multiple Gunbots running, you can use the `-p` option to specify all paths to your Gunbots:


--- Code: ---gmon -p /path/to/AAA_bot:/path/to/BBB_bot
--- End code ---


Path name option "-N"

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


--- Code: ---gmon -N Kraken-Bot-tssl:Bittrex-emo
--- End code ---


Compact mode "-c"

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


--- Code: ---gmon -c
--- End code ---

Optional set the number of rows after which a line should be drawn to have a little visual guide:


--- Code: ---gmon -c 4
--- End code ---


Small mode "-s"

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


--- Code: ---gmon -s
--- End code ---


Digits option "-d"

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


--- Code: ---gmon -d 3
--- End code ---


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: ---gmon -r 90
--- End code ---


Market filter "-m"

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


--- Code: ---gmon -m kraken:bitfinex # This will only show pairs on those exchanges
--- End code ---


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: ---gmon -H 2
--- End code ---


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: ---gmon -C 10
--- End code ---



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

Alex_13:
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:
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

beer-k0in:

--- Quote from: Alex_13 on May 24, 2017, 05:08:57 PM ---But it doesn't run on Windows now

--- End quote ---

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



--- Quote from: btcjuice 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!

--- End quote ---

Glad you like it.


--- Quote from: btcjuice on May 25, 2017, 10:09:38 PM ---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.

--- End quote ---

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

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

BK

Snapper_Head:
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

Navigation

[0] Message Index

[#] Next page

Go to full version