Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Tick per tick feed from zenfire

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

    Tick per tick feed from zenfire

    Hi,

    How can I receive and process each streaming tick data from zenfire ? I am trying to write indicator to process each incoming tick using algorithm.

    Thanks

    #2
    Do you wish to process each market data event as in last trade, bid and ask changes? If yes, you will want to handle the OnMarketData() method.

    More information here - http://www.ninjatrader-support.com/H...arketData.html

    If you want to process a bar on each incoming tick, then just handle OnBarUpdate() but when running your indicator/strategy, set CalculateOnBarClose to false.
    RayNinjaTrader Customer Service

    Comment


      #3
      I am looking for each transaction. Does calculatebaronclose = false work for this? Also, what time function can I use to measure as low as milisecond time window?

      I would like to measure how many transactions going on per 100msec, for example, and plot it every 1000 volume bar is formed in ES.

      Comment


        #4
        ssg10, you can either use Close, GetCurrentBid / GetCurrentAsk in combo with setting CalculateOnBarClose = false or work with the OnMarketData() method altogether for this (this is called on each Level 1 data change).

        Unfortunately subsecond timestamps are not supported per default (working with Time[x]), you should be able to measure subsecond intervals / timespans with general C# sharp method and DateTime objects.

        Comment

        Latest Posts

        Collapse

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