Usage examples are not clear: how do we run the bot?
See original GitHub issueThere are actually no examples of how to run this program. The wiki usage specifies the cli options but without giving a working example.
Please update either the Readme or the Wiki with a working example that can be copied and pasted.
I updated my configStrategy.py
with the parameters needed and named it the same as my strategy name in the gekko file. I updated _Global.toml
with the path and config file names (which by the way is not clearly explained in the Wiki. That info should be on the Readme or the Usage page. I had to dig through Issues here to figure out the basic info.)
I entered python3 japonicus-run -b --strat mycustomstrat
And the response
EVOLUTIONARY GENETIC ALGORITHMS v0.92
The profits reported here depends on backtest interpreter function;
interpreter v3:
if <backtest profit> > 0: <shown profit> = <backtest profit> - <market profit>
else <shown profit> = <backtest profit>
found gekko @ http://localhost:3000
Run took 1 seconds.
What does that mean… did it work? Where are the results? I can’t find the .csv file anywhere Thanks for any help, I’m looking forward to using this program
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (9 by maintainers)
Hey, yeah
configStrategies
is deprecated. I guess your config problem is on parameter nesting at the.toml
file… It should be:And we surely need better documentation lol. But I just broke the benchmark system a few releases ago, so it’s not possible to quickly evaluate different GA settings. 90% of those strange parameters are experimental, so it may not be worthy to learn everything about them in this current state of development…
ohh Lol that’s good to know. I was sitting here wondering what’s going on. It took my ranges when I put them in the
.toml
file as you said!Also, good to know a lot of the parameters are experimental, so I’ll leave them.
The main ones I’m curious about are
_dataset.toml
(should they all be the same pair and exchange, or can I make them different, and how does this affect the test?ParallelBacktests = 6
- if I have more than 6 threads (such as 4 core 8 thread), could I safely change this to8
?I’m reading through your changelog to see what else I can learn now.
As I learn more about this, I’ll be happy to improve the documentation to make it better to understand.