Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

multi-feed script

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

    multi-feed script

    I wonder, if multi-feed trade is possible. I mean:
    1) I use two providers and the script gets the quotes of two instruments from different connections
    2) script submits orders for the instruments from different connections

    Seems - not. Right? At least, I can't manage so far...

    #2
    nofff, it sure is possible to get data into one strategy from multiple data feeds, but it is not possible to trade multiple accounts from one strategy.

    What are you having issues with?
    AustinNinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Austin View Post
      nofff, it sure is possible to get data into one strategy from multiple data feeds, but it is not possible to trade multiple accounts from one strategy.

      What are you having issues with?
      Thanks, I see. But for example:

      Connected - Gain, Zen-Fire
      I put the strategy on ES (Zen-Fire), another instrument used - $GBPUSD (Gain). We get:
      ......................
      26.10.2009 0:02 Default EnterShort instrument 1 Bid=1088,5
      26.10.2009 0:02 Default EnterLong instrument 2 Ask=1,5891
      26.10.2009 0:02 Default EnterShort instrument 1 Bid=1069,75
      26.10.2009 0:02 Default EnterLong instrument 2 Ask=1,5808
      26.10.2009 0:02 Default EnterShort instrument 1 Bid=1072
      26.10.2009 0:02 Default EnterShort instrument 1 Bid=1068,5
      26.10.2009 0:02 Default EnterLong instrument 2 Ask=1,5858
      26.10.2009 0:02 Strategy Starting NinjaScript strategy ...
      Seems like one could trade in real time in both instruments?
      or in such configuration it would be possible to submit orders for GBP only?

      Comment


        #4
        You would need to strategy instances here, as you would to execute to two different accounts, a Zen one and a Gain one...

        Comment


          #5
          Does not work... In real time it writes
          Order '...' can't be submitted: Instrument type 'Future' is not supported by primary connection. Simulation only supports instrument types supported through the first connection established.

          Comment


            #6
            You need to connect to Zen first and Gain second to sim trade futures.
            Josh P.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by CarlTrading, 03-31-2026, 09:41 PM
            1 response
            87 views
            1 like
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 04-01-2026, 02:41 AM
            0 responses
            47 views
            0 likes
            Last Post CarlTrading  
            Started by CaptainJack, 03-31-2026, 11:44 PM
            0 responses
            66 views
            2 likes
            Last Post CaptainJack  
            Started by CarlTrading, 03-30-2026, 11:51 AM
            0 responses
            69 views
            0 likes
            Last Post CarlTrading  
            Started by CarlTrading, 03-30-2026, 11:48 AM
            0 responses
            58 views
            0 likes
            Last Post CarlTrading  
            Working...
            X