Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Data & Volume Questions

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

    Data & Volume Questions

    Hi,

    I have a PATS broker and so connect NT (6.5) to them first and eSignal next.
    That all works well except that I can not get live data from the eSignal connection for any symbol which is not mapped to PATS - is this correct?

    If so - is it likely to change in a future release? I ask this because of next question.

    The PATS volume data appears to filtered. The puzzle is this;

    All exchange data (buys, sells, volume, time etc) related to the live PATS symbol flows through the Time and Sales window. Yet when accessing this data via the OnMarketData method, reduced volume data results. If I drop the PATS feed and use eSignal full data is available.

    So - my question is - if when connected to PATS a full data stream is observable through the T & S window, why cant the OnMarketData method get to that data?

    Or (and very possible) am I misunderstanding something here?

    Thanks

    #2
    The same data in the NinjaTrader T&S window and the OnMarketData() method in an indicator or strategy should be identical.

    You can test this by only connecting to Patsystems and applying a custom indicator to a chart that has the following code.

    protected override void OnMarketData(MarketDataEventArgs e)
    {
    if (e.MarketDataType == MarketDataType.Last)
    Print(e.Price + " " + e.Volume);
    }
    RayNinjaTrader Customer Service

    Comment


      #3
      Ok - will do - thanks Ray.

      Any views on my first question?

      Comment


        #4
        You can not get any data for futures contracts from eSignal if you connect to Pats first and eSignal second.
        RayNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by ZenCortexCLICK, Today, 04:58 AM
        0 responses
        5 views
        0 likes
        Last Post ZenCortexCLICK  
        Started by sidlercom80, 10-28-2023, 08:49 AM
        172 responses
        2,281 views
        0 likes
        Last Post sidlercom80  
        Started by Irukandji, Yesterday, 02:53 AM
        2 responses
        18 views
        0 likes
        Last Post Irukandji  
        Started by adeelshahzad, Today, 03:54 AM
        0 responses
        8 views
        0 likes
        Last Post adeelshahzad  
        Started by Barry Milan, Yesterday, 10:35 PM
        3 responses
        13 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Working...
        X