03-28-2018, 04:15 PM
(This post was last modified: 03-28-2018, 04:18 PM by tommiehansen.)
(03-28-2018, 03:59 PM)simpsus Wrote: Thank you very much for the update.
When I run the command line, I get:
========================================================
GAB CLI
http://localhost:8889/gab/system/post.php
========================================================
INFO > Running RSI_BULL_BEAR_ADX using 1 thread(s)
INFO > To quit hold CTRL+C
17:55:56: . [ Exec: 0m 0s / Duration: 0h 0m / Total runs: 1 ]
17:55:56: . [ Exec: 0m 0s / Duration: 0h 0m / Total runs: 2 ]
17:55:56: . [ Exec: 0m 0s / Duration: 0h 0m / Total runs: 3 ]
....
So it's not really doing anything. When I access it in the gui it gives me
Warning: Division by zero in /var/www/html/gab/system/runner.php on line 352
Success! Performed 0% better
In the CLI output I also notice the port (your output and mine). Is that correct?
Thanks a lot
No -- why the *ell would you even try to attempt using my server?
You have to edit the file, see:
# USER SETTINGS ---------------------------------------------------------
ALL YOUR SETTINGS THAT YOU HAVE TO EDIT
# END USER SETTINGS ----------------------------------------------------
So...
1. Edit SERVER= to reflect the server where you got GAB installed
2. Edit DIR= to where your GAB is stored on your server; default is sort of http://localhost/gab/
3. Edit STRATEGY=
4. Edit TOML=
...and so on...
Do note that the CLI is well... CLI. It's for people that are more comfortable in CLI-environments and want to run something that is much lighter then the WEB UI (because of stuff such as e.g. weak hardware like a Rasberry PI etc)
@ future i'll do a file include instead so that there is a specific cli.user and a cli.sample where all the user settings live.