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