Difference between revisions of "Chart Backtesting VS Portfolio Backtesting"
Jump to navigation
Jump to search
Abeloglazova (talk | contribs) |
Abeloglazova (talk | contribs) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | When backtesting one | + | When backtesting one strategy that is the same on a chart and in [[Portfolio_Trader|Portfolio Trader]] a user may encounter some discrepancies in the [[Using Performance Report|Strategy Performance Reports]]. To achieve similar results in both applications one needs to verify the following: |
==Instrument settings== | ==Instrument settings== | ||
Line 5: | Line 5: | ||
<br><div style="background-color: #E3FBE5;">'''Important:''' Portfolio workspace should contain only 1 symbol in the [[Data_Numbers|'''Data 1''']] column!</div> | <br><div style="background-color: #E3FBE5;">'''Important:''' Portfolio workspace should contain only 1 symbol in the [[Data_Numbers|'''Data 1''']] column!</div> | ||
− | # [[Changing_Symbols| | + | # [[Changing_Symbols|Only one symbol]] from one [[:Category:Built-in_Data_Sources|data source]] must be used and they must be identical in both the MultiCharts Chart and the Portfolio Trader; |
# The following parameters should be set identically: | # The following parameters should be set identically: | ||
#* Chart type - regular or [[:category:Non-Standard_Chart_Types|non-standard]]; | #* Chart type - regular or [[:category:Non-Standard_Chart_Types|non-standard]]; | ||
Line 34: | Line 34: | ||
# on the '''Backtesting''' tab: | # on the '''Backtesting''' tab: | ||
#* [[Limit_Order_Execution_Assumptions|Backtesting assumptions]]; | #* [[Limit_Order_Execution_Assumptions|Backtesting assumptions]]; | ||
− | #* [[Realtime-History_Matching|Realtime-history matching]]. | + | #* [[Realtime-History_Matching|Realtime-history matching]]; |
+ | #* [[Bar Magnifier]] and [[Precise_Backtesting|Extended backtesting]] are unavailble for Portfolio, so on the chart it is required to disable these options. | ||
With all these recommendations met the backtesting results of Portoflio and charts should coincide. | With all these recommendations met the backtesting results of Portoflio and charts should coincide. |
Revision as of 16:47, 23 May 2019
When backtesting one strategy that is the same on a chart and in Portfolio Trader a user may encounter some discrepancies in the Strategy Performance Reports. To achieve similar results in both applications one needs to verify the following:
Instrument settings
Important: Portfolio workspace should contain only 1 symbol in the Data 1 column!
- Only one symbol from one data source must be used and they must be identical in both the MultiCharts Chart and the Portfolio Trader;
- The following parameters should be set identically:
- Chart type - regular or non-standard;
- Resolution;
- Quote Field;
- Sessions;
- Build volume on (if the strategy uses volumes in it’s calculations);
- Data Range* - should be specified as From…To and not Days/Bars Back;
- Time Zone*.
*Data Range and Time Zone for Portofio are specified in the common Data settings.
Signal settings
- Signals’ inputs on the chart should match those in Portfolio precisely;
- Intra-Bar Order Generation has to be disabled on charts, because this mode is not available in Portfolio.
Strategy settings
The following strategy settings should also match:
- on the Properties tab:
- Commission Rule;
- Slippage;
- Init Capital (for Portfoio this parameter is specified in the common Portfolio Settings);
- Maximum number of bars study will reference;
- Position limits;
- Trade size;
- on the Backtesting tab:
- Backtesting assumptions;
- Realtime-history matching;
- Bar Magnifier and Extended backtesting are unavailble for Portfolio, so on the chart it is required to disable these options.
With all these recommendations met the backtesting results of Portoflio and charts should coincide.