• 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

order getting rejected in unmanaged orders submission

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

    order getting rejected in unmanaged orders submission

    Hi, I am using unmanaged orders submission like oco for my strategy. many times it shows error that orders are rejected. I am using playback forex data to test the strategy. Please see the screenshot attached for better understanding. I have read articles in this forum regarding this, but I could not find a realistic solution or example to avoid this. Any suggestion will be very helpful and appreciated.
    Attached Files

    #2
    Hello asmmbillah,

    Thanks for your post.

    The last error message is advising that the Buy stop or Buy stop limit order that the strategy placed at 1.25807 was at an inappropriate price level relative to where the current price was. These orders must be placed above the current price.

    The strategy would need to check before placing these orders that the current price is less than the order price.
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      Thanks for your reply. Can you please direct me to an example about what you meant?

      Comment


        #4
        Hello asmmbillah,

        Thanks for your reply.

        I am not aware of an example of this.

        The logic can be simply stated as:

        if the current price is less than your intended buystop then place the buystop order.
        else (this would be up to you to decide).


        Paul H.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by [email protected], Today, 10:54 AM
        1 response
        10 views
        0 likes
        Last Post NinjaTrader_ShawnB  
        Started by wbennettjr, Today, 11:18 AM
        1 response
        3 views
        0 likes
        Last Post NinjaTrader_ChrisL  
        Started by Induna, Today, 05:38 AM
        2 responses
        6 views
        0 likes
        Last Post Induna
        by Induna
         
        Started by Alfred, Today, 10:20 AM
        1 response
        11 views
        0 likes
        Last Post NinjaTrader_PatrickG  
        Started by emuns, Today, 10:34 AM
        1 response
        4 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Working...
        X