• 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

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.
    Patrick H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by ntbone, 07-13-2019, 11:37 PM
    9 responses
    27 views
    0 likes
    Last Post Spaggetti Ninjja  
    Started by nicknamed, Today, 05:10 PM
    1 response
    15 views
    0 likes
    Last Post NinjaTrader_EricB  
    Started by pstrusi, Today, 04:57 PM
    0 responses
    6 views
    0 likes
    Last Post pstrusi
    by pstrusi
     
    Started by williamzz, Today, 04:18 PM
    0 responses
    6 views
    0 likes
    Last Post williamzz  
    Started by ct, Today, 01:57 PM
    2 responses
    14 views
    0 likes
    Last Post ct
    by ct
     
    Working...
    X