jackluo / py-quantmod

Powerful financial charting library based on R's Quantmod | http://py-quantmod.readthedocs.io/en/latest/
MIT License
175 stars 55 forks source link

Refactor for usage with plotly 4.1+ #12

Closed vab2048 closed 4 years ago

vab2048 commented 4 years ago

When including import quantmod as qm in a newer plotly application you get the following error:

ImportError: 
The plotly.plotly module is deprecated,
please install the chart-studio package and use the
chart_studio.plotly module instead.

Can this project please be refactored to take into account changes from plotly 4.1+

vab2048 commented 4 years ago

@jackluo if I was to submit a pull request refactoring the project to use the new chart_studio imports (and clean it up so the demo/5min app works) would you be willing to merge and bump the version number?

vab2048 commented 4 years ago

I have created a fork here https://github.com/vab2048/py-quantmod.

This fork allows for offline mode to work with plotly 4.1. (it doesn't contain any refactoring for allowing online mode to work). This matches my requirements so I will close this issue.