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

1H graph #116

Open
ghost opened this issue Mar 10, 2021 · 1 comment
Open

1H graph #116

ghost opened this issue Mar 10, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@ghost
Copy link

ghost commented Mar 10, 2021

Hi there, is there any chance we could get an hourly graph? Love tickrs, thanks!

@tarkah
Copy link
Owner

tarkah commented Mar 10, 2021

I'm currently hard-coding the interval that I get the OHLCV (Open, High, Low, Close, Volume) data from the API based on the different time-frames. Here are the current intervals:

TimeFrame::Day1    => Interval::Minute1,
TimeFrame::Week1   => Interval::Minute5,
TimeFrame::Month1  => Interval::Minute30,
TimeFrame::Month3  => Interval::Minute60,
TimeFrame::Month6  => Interval::Minute60,
 _ (all others)    => Interval::Day1,

So the 3M & 6M time-frame are actually an hourly graph!

If you're looking to change the interval for any specific time-frame, I haven't built a feature out for that yet. But it's something I can consider and add to the backlog.

@tarkah tarkah added the enhancement New feature or request label Mar 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant