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

[Bug] stocks/options/voi - Chart weirdness + --raw flag does not work. #3403

Closed
deeleeramone opened this issue Nov 13, 2022 · 3 comments · Fixed by #4017
Closed

[Bug] stocks/options/voi - Chart weirdness + --raw flag does not work. #3403

deeleeramone opened this issue Nov 13, 2022 · 3 comments · Fixed by #4017
Assignees
Labels
bug Fix bug

Comments

@deeleeramone
Copy link
Contributor

stocks/load qqq/options/exp 0/voi

The chart displays volume and oi. However, oi is added on to the end of the volume graph, instead of being an overlapping value that begins at 0. The chart title also states that open interest is only displayed during market hours, it appears to be inaccurate.

When the strike range is defined as -m 250 -M 290, the chart does not display the full-width of the values. One needs to zoom out before seeing the complete bar.

Screenshot 2022-11-12 at 2 26 29 PM

voi --raw does not show the raw table.

@deeleeramone deeleeramone added the bug Fix bug label Nov 13, 2022
@hjoaquim hjoaquim self-assigned this Nov 30, 2022
@hjoaquim
Copy link
Contributor

hjoaquim commented Dec 6, 2022

@deeleeramone I think when we use the --source Nasdaq we can accomplish what you're saying. Should the default (yf) has a similiar chart?
image

I started addressing this here (mainly the --raw issue): #3665

@jmaslek
Copy link
Collaborator

jmaslek commented Dec 6, 2022

@deeleeramone I think when we use the --source Nasdaq we can accomplish what you're saying. Should the default (yf) has a similiar chart? image

I started addressing this here (mainly the --raw issue): #3665

Yeah when I made the nasdaq chart the goal was to have all of them, but what we actually should want is a single function that would plot vol/oi/voi independent of the data source. I have thought about the options menu and that we should probably have a self.data option like in stocks where we can pass that through to the different functions and this would let us do things much quicker.

@hjoaquim
Copy link
Contributor

hjoaquim commented Dec 6, 2022

@jmaslek yup, that make a lot of sense!

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