Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Major Problem

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

    Major Problem

    As Murphys law goes, something went wrong today, the first day I was not only live but not around to watch. Basically the stradegy had an error and quit, leaving me an open position. As I understood the documentation, when a stradegy errors, the positions are exited, not left open. Is there someone I can send the logs too and see what happened?

    #2
    Please send an email to support [at] ninjatrader [dot] com. Thanks.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Can you point to where in the Help Guide is stated positions are exited? For sure, any working orders should be cancelled.
      RayNinjaTrader Customer Service

      Comment


        #4
        Originally posted by NinjaTrader_Ray View Post
        Can you point to where in the Help Guide is stated positions are exited? For sure, any working orders should be cancelled.

        Sure:

        Error handling - Stop, cancel and close
        It is a fact that during live operation of a NinjaScript strategy, orders can return errors. These errors can be things like order rejection due to insufficient margin, exchange is shut down, unable to cancel or modify an order. When a NinjaScript strategy detects an order error it will immediately terminate itself, send cancel requests for all working strategy submitted orders and close any current strategy positions.
        So by that any positions generated by the strategy will be closed, correct?

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by algospoke, 04-17-2024, 06:40 PM
        6 responses
        48 views
        0 likes
        Last Post algospoke  
        Started by arvidvanstaey, Today, 02:19 PM
        4 responses
        11 views
        0 likes
        Last Post arvidvanstaey  
        Started by samish18, 04-17-2024, 08:57 AM
        16 responses
        61 views
        0 likes
        Last Post samish18  
        Started by jordanq2, Today, 03:10 PM
        2 responses
        9 views
        0 likes
        Last Post jordanq2  
        Started by traderqz, Today, 12:06 AM
        10 responses
        21 views
        0 likes
        Last Post traderqz  
        Working...
        X