• 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 tjendra, Today, 09:58 AM
    0 responses
    7 views
    0 likes
    Last Post tjendra
    by tjendra
     
    Started by juanram, Today, 03:50 AM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by emuns, Today, 08:28 AM
    0 responses
    6 views
    0 likes
    Last Post emuns
    by emuns
     
    Started by backtester831, Today, 08:14 AM
    1 response
    9 views
    0 likes
    Last Post NinjaTrader_RyanS  
    Started by HiddenPhilosopher, Today, 03:53 AM
    6 responses
    17 views
    0 likes
    Last Post HiddenPhilosopher  
    Working...
    X