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

Make BenchMark Work with a LIVE data #11

Open
omendram opened this issue Nov 28, 2018 · 0 comments
Open

Make BenchMark Work with a LIVE data #11

omendram opened this issue Nov 28, 2018 · 0 comments
Assignees

Comments

@omendram
Copy link
Collaborator

omendram commented Nov 28, 2018

To get the last 240 minute candles from live data:

from App.Library.Connection.Price import Price
candles = Price.get_last_n_candles(instrument='EUR/USD', period=Period.MINUTE_1[0], n=240)

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