Adding volume and auto-fitting the y-axes to both price and volume #410
hollowheights
started this conversation in
General
Replies: 1 comment
-
Hi, sorry I missed your question, that's why it took so long. :) You have two options: a) put the volume on top of the other plot ("overlay"), but that will not show you the actual numbers on the volume chart when you hover over it; and b) put the volume in a separate axis. Both have examples that you can look at for reference. GL! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have the code below and it makes for a chart where only the volume is visible - because the values are obviously in the millions.
# Call finplot for price data fplt.create_plot('My Window', maximize=True) fplt.candlestick_ochl(df[['open', 'close', 'high', 'low']]) fplt.display_timezone = tz.gettz('America/New_York') #Call finplot for volume data fplt.volume_ocv(df[['open', 'close', 'volume']])
I have read through the documentation for hours. But I find that:
Beta Was this translation helpful? Give feedback.
All reactions