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 argusthome, Yesterday, 10:06 AM
            0 responses
            20 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            18 views
            0 likes
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            14 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Started by TheRealMorford, 03-05-2026, 06:15 PM
            0 responses
            9 views
            0 likes
            Last Post TheRealMorford  
            Started by Mindset, 02-28-2026, 06:16 AM
            0 responses
            38 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Working...
            X