|
Python version of QChartViewer and Max Drawdown Indicator |
Posted by Rafael on Oct-30-2022 01:59 |
|
Hi,
first, I'd like to congrats everyone behind the whole project, I'm adding it to a personal project and it's being a pleasure to work with.
I have 2 questions if you don't mind,
1) Is there a python version of the QChartViewer implementation, I'd like to use some of its features like the rate limit etc, to do a more "real-time" updates to the financial graph, I'm currently using the good old QLabel to plot it.
2) I need to plot in a subgraph, or like an indicator bellow my main candlestick graph, the max drawdown, looking in the list of indicators available in the Python version I don't see any related to drawdown, I'm already calculating it using pandas, I just need a way to plot it. The question is, does the python lib support creating custom indicators? because I didn't see any example of this, only importing already build indicators.
I'm attaching an example from matplotlib of the max drawdown that I'm trying to port to FinanceChart. it goes from 0 to a certain percentage, and a custom label, Max Drawdown.
Thank you very much!
|
|