equity_curve#
API documentation for tradeexecutor.visual.equity_curve Python module in Trading Strategy.
Module description#
Equity curve based statistics and visualisations.
For more information see the narrative documentation on Profitability calculations.
Functions#
|
Calculate strategy aggregatd results over different timespans. |
Calculate realised profitability of closed trading positions, with the compounding effect. |
|
Calculate the current profitability of open and closed trading positions, with the compounding effect. |
|
|
Calculates the cumulative daily returns for the strategy over time |
|
Calculate cumulative returns for the equity curve. |
|
Calculate daily returns of a backtested results. |
|
Calculate daily/monthly/returns on capital. z See Profitability calculations for more information. |
|
Calculate equity curve for the portfolio. |
|
Calculate deposit/redemption i nflows/outflows of a strategy. |
|
|
Calculates the the non cumulative daily returns for the strategy over time. |
|
Calculate realised profitability of closed trading positions. |
|
|
Calculate returns of an equity curve. |
|
Calculate rolling Sharpe ration. |
|
|
Calculate realised profitability of closed trading positions relative to the portfolio size.. |
|
|
Get the statistics out from the summary profit data. |
Create a benchmark series based on price action. |
|
|
Resample returns series to a longer time frame. |
|
Draw equity curve, drawdown and daily returns using quantstats. |
|
Breakdown the best day/month/yearly returns |
|
Draw a grid of returns over time. |