Announcement

Collapse
No announcement yet.

Backtesting strategies and the prices used

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Backtesting strategies and the prices used

    I have been writing a strategy for daily trading and using the backtest facility and have noticed that it uses opening prices to make trades, whereas if one was actually using it on an end of day basis one would get different results. I have checked the box in tools>efs settings to indicate "compute on close" but that seems make no difference. Has anyone a remedy for this? As it stands, it seems that the backtest results are somewhat unrealistic, and I would like to change that.

    Thanks
    Mark

  • #2
    Re: Reply to post 'Backtesting strategies and the prices used '

    Mark
    You may have the strategy set to Strategy.MARKET and Startegy.THISBAR that
    implies the Open of the current bar (which is unrealistic as you point out).
    You may want to try Strategy.CLOSE/Strategy.THISBAR if you use MOC orders or
    Strategy.MARKET/Strategy.NEXTBAR which implies the Open of the bar following
    the trigger.
    Alex

    Comment


    • #3
      That answered that question

      Alexis

      That was indeed the case and the results are much different. Thank you for the response.

      Mark

      Comment

      Working...
      X