Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Unmanaged: what if an order returns with any of this errors ( non rejected case )

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

    Unmanaged: what if an order returns with any of this errors ( non rejected case )

    Let's suppose that there's a successful connection going on and the Strategy submit an order, but for unknown reason it returns with any of this errors, that I understand DON'T KICK in the the handling:

    - ErrorCode.BrokerOrderError
    - ErrorCode.InvalidInstrument
    - ErrorCode.LoginFailed
    - ErrorCode.NoError
    - ErrorCode.NotConnected
    - ErrorCode.NotSupported
    - ErrorCode.Panic
    - ErrorCode.ServerConnectionIsBroken
    - ErrorCode.UnableToCancelOrder
    - ErrorCode.UnableToChangeOrder
    - ErrorCode.UnableToSubmitOrder
    - ErrorCode.UserAbort

    1. What would it happen with that order when returned to me? would it be erased ? Re-submited ? Should I do some snippet for handling them?



    2. What do these errors mean?
    - ErrorCode.NoError
    - ErrorCode.Panic

    Thanks
    Last edited by pstrusi; 10-05-2015, 11:06 AM.

    #2
    Hello pstrusi,

    Thank you for your post.

    Unless NinjaTrader receives a rejection the order will wait for the next OrderState update. So the order will stay in it's current state unless updated.

    ErrorCode's are from the brokerage connections, you would need to contact the provider for information on any error codes you receive.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    475 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    315 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    253 views
    1 like
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    340 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    305 views
    0 likes
    Last Post CarlTrading  
    Working...
    X