04-10-2018, 06:39 PM
(This post was last modified: 04-10-2018, 06:55 PM by tommiehansen.)
(04-10-2018, 11:44 AM)Kris191 Wrote: So i'm getting action the cli but after the time stamp i get a "not found". [EXEC: duration etc ] message in the terminal, is this working or is the not found going to be an issue for me??
the user.config file is point to gekko ui localhost and gekko is running as i'm getting the gab/system/post.php message in terminal.
Am i missing something?
I've never seen a 'Not found' in the CLI-version, maybe you're trying to do something where something cannot be found?
Make sure the stuff you're trying to run is valid and that GAB actually has an endpoint to run against. Here's a typhical CLI-config file saved as rbba_50_xmr.sh and ran via $ . run.sh cli/rbba_50_xmr.sh
Code:
# Server (with php) + dir
SERVER="http://localhost:8889"
DIR="/gab/"
# TOML for strategy, just copy-paste the params and add dynamic variables
STRATEGY="RSI_BULL_BEAR_ADX"
TOML="
[SMA]
long = 100:1000,100
short = 10:90,10
[BULL]
rsi = 15:25,5
high = 70:80,5
low = 40:50,5
mod_high = 10:20,5
mod_low = -15:-5,5
[BEAR]
rsi = 15:25,5
high = 45:60,5
low = 30:45,5
mod_high = 10:20,5
mod_low = -20:-10,5
[ADX]
adx = 10:25,5
high = 75:85,5
low = 20:35,5
"
# settings, rest of the settings -- make sure you actually have the dataset
candle_size="3:5,1"
exchange="poloniex"
currency="USDT"
asset="XMR"
history_size="10"
# dates, use Y-m-d format e.g. 2018-12-24
from="2017-11-01"
to="2018-02-01"
It's generally a good idea to save your configs. First thing would be to just create something that actually works if you're uncertain.