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 CarlTrading, 03-31-2026, 09:41 PM
        1 response
        152 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        87 views
        1 like
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        131 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        127 views
        1 like
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        106 views
        0 likes
        Last Post CarlTrading  
        Working...
        X