Changes

Jump to navigation Jump to search

Portfolio Optimization

2,378 bytes added, 16:51, 27 April 2017
no edit summary
The process of strategy optimization further enhances and automates this process. Strategy optimization is the search for the set of optimum parameters for the defined criteria. By testing a range of signal input values, optimization aids in selecting the values that correspond, based on historical data, to the best strategy performance. Optimization aids in better understanding of strategy's characteristics and in creating new criteria for entries and exits.
Optimization can have detrimental effects if the user searches for the combination of inputs based solely on the best performance over a period of historical data and focuses to too much on market conditions that may never occur again. This approach is known as over-optimization or curve-fitting. Performance will not be the same in real trading, since historical patterns are highly unlikely to be repeated.
<br>
'''Genetic Algorithms''' optimization evaluates only the more promising combinations, finding near-optimum solutions in a fraction of time that would be required by the brute-force approach, making Genetic Algorithm optimization powerful enough to analyze strategies with hundreds of parameters. Genetic Optimizer settings add flexibility to this technique.
To learn more about optimization techniques, see [[<span style="color: red;">'''LINK'''</span>/0290_Optimization/22-9001_UnderstandingOpt.html name=""; Understanding_Optimization|Understanding Optimization]]
<br>
'''Running Portfolio Optimization'''
 
* Open '''Portfolio Trader''' window.
** see '''[[Portfolio Trader#Opening Portfolio Trader|how]]'''.
Once a portfolio has been created, strategy configured, and portfolio settings selected, portfolio optimization can be run.
<br>
http== Exhaustive Search Portfolio Optimization ==  To perform portfolio optimization# Click the '''Optimize''' [[File:Portfolio_Optimize.png]] button on the toolbar, or select '''Portfolio''' in the main menu and then click '''Run Optimization'''.# In the '''Select Optimization Method''' dialog box that appears, select '''Exhaustive Search'''. # In the '''Exhaustive Search Properties''' window that appears, select the '''Optimizable Inputs''' tab. # Check/uncheck the check box to the left of the signal name and input name to enable/wwwdisable optimization for this input or check the check box to the left of the '''Signal Name''' column heading to enable optimization for all inputs (at least one input should be selected to perform optimization).buyxanaxonlinepill# The '''Current Value''' column shows input values that are currently selected for the signals applied on the chart.com/ xanax online no prescription - # In the '''Start Value''' column, enter the desired starting values for each of the inputs.# In the '''End Value''' column, enter the desired ending values for each of the inputs.# In the '''Step''' column, enter the desired step size, for each of the inputs. # The '''Step Count''' column shows current amount of steps for an input. # Select the '''Optimization Criteria''' tab.# Select the '''Use Limitation''' checkbox to limit the output to a defined number of the best results; unselect the checkbox to list all the results in the optimization report.# When '''Use Limitation''' checkbox is checked Optimization dialog window shows current best results for selected сriteria during optimization.# Enter the desired number of best results in the '''Show N best results''' box.# Select the best results criteria in the '''best results for''' list box.# Select '''Ascending''' or '''Descending''' option to sort the output in ascending or descending order xanax no rx, respectively.# Click '''OK''' to run the optimization and generate the Optimization Report. <br>
== Genetic Algorithms Portfolio Optimization ==
To perform portfolio optimization:
# Click the '''Optimize''' http[[File://wwwPortfolio_Optimize.multicharts.com/img/wiki/toolbar/portfolio/06_Optimize.gif png]] button on the toolbar, or select '''Portfolio''' in the main menu and then click '''Run Optimization'''.
# In the '''Select Optimization Method''' dialog box that appears, select '''Genetic Algorithm'''.
# In the '''Genetic Algorithm Properties''' window that appears, select the '''Optimizable Inputs''' tab.
# Check/uncheck the check box to the left of the signal name and input name to enable/disable optimization for this input or check the check box to the left of the '''Signal Name''' column heading to enable optimization for all inputs (at least one input should be selected to perform optimization).
# The '''Current Value''' column shows input values that are currently selected for the signals applied on the chart.
# In the '''Start Value''' column, enter the desired starting values for each of the inputs.
# In the '''End Value''' column, enter the desired ending values for each of the inputs.
# In the '''Step''' column, enter the desired step size, for each of the inputs.
# The '''Step Count''' column shows current amount of steps for an input.
# Select the '''Algorithm-specific Properties''' tab.
# Select the best results criteria in the '''Criteria''' list box.
# Select '''Ascending''' or '''Descending''' option to sort the output in ascending or descending order, respectively.
# Set the Genetic Algorithm properties. For information on GA properties, see [[<span style="color: red;">'''LINK'''</span>/0290_Optimization/22-9001_UnderstandingOpt.html name="1"; Understanding_Optimization#Understanding Genetic Algorithm Optimization|Understanding Genetic Algorithm Optimization]]
# Click '''OK''' to run the optimization and generate the Optimization Report.
# Optimization dialogue window shows Average fitness value for current population during optimization.
<br>
<br>
== Using Optimization Report ==
3D Optimization Chart is a visual representation of how the strategy's parameters affect its trading performance. The 3D graph reveals the most robust parameter zones, and is a great tool for avoiding over-optimization (curve-fitting). Robust parameter zones will appear to have gradual, rather then abrupt changes in the surface plot. Over-optimized zones will appear to have radical changes or spikes in the surface plot.
To view the 3D Optimization Chart, click the '''View 3D Optimization Chart''' http[[File://wwwPortfolio_3D.multicharts.com/img/wiki/portfolio/3D_Chart.gif png]] button at the bottom left of the report window.
A 3D Chart will be displayed in the '''3D Optimization Charts''' window.
<br>
[[Category:Portfolio BacktestingTrading]]

Navigation menu