Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Enter Orders in Two Seperate Markets at Exactly the Same Time

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

    Enter Orders in Two Seperate Markets at Exactly the Same Time

    I'd like to
    Last edited by sampras010; 03-18-2016, 05:16 AM.

    #2
    Hello sampras010,

    Thank you for your note.

    This is somewhat possible. Your script, can place trades to two instruments at the same time, if you have a secondary instrument added to your script.

    However, for this to be at exactly the same time without even a millisecond difference, you would need to receive a market data event from both instruments at exactly the same time. Other wise if the market data is received from the data provider at different times, this will cause ninja to send the orders as market data is received for that instrument.

    (In other words, if you submit an order to an instrument that doesn't have data, the order will be stuck in PendingSubmit and will never be submitted)

    So you can trigger the orders at the same time, but you to have market data being received at the exact same moment for both instruments to get the submissions out at the exact same time.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hello sampras010,

      Yes, it is possible to exit after the unrealized, realized, or unrealized + realized reaches certain amount. This would require that you code this into your script with logic.

      Attached is an example I have created previously of a daily loss limit that uses unrealized + realized.
      Attached Files
      Chelsea B.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by MacDad, 02-25-2024, 11:48 PM
      7 responses
      158 views
      0 likes
      Last Post loganjarosz123  
      Started by Belfortbucks, Today, 09:29 PM
      0 responses
      6 views
      0 likes
      Last Post Belfortbucks  
      Started by zstheorist, Today, 07:52 PM
      0 responses
      7 views
      0 likes
      Last Post zstheorist  
      Started by pmachiraju, 11-01-2023, 04:46 AM
      8 responses
      151 views
      0 likes
      Last Post rehmans
      by rehmans
       
      Started by mattbsea, Today, 05:44 PM
      0 responses
      6 views
      0 likes
      Last Post mattbsea  
      Working...
      X