Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

GetCurrentBid() in OnBarUpdate event

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

    GetCurrentBid() in OnBarUpdate event

    If I call the GetCurrentBid() in the OnBarUpdate event (1 tick bars to see individual trades) how accurate this level 1 data really is?

    Can I really trust that it is exactly the bid in the exchange when the trade happened?

    If this is not so what is the right method to get this information for the individual trades?

    I am using ZenFire data.

    SG

    #2
    Hello,

    GetCurrentBid() Will always be the current bid price when the OnBarUpdate() runs.

    If your wanting to interact directly with the data instead of through OnBarUpdate(), plaese use the following however.



    Let me know if I can be of further assistance.
    BrettNinjaTrader Product Management

    Comment


      #3
      Thank you very much for the information.

      SG

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      571 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      330 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
      548 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      549 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X