Username: Password:

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - beer-k0in

Pages: [1] 2 3 ... 8
1
Beginners & Help / Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« 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

2
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

3
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

4
Hey so some of my costumers are having trouble setting this up. They get all the way through to picking pairs and once that happens they cannot get past that point. Error loading config. What's the fix?

The problem is a combination of pm2 and running this as root (which is mandatory). You can try the fix described in the first post. But a real fix would be a rewrite of this generator. But I don't have time for that right now.


BK

5
Unfortunately i am not able to install Gunbot right, i get this Errors on Ubuntu (Free Amazon VPS), what can i do?:

You need to run this script as root user.


BK

6
Beginners & Help / Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« 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

7
Forking allowed ?

Sure! It is MIT licensed so please feel free to fork, modify, enhance, create PRs, do own npm publish, share, sell as you like. :)


BK

8
Beginners & Help / Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« 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

9
Does the generator work now without problems for GB 3.3.2.?

No, the older it gets, the more problems emerge. Main problem is the requirement to run it as root user.
So the pm2 problem is still there. Also the list of available coins need an update, but I'm too busy to do so right now.


BK

10
Beginners & Help / Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« 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

11
Just wanted to say thanks for this awesome guide man! It has helped so many of my clients

Thanks. And still it has so many flaws. :)



when using ALLPAIRS, will it adjust/work with this settings as soon as ALLPAIRS is saved?

Yes.

12
Beginners & Help / Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« 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

13
How to  install very old version of your Gunbot Generator..

Code: [Select]
npm uninstall -g generator-gunbot
npm install -g generator-gunbot@0.1.0



I tried reverting back to generator-gunbot@0.1.8, is this an issue with node updates? the script installed v6.11.2. Looks as though version v6.10.3 was the latest version when generator-gunbot was released (start of this thread)

Yes, it is possible. You could try installing v6.10.3



Would new version support GunBot 4 ?

Right now there are no plans to update this generator any more. The node ecosystem, the possible VPS OS'es and the Gunbot itself are evolving so fast, it is too much effort for me to maintain this project. Since I made some decisions when starting this tool, I would not do anymore, I would want to rewrite the whole generator.


BK


14
Here you go:

Code: [Select]
...
-#- PM2 -#-
4714
-#- PM2 gunthy processes -#-
4777

This is an indicator for one running gunbot.
Can you try this again:

The nasty one

Sometimes the PM2 God Deamon got detached from your (root-)user and you will see an empty list if you enter 'gl' BUT if you run 'pgrep -f BTC_XXX' you will see a id a result.

So the Gunbot is running but pm2 does not want to see it.

You need to kill the PM2 God Deamon, and remove the content in ~/.pm2/:

Code: [Select]
pgrep -f PM2 | xargs kill -9
Wait like 2 to 5 min till all Gunbots also stopped.
Check if there are running Gunbots
Code: [Select]
pgrep -f gunthyIf the dont stop, also kill them
Code: [Select]
pgrep -f gunthy | xargs kill -9
Now remove the content of ~/.pm2/
Code: [Select]
rm -r ~/.pm2/*
And run run 'ginit' again.

And then copy the error message.


BK

15
Could this be run on Raspberry PI?

No, sorry.

16
I've tried to move the logs & trades that have been done on my laptop to VPS with this lil script and it cannot start coins...it fails to start them :( no history and it will screw my trades..

So what are the steps you did on your VPS?
I would suggest:
1. Run ginit and create all pairs.
2. Copy your logs and trades to the folder '/opt/gunbot/'


Can you provide me the output of this command:

Code: [Select]
echo "-#- release -#-" && cat /etc/*release && echo "-#- nodejs -#-" && node -v && echo "-#- modules -#-" && npm -g ls generator-gunbot pm2 && echo "-#- aliases -#-" && cat ~/.bashrc | grep ginit && echo "-#- gunbot -#-" && ls -lah /opt/gunbot/ | grep gunthy && echo "-#- PM2 -#-" && pgrep -f PM2 && echo "-#- PM2 gunthy processes -#-" && pgrep -f gunthy





I'm struggling to get the scripts started with this generator. I keep getting errors after following the two debugging instructions on the first page of this forum. Why is this happening?

Can you provide me the output of this command:

Code: [Select]
echo "-#- release -#-" && cat /etc/*release && echo "-#- nodejs -#-" && node -v && echo "-#- modules -#-" && npm -g ls generator-gunbot pm2 && echo "-#- aliases -#-" && cat ~/.bashrc | grep ginit && echo "-#- gunbot -#-" && ls -lah /opt/gunbot/ | grep gunthy && echo "-#- PM2 -#-" && pgrep -f PM2 && echo "-#- PM2 gunthy processes -#-" && pgrep -f gunthy


BK

17
I have the same issue as listed here. I tried the second suggestion .

You mean you have read the part "Known Errors" in the 1. post of this thread and tried all options to solve the error?

Can you provide me the output of this command:

Code: [Select]
echo "-#- release -#-" && cat /etc/*release && echo "-#- nodejs -#-" && node -v && echo "-#- modules -#-" && npm -g ls generator-gunbot pm2 && echo "-#- aliases -#-" && cat ~/.bashrc | grep ginit && echo "-#- gunbot -#-" && ls -lah /opt/gunbot/ | grep gunthy && echo "-#- PM2 -#-" && pgrep -f PM2 && echo "-#- PM2 gunthy processes -#-" && pgrep -f gunthy





Whenever I run ginit and come to : Select the currencies you want to trade: (Press <space> to select, <a> to toggle all, <i> to inverse selection)

it's always taking 1ST only and not able to select the coin event I press space and coin don't select.

What system are you using?

Can you provide me the output of this command:

Code: [Select]
echo "-#- release -#-" && cat /etc/*release && echo "-#- nodejs -#-" && node -v && echo "-#- modules -#-" && npm -g ls generator-gunbot pm2 && echo "-#- aliases -#-" && cat ~/.bashrc | grep ginit && echo "-#- gunbot -#-" && ls -lah /opt/gunbot/ | grep gunthy && echo "-#- PM2 -#-" && pgrep -f PM2 && echo "-#- PM2 gunthy processes -#-" && pgrep -f gunthy


BK

18
I have an issue where when I leave the bot and I stop them all, I can no longer then run the "ginit" or "gstart" command from my folder.  I have to run the Curl command to do the full install again and then the commands work again.

What OS are you using?
The install script adds these commands to the bashrc: https://github.com/BeerK0in/generator-gunbot/blob/master/install.sh#L67

Maybe you are using another user then root?


BK

19
One of my pairs seems so have turned off show 'off' in the pm2 column of gmon. When I try to start this pair by running pm2 restart on its id its says it cannot find this process. What happened to the bot on this pair and what is the graceful way to have pm2 restart and log the bot on that same pair again?

Does the command gl show anything?



Any chance for an update?

Not for the RC, no. The whole way how to setup the Bot has changed so much in 3.3.3, the generator (ginit) need some major changes to work again. And since Gunthar is still changing stuff, it would need an update of the generator for every RC release.

So lets wait till the final version of the Gunbot is out, then evaluate how much work it would be to rewrite the generator, then find a way to get payed for that work and booom, it will be updated. ;)


BK

20
Technical Support & Development / Re: Bugs/Issues tracker v3.3.5
« on: August 02, 2017, 09:28:25 AM »
Hello, I encountered sale at a loss

Not all of your LSK have been sold. There is a little bit left, sell it at the current price and it is a profit over all.

Whenever there is a Break Even Price listed, you still have coins of that currency in your account.


BK

Pages: [1] 2 3 ... 8