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 Hwop38, 05-04-2026, 07:02 PM
        0 responses
        161 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        308 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        245 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        349 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        179 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Working...
        X