Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Differences between Stratagy Analizer and Sim Account

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

    Differences between Stratagy Analizer and Sim Account

    Hello. I've encountered with differences between backtesting results in Strategy Analizer and Sim trades. For example: yesterday (3/11/2013) I had a Sim trade by RBOB Gasoline Future. Here is the result of this this trade:

    Entry time: 3/11/2013 4:48:05 AM
    Entry price: 3,2585
    Exit time: 3/11/2013 6:07:42 AM
    Exit price: 3,2351

    Here is the result from Strategy Analizer for same strategy with same parameters:

    Entry time: 3/11/2013 4:49:00 AM
    Entry price: 3,2573
    Exit time: 3/11/2013 6:08:00 AM
    Exit price: 3,23615

    Slippage and comissions are equal 0 in both cases.

    Why it happens? What I have to do to prevent it?

    Thanks in advance.

    #2
    Hello dcheg,

    You should expect differences between a backtest and running a strategy on real-time data. Order fills are determined by OHLC values when you backtest. So orders cannot fill intrabar - you can see this as per the fill times. More information can be found at the link below.


    If you set 'Calculate on bar close' to True upon running the strategy on real-time data, orders will fill at the end of the bar as well and not intrabar.
    JasonNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by md4866, 05-01-2024, 08:15 PM
    2 responses
    18 views
    0 likes
    Last Post md4866
    by md4866
     
    Started by samish18, Today, 12:20 PM
    0 responses
    7 views
    0 likes
    Last Post samish18  
    Started by thread, 04-15-2024, 11:58 PM
    3 responses
    48 views
    0 likes
    Last Post Georg1o
    by Georg1o
     
    Started by leojimenezp, 04-20-2024, 05:49 PM
    4 responses
    49 views
    0 likes
    Last Post leojimenezp  
    Started by nicthe, Today, 09:24 AM
    1 response
    7 views
    0 likes
    Last Post nicthe
    by nicthe
     
    Working...
    X