Is it possible to plot volume candle chart? #416
githubloki
started this conversation in
General
Replies: 2 comments 2 replies
-
The width parameter is not variable across a seris, but constant. I recommend you use a value between 0.1 (10% of width between candles) and 1 (100% of space between candles used). |
Beta Was this translation helpful? Give feedback.
1 reply
-
You'll have to keep track of your "last x+width", which always is the "next x". You can't just iterate over it, but you're close. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I want to plot a candlestick chart whose candle width are based on volume. I tried to pass df.width into candle_width argument but gives an error citing series error.
I.e : fplt.candlestick_ochl (df, candle_width=df.width, ax=ax)
Error : --------
TypeError: arguments did not match any overloaded call:
QRectF(): too many arguments
QRectF(QPointF, QSizeF): argument 1 has unexpected type 'Series'
QRectF(QPointF, QPointF): argument 1 has unexpected type 'Series'
QRectF(float, float, float, float): argument 1 has unexpected type 'Series'
QRectF(QRect): argument 1 has unexpected type 'Series'
QRectF(QRectF): argument 1 has unexpected type 'Series'
Beta Was this translation helpful? Give feedback.
All reactions