Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Non-issue question. Any known basic method to consolidate tick data?

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

    Non-issue question. Any known basic method to consolidate tick data?

    If possible for you to answer:

    What simple and basic methods are there to consolidate tick data, for example from 1/10 pips to 1/2 pips. I'm aware that IB consolidates forex tick data but still not sure what algorithm do they use yet.

    Thanks in advance!

    #2
    Hello pstrusi,

    Thank you for your note.

    If you wanted to adjust a price from 1/10th pips to ˝ pips, you would want to round the decimal portion of the number up or down to either 0 or 5. Below would a link to an example of how this could be achieved.

    How can I round numbers up to the nearest whole or to the nearest half? For Example: > 23.15 --> 23.5 > 23.56 --> 24.0 The rounding functions I know about are floor and ceil, but those


    Below is a link to the helpguide on Pips vs Ticks,


    Please let us know if you need further assistance.
    Last edited by NinjaTrader_AlanP; 08-19-2018, 10:50 PM.
    Alan P.NinjaTrader Customer Service

    Comment


      #3
      Thanks Alan for your response.

      Perhaps I didn't explain the goal good enough. IB manages forex tick data in 1/10 pips from ECNs but you have the capacity to this data from them in halfpips, according to your preferences in TWS. So what I'm looking for is how IB "Consolidates" internally from 1/10 to 1/2. It must be something not as simple as rounding or truncating prices, it implies sizes as well. Logically it seems to have some simple arithmetic and logic methods, such as adding up sizes depending on price action.

      If by any chance you had some idea, please let me know. I'm doing a research and developing an algo but still, it shows flaws.

      Thanks
      Last edited by pstrusi; 08-20-2018, 02:51 AM.

      Comment


        #4
        Hello pstrusi,

        Thank you for your response.

        We would not have details on the TWS application nor how Interactive Brokers handles the sizing. In NinjaTrader, Alan is correct in that you would be rounding the values.

        Please let me know if you have any questions.

        Comment


          #5
          Thank you very much for your attention to this matter to both of you.

          Regards

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Barry Milan, Yesterday, 10:35 PM
          5 responses
          16 views
          0 likes
          Last Post NinjaTrader_Manfred  
          Started by DanielSanMartin, Yesterday, 02:37 PM
          2 responses
          13 views
          0 likes
          Last Post DanielSanMartin  
          Started by DJ888, 04-16-2024, 06:09 PM
          4 responses
          12 views
          0 likes
          Last Post DJ888
          by DJ888
           
          Started by terofs, Today, 04:18 PM
          0 responses
          11 views
          0 likes
          Last Post terofs
          by terofs
           
          Started by nandhumca, Today, 03:41 PM
          0 responses
          8 views
          0 likes
          Last Post nandhumca  
          Working...
          X