Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I specific interval for agent in live trade? #422

Open
janckerchen opened this issue Dec 1, 2017 · 1 comment
Open

Can I specific interval for agent in live trade? #422

janckerchen opened this issue Dec 1, 2017 · 1 comment

Comments

@janckerchen
Copy link

there is a interval selection in backtest, can I specific interval for agent in live trade?

for example, I expect my agent to update for each H1 bar, not each tick?

I have checked moving_average_agent.rb, it seems short and long properties is force to use tick period which is configured "15" second in application.yml.

@unageanu
Copy link
Owner

unageanu commented Dec 1, 2017

There is no way to change the interval of live trade.
Please control update timing by using tick#timestamp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants