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 Kaledus, Today, 01:29 PM
      1 response
      7 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by frankthearm, Yesterday, 09:08 AM
      13 responses
      45 views
      0 likes
      Last Post frankthearm  
      Started by PaulMohn, Today, 12:36 PM
      2 responses
      16 views
      0 likes
      Last Post PaulMohn  
      Started by Conceptzx, 10-11-2022, 06:38 AM
      2 responses
      55 views
      0 likes
      Last Post PhillT
      by PhillT
       
      Started by yertle, Yesterday, 08:38 AM
      8 responses
      37 views
      0 likes
      Last Post ryjoga
      by ryjoga
       
      Working...
      X