Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

datafeed

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

    datafeed

    Hi,
    in the following:
    protectedoverridevoid OnConnectionStatus(ConnectionStatus OrderStatus, ConnectionStatus priceStatus)
    {
    dataFeed = priceStatus;
    if (dataFeed == ConnectionStatus.Connected) SendMail(....

    is there a way in case of two connections to describe which is the one
    that got disconneceted?

    Thank you,

    #2
    trend, the event that OnConnectionStatus() fires would refer to the connection where the traded account resides for the strategy running.

    Comment


      #3
      Hi Bertrand,

      so if the 2nd connection goes down is there a way to capture
      the Disconnection event?

      Also, unrelated to this, if I import an assembly (dll) and load it
      to the NT namespace, could I remove the zipped file thereafter
      to another directory?

      Thanks,

      Comment


        #4
        trend,

        Unfortunately not from the strategy. The strategy is only running on one feed at a time.

        When you load an assembly it does not care where you have the zip file. It will bring the necessary files into Documents\NinjaTrader 7\bin\Custom. The zip file you used in the import process can be moved anywhere you desire.
        Josh P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        607 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        353 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        105 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        560 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        561 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X