Hi,
I would like to optimize a portfolio of strategies within Portfolio Trader. With a stand along chart, it is easy to just apply the "Optimize by Sharpe Ratio" signal to the chart/strategy to be optimized.
However, I am not sure how to do this if you are trying to optimize your entire portfolio for the sharpe fitness function. Does anyone know how to do this and where to apply the sharpe fitness functions so that it appears as a metric in the optimization reports?
Thank you!
Optimizing for Sharpe Ratio in Portfolio Trader [SOLVED]
-
- Posts: 50
- Joined: 28 Sep 2014
- Has thanked: 7 times
- Anna MultiCharts
- Posts: 560
- Joined: 14 Jul 2017
- Has thanked: 42 times
- Been thanked: 141 times
Re: Optimizing for Sharpe Ratio in Portfolio Trader
Hello, trader0311!
Please, provide screenshots of what you’re doing in MultiCharts and what difficulty you have with Portfolio.
Please, provide screenshots of what you’re doing in MultiCharts and what difficulty you have with Portfolio.
-
- Posts: 50
- Joined: 28 Sep 2014
- Has thanked: 7 times
Re: Optimizing for Sharpe Ratio in Portfolio Trader
I would like to perform an optimization in Portfolio Trader, with a collection of strategies and securities, and I would like to have the sharp ratio as one of my fitness functions that is calculated in the optimization report for the portfolio. Typically, when using a single chart, I would just apply the prebuilt sharpe ratio signal to the chart I am optimizing. However, there are no charts in Portfolio Trader, so how can I optimize my portfolio for sharpe ratio?
Thank you
Thank you
- Anna MultiCharts
- Posts: 560
- Joined: 14 Jul 2017
- Has thanked: 42 times
- Been thanked: 141 times
Re: Optimizing for Sharpe Ratio in Portfolio Trader [SOLVED]
trader0311,
That is also possible to add Optimize by Sharpe Ratio signal for strategies in Portfolio in order to optimize it by Custom Fitness value. At the end of an optimization run there can be only 1 Custom Fitness value for all strategies in Portfolio, so if you need to calculate the total Custom Fitness value for all strategies in Portfolio, then you can transmit the values calculated individually for each strategy to a Money Management Signal (this can be done by means of Global Variables: https://www.multicharts.com/trading-sof ... _Variables) where they can be summed up and then this total value will be used for optimizing Portfolio by Sharpe Ratio.
That is also possible to add Optimize by Sharpe Ratio signal for strategies in Portfolio in order to optimize it by Custom Fitness value. At the end of an optimization run there can be only 1 Custom Fitness value for all strategies in Portfolio, so if you need to calculate the total Custom Fitness value for all strategies in Portfolio, then you can transmit the values calculated individually for each strategy to a Money Management Signal (this can be done by means of Global Variables: https://www.multicharts.com/trading-sof ... _Variables) where they can be summed up and then this total value will be used for optimizing Portfolio by Sharpe Ratio.
Re: Optimizing for Sharpe Ratio in Portfolio Trader
Hi Anna,
Any chance you can give more instructions on how to do this as I'm getting 0 in my custom fitness values after running a optimization in portfolio trader?
I added the !optmize by sharpe! signal to each of my strategies. I added !optmize to sharpe! to money management signal.
Thanks
Any chance you can give more instructions on how to do this as I'm getting 0 in my custom fitness values after running a optimization in portfolio trader?
I added the !optmize by sharpe! signal to each of my strategies. I added !optmize to sharpe! to money management signal.
Thanks
- Anna MultiCharts
- Posts: 560
- Joined: 14 Jul 2017
- Has thanked: 42 times
- Been thanked: 141 times
Re: Optimizing for Sharpe Ratio in Portfolio Trader
Hello, shane1800!
Please make sure that you’ve set up the optimization parameters for Custom Fitness Value properly as described here:
http://www.multicharts.com/discussion/v ... 815#p59930
Please make sure that you’ve set up the optimization parameters for Custom Fitness Value properly as described here:
http://www.multicharts.com/discussion/v ... 815#p59930