• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Position not closed when stop price triggered in account without enough margin

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

    Position not closed when stop price triggered in account without enough margin

    Let say when you enter a position when your account has $600 and set the stop loss when your account drops to $400 in your strategy. It seems to me that when the stop triggered, the position was not closed and a margin call generated instead. Is there any setting in the strategy to handle the situation like this?

    #2
    Hello gjing,

    Thank you for your note.

    There would be no way to prevent a situation where you are in a position with a stop working, market closes for the weekend, and reopens 10 percent lower and your stop is triggered way below the stop price.

    We would need more information to answer this question, could you please provide more detail? Did you see this happen?

    I look forward to your reply.
    Alan P.NinjaTrader Customer Service

    Comment


      #3
      It happened during the regular trading hours. I opened the positions around 10:05 am today. The stop was trigger 15 minutes later, around 10:20 am. At this moment, the positions were NOT closed by the script because of no enough margin in my account, instead a margin call generated.

      Comment


        #4
        Hello gjing,

        Could you please send an email to platformsupport[at]ninjatrader[dot]com with Attn: Alan P in the Subject line. Also within the email please include a link to this thread, and attach the log and trace files for the day in subject which you can find in My Documents>NinjaTrader8>Log and My Documents>NinjaTrader8/Trace folders.

        I look forward to your email.
        Alan P.NinjaTrader Customer Service

        Comment


          #5
          I deleted all my files on my machine already. So basically the problem is that any opening positions should be closed when the stop triggered, no matter whether your account has enough margin or not. The margin requirements should only apply to opening positions, not exiting them.

          Comment


            #6
            Hello gjing,

            Was the strategy working a stop or was your strategy trying to send a exit position when the 400 loss level was breached?

            Did the strategy have an OCO working? Were you already working a closing order?

            If you'd like to send an email to platformsupport[at]ninjatrader[dot]com with Attn: Alan P in the Subject line to discuss these details please do so.

            I look forward to your reply.
            Alan P.NinjaTrader Customer Service

            Comment


              #7
              I'm using ExitLong/ExitShort when stop loss triggered, not OCO order in my strategy. As I mentioned, the fundamental issue was the margin requirements should only apply for entering positions, NOT exiting ones. Can you check with your developers with that? Thanks.

              Comment


                #8
                Hello gjing,

                Order rejections due to inadequate margin would come from the broker not the software.

                Because you deleted your log and trace files, I would suggest reaching out to your broker for details on what happened and why as they’ll have a record of this.

                Please let us know if you need further assistance.
                Alan P.NinjaTrader Customer Service

                Comment


                  #9
                  My broker is your Ninjatrader broker.

                  Comment


                    #10
                    Hello gjing,

                    Thank you for your response.

                    Please reach out to the NinjaTrader Brokerage at brokeragesupport[at]ninjatrader[dot]com.
                    Patrick H.NinjaTrader Customer Service

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by stewarco, Today, 05:46 AM
                    1 response
                    4 views
                    0 likes
                    Last Post NinjaTrader_Jermaine  
                    Started by andrewtrades, Yesterday, 08:24 PM
                    2 responses
                    15 views
                    0 likes
                    Last Post NinjaTrader_ChristopherD  
                    Started by authenticx, Yesterday, 10:07 PM
                    1 response
                    31 views
                    0 likes
                    Last Post NinjaTrader_PatrickG  
                    Started by jeronymite, Today, 05:11 AM
                    1 response
                    8 views
                    0 likes
                    Last Post NinjaTrader_Jim  
                    Started by Harvard, Yesterday, 11:37 PM
                    1 response
                    22 views
                    0 likes
                    Last Post NinjaTrader_PaulH  
                    Working...
                    X