Chart Backtesting VS Portfolio Backtesting: Difference between revisions
From MultiCharts
Chart Backtesting VS Portfolio Backtesting (view source)
Revision as of 13:51, 10 August 2023
, 10 August 2023no edit summary
No edit summary |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
MultiCharts and [[Portfolio_Trader|Portfolio Trader]] serve | MultiCharts and [[Portfolio_Trader|Portfolio Trader]] serve different purposes, and backtesting on charts and in Portfolio is not supposed to match. Still there are some recommendations that can help bringing the backtesting on charts and in Portfolio as close to each other as possible. | ||
==Instrument settings== | ==Instrument settings== | ||
Line 40: | Line 40: | ||
The following settings are unavailable on charts, therefore they need to be configured so that they don’t influence Portfolio backtesting. In the [[Portfolio_Settings|'''Money Management Settings''']] section: | The following settings are unavailable on charts, therefore they need to be configured so that they don’t influence Portfolio backtesting. In the [[Portfolio_Settings|'''Money Management Settings''']] section: | ||
* | * Exposure = 100% | ||
* | * Max % of Capital at Risk per Position = 100% | ||
* Margin value = 0 | |||
* Max Potential Loss = 0 | |||
<br> | <br> | ||
<div style="background-color: #ff9999;"> '''NOTE:''' Even with all of these recommendations implemented there’s a possibility that the | <div style="background-color: #ff9999;"> '''NOTE:''' Even with all of these recommendations implemented there’s a possibility that the backtesting results in both applications will not match. This is related to the code’s specific and one should review the strategy’s code to find the reason for the discrepancy. An example of how to do that can be found [[Why_an_Order_Was_or_Was_Not_Executed|'''here''']]. </div> | ||
[[Category:FAQ]] | [[Category:FAQ]] |