Setting time period for simulation?
How exactly do I tell the time period for the wanted simulation strategy?? I if a take a look for what "zenbot sim --help" returns, it gives me these options:
--conf
There is this "strategy"- setting, but no "time period" to be used for that strategy anywhere? Could someone provide a basic config file for simulation, just to get started?? Thank you!
answer is in your question;
--start start at timestamp --end end at timestamp
eg: zenbot sim --start '2017-06-10' --end '2017-06-17' gdax.eth-usd --strategy=trend_ema
Thank you mikeh21 for your answer, and sorry for my vague question; what I actually tried to ask for was how to set period such as M15, H2 or D1, meaning the period for the used strategy? There doesn't seem to be any setting for that?
ok sorry for confusion.
you can set period in strategy settings
eg: zenbot sim --strategy=trend_ema --period=1h
zenbot list-strategies - will list the settings and configuration available for each strategy
Aaaa OK, so that "zenbot sim --help" does not actually list ALL possible settings for the simulation! So I could basically create one simulation_conf.js- file that contains all settings listed by "zenbot sim --help" and "zenbot list-strategies", right?
--period is a setting for the chosen strategy. not a simulation setting.
each strategy has its own individual settings.you can see this from "zenbot list-strategies"
Ok, but do I need a different conf- file for both strategy- and simulation settings? Or can they both be on the same file, which is then used with --conf- parameter?
no, and the command line settings will overide anything set in conf.js anyway
Dear issue reporter,
We have slightly changed our github issue policy and would now kindly request folks that have questions that they ask them in our zenbot subreddit.
You can find it here: https://reddit.com/r/zenbot
This issue will be closed, but if you disagree with your ticket being marked as a question feel free to leave a comment defending your case.
Thanks for contributing time and effort!
Greetings, 🤖