Skip to content

Can I plot another candlestick chart below the original one? #549

Answered by kernc
hz7451 asked this question in Q&A
Discussion options

You must be logged in to vote

Strategy.I() only supports overlaying or appending line and scatter plots, but Backtest.plot() does return you a Bokeh Figure object and maybe you can fiddle with it yourself:


fig = gridplot(
plots,
ncols=ncols,
toolbar_options=dict(logo=None),
toolbar_location='above',
merge_tools=True,
)
show(fig, browser=None if open_browser else 'none')
return fig

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hz7451
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants