mplfinance
mplfinance copied to clipboard
how to save renko chart data to pandas csv?
Hi,
I did plot renko chart, but i want to save the chart data as csv, how do i do it?
Use kwarg return_calculated_values
. You must assign a variable that is an empty dict to the kwarg. mplfinance will fill the dict with various calulated values which include among them the renko chart data. Here are a couple of links to examples:
- https://github.com/matplotlib/mplfinance/issues/448#issuecomment-926100037
- https://github.com/matplotlib/mplfinance/issues/135#issuecomment-629736615
See also: https://github.com/matplotlib/mplfinance/wiki/Access-to-mplfinance-Calculated-Values
Thanks, Daniel. I appreciate your help.