Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ask/ bid series

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

    ask/ bid series

    For a given bar (eg, 1 minute), should the volume of the ask series plus the volume of the bid series equal the volume of the last series?

    #2
    Hello spottysallrite,
    Thanks for your post.

    I would not expect for the Ask/Bid Series volumes to add up to the total volume for the Last series.
    Josh G.NinjaTrader Customer Service

    Comment


      #3
      ok, why not ?

      Comment


        #4
        This is because the historical bid/ask series holds all bid/ask events sent out by the exchange. This would not be equivalent to the bid/ask at a specific time a trade went off. The reason bid/ask events do not necessarily correspond to trades is because the bid or ask can change without a trade taking place (e.g. in case the best bid or ask withdrew their order or changed the quantity and then the next best bid or ask is selected and an event is fired off for that)

        The reason you see that bid and/or ask volume can be bigger than last volume is for two reasons:
        1. Volume on the bid/ask series represents the volume of orders resting at that price, not the volume of orders which were filled at that price.
        2. Because the bid/ask series added by the script are not 1 tick series, they are accumulating the resting volume-at-price for the whole period (in this case 1 minute).
        If you want to track the bid/ask events which were actually traded (e.g. to match bid/ask volume to last volume) you should be using OnMarketData w/ tick replay and not added ask/bid series.

        Help Guide- OnMarketData()

        Let me know if you have any further questions.
        Last edited by NinjaTrader_JoshG; 10-12-2018, 09:45 AM.
        Josh G.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        574 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        332 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        553 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        551 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X