Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Possible bug when configuring in HalfPips or Pips

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

    Possible bug when configuring in HalfPips or Pips

    Hi Ninjas,

    I want to explain a weird situation that I've realized doing different backtests. I work with IB, therefore my setting for Forex is in "HalfPip",data comes well and orders are sent normally.
    But doing backtesting with the historical data something rare occurs, if I choose to set my NT in Pip, my backtesting are totally different, better and even more natural, but If I set in "HalfPip" the results not only aren't not good at all, but also it doesn't look realistic, cause numbers of trades, conditions....etc

    Having in mind that is doing backtests working with historical data, it doesn't have much sense at all, so can you review what is this about?

    Thanks

    #2
    Hello pstrusi,

    Data is different, so results can be different as well. When you use HalfPip, orders can execute on half pip prices. When set to Pip, orders will only only execute on whole pips. When you analyze the results, does this clarify the difference?
    JasonNinjaTrader Customer Service

    Comment


      #3
      I think is not simple as that. For example the numbers of trades should be similar, instead I got anormally different numbers of trades, just this is meaningful enough to review that feature. Please consider to review that NT field

      Thanks and please let me know of anything about it

      Comment


        #4
        Are you able to reproduce the issue if you test the SampleMACrossOver strategy on the same amount of data?
        JasonNinjaTrader Customer Service

        Comment


          #5
          I'll try it, good suggestion to contrast. I´ll let u know when done

          Comment


            #6
            Hi Jason,

            I did the backtesting with HalfPip and Pip working with "SampleMACrossOver". The results are different but not quite meaningful as in my code. However working with historical data it there shouldn't be any difference, don't u think?

            I must debugging my code for this issue

            Thanks

            Comment


              #7
              The differences you see with the SampleMACrossOver are likely caused by different executions. One tests only executes orders on whole pips, while the other test can execute orders at half pips.

              Yes, please debug your strategy to check why it produces such different results.
              JasonNinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Touch-Ups, Today, 10:36 AM
              0 responses
              5 views
              0 likes
              Last Post Touch-Ups  
              Started by geddyisodin, 04-25-2024, 05:20 AM
              8 responses
              61 views
              0 likes
              Last Post NinjaTrader_Gaby  
              Started by jxs_xrj, 01-12-2020, 09:49 AM
              4 responses
              3,289 views
              1 like
              Last Post jgualdronc  
              Started by Option Whisperer, Today, 09:55 AM
              0 responses
              5 views
              0 likes
              Last Post Option Whisperer  
              Started by halgo_boulder, 04-20-2024, 08:44 AM
              2 responses
              24 views
              0 likes
              Last Post halgo_boulder  
              Working...
              X