Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Does MarketData works with IB?

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

    Does MarketData works with IB?

    I am uisng IB as my broker. I am wondering if MarketData works with IB because it said it does not work with some brokers on Ninjatrader's documentation.

    Another question is that I set the OnBarClose to true. And I also want to find a way to control my trade by not waiting until a bar finishes. Can I use OnMarketData instead?

    #2
    Not sure which article you were reading. Please clarify.

    If you set CalculateOnBarClose = true you will have to wait till the bar closes to process your logic if you are using OnBarUpdate(). OnMarketData() will allow you to process the ticks even with a true setting.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Thanks Josh! For the first question, I am referring to MarketDataEventArgs and at the end of this documentation, it says Tips 1. Not all connectivity providers support all MarketDataTypes.

      Thanks for the 2nd question about OnMarketData(). Just want to confirm. Does this function will be triggered when there is a new trade accomplished? Then what does a tick mean? A new price change or new update on bid or ask?
      Last edited by atrader; 09-29-2009, 01:59 PM.

      Comment


        #4
        1. Right. That simply means you may not receive something like MarketDataType.DailyHigh come in for some connectivity providers. For what you are trying to do you should just be using Bid/Ask/Last types and you will receive those for IB.

        2. It triggers whenever the ladder moves and not ONLY when there is a new trade. It is L1 data. Whenever L1 bid/ask moves you will receive those Bid/Ask types. When the last or last trade occurs, you receive the Last type.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Thanks Josh! It is very helpful!

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by charlesugo_1, 05-26-2026, 05:03 PM
          0 responses
          64 views
          0 likes
          Last Post charlesugo_1  
          Started by DannyP96, 05-18-2026, 02:38 PM
          1 response
          149 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 05-11-2026, 05:56 AM
          0 responses
          162 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 05-10-2026, 08:12 PM
          0 responses
          99 views
          0 likes
          Last Post CarlTrading  
          Started by Hwop38, 05-04-2026, 07:02 PM
          0 responses
          286 views
          0 likes
          Last Post Hwop38
          by Hwop38
           
          Working...
          X