Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Level 2 data question

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

    Level 2 data question

    OnMarketDepth() is used to get level 2 data. let me use an example to explain my question:
    If at one moment, there is a following level 2 data for stock AA
    stock AA
    bid $9.99 volume 200 share
    bid $9.97 volume 500 share

    If there is a new bid added, like this
    bid $9.99 volume 200 share
    bid $9.98 volume 300 share <<< newly added bid
    bid $9.97 volume 500 share

    So MarketDepth() have an insert event, onMarketData() will be called. Do I get all these three bids level 2 data information, or I just get only the newly inserted bid infor?

    #2
    It seems to me I only can get the newly "inserted" bid infor when it is inserted. If there is an pre-existing bid order before I start NT script, I won't be able to get such level 2 data? If this is true, is there a way to get an pre-existing level 2 data?

    Comment


      #3
      Originally posted by appleseed View Post
      It seems to me I only can get the newly "inserted" bid infor when it is inserted. If there is an pre-existing bid order before I start NT script, I won't be able to get such level 2 data? If this is true, is there a way to get an pre-existing level 2 data?
      I would agree that is "true".

      I would say in response to 2nd Q - impossible.

      Shouldn't you be using OnMarketDepth for Level 2 information?

      Comment


        #4
        sledge and appleseed, you are correct in understanding here. This would be strictly realtime only info, you would not be able to get the previous 'state' from any historical feed / source.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CaptainJack, 05-29-2026, 05:09 AM
        0 responses
        51 views
        0 likes
        Last Post CaptainJack  
        Started by CaptainJack, 05-29-2026, 12:02 AM
        0 responses
        31 views
        0 likes
        Last Post CaptainJack  
        Started by charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        99 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        177 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        170 views
        0 likes
        Last Post CarlTrading  
        Working...
        X