-
-
Notifications
You must be signed in to change notification settings - Fork 114
Open
Milestone
Description
I am trying out the OHLC reference guide https://hvplot.holoviz.org/reference/pandas/ohlc.html#pandas-gallery-ohlc.
The OHLC plot is a very important plot to me. Thanks for adding.
As a user I will struggle with the example because I will have to "polish" the example before I can give it to users
- The
volumeplot uses scientific notation. To be quite honest I have never seen that used in Trading. - The last example is simply too small and unresponsive for me as a user. I cannot see anything. At least it should be responsive horizontally and higher vertically. Even better if I could click a button to maximize it for investigation. I've tried to add
.opts(responsive=True, height=SOME_HEIGHT)to all plots and the layout. The height is changed but unfortunately for the plots they don't become responsive. And when added to the layout the option is not known (i.e. I get an error). The first thing I would want as a user is to make it bigger and responsive. - The colors are old school and not appealing.
- The font looks rubbed to me and also old school.
- There is a myriad of tools. Many which does the same (for example the two resets).
- I know from experience that the first thing a user will try is to zoom or change the range. But the default tool on the
volumeandohlcplot is pan. I've seen this many times that users thinks that Bokeh plots are counter intuitive because the right tools are not set as default.
- The Range Tool is difficult to use. Sometimes you have to first have to pan before you can use the Range Tool. Again this is counter intuitive and not nearly as polished as users will be used to. Users will expect to be able to both pan and change the range without having to change to another tool.
For me hvplot is for quick, exploratory data analysis. Thus the default values needs to be spot on. Not something the user/ developer should have to spend time on changing.
Solutions
- Use standard financial formatting of axes.
- Make plot layout higher and horizontally responsive.
- Find some better default colors
- Find a better default font. For example the Open Sans used in the Fast templates.
- Make the set of tools of the plot layout simpler and more lean.
- Set box zoom as default tool on volume and ohlc plot.
- Improve Range Tool so that you always can change the range on the left and right side initially. Maybe that needs fixing from the Bokeh team.
Maybe
- Make sure the user cannot pan outside the
minandmaxof the date range. It take time to get back if you have panned outside this range. I'm not sure you normally can pan outside theminandmaxin ohlc charts.
Inspiration
- Echarts: Functionality is leaner and works. https://echarts.apache.org/examples/en/editor.html?c=custom-ohlc
- Plotly: https://plotly.com/python/ohlc-charts/
- HighCharts: https://www.highcharts.com/demo/stock/ohlc
- Awesome Panel: https://awesome-panel.org/volume-profile-analysis
drmirk and thomasfinstad
Metadata
Metadata
Assignees
Labels
No labels
