backtesting.py icon indicating copy to clipboard operation
backtesting.py copied to clipboard

Multiple models on one chart

Open algomaschine opened this issue 5 years ago • 4 comments

Expected Behavior

Is there an elegant and simple way to visualize a few trading models plotted on 1 chart? In fact a lot of projects like mine are centered around comparing various models (and even groups of models), so that would be handy to have a sugary way around this process, so:

  1. individual models with notations on one chart
  2. a group of models trading on the same account each having a proportional share of the capital

Actual Behavior

works with just 1 model

algomaschine avatar Jul 20 '19 06:07 algomaschine

If there was a visualization of multiple models readily available in the lib, what would you expect to see from it?

kernc avatar Aug 01 '19 23:08 kernc

  • curves of pnl
  • some risk metrics of the portfolio like VaR and the ones we already have for single model tests
  • some portfolio optimization library being easily connectable to test meta-parameters of a portfolio

algomaschine avatar Aug 02 '19 07:08 algomaschine

Hi guys just wanted to know how to plot two models then on a graph. For instance PLUS_DI and MINUS_DI of the TA-Lib on one chart. Thank you @kernc

Wihandebeer avatar Mar 22 '20 18:03 Wihandebeer

@Wihandebeer If you mean something like this, don't hijack issues.

kernc avatar Mar 22 '20 22:03 kernc