Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Orders not executing

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

    Orders not executing

    Hello,

    When a send an order through SubmitOrderUnmanaged() to IB everything seems to work fine without errors but the order is not executed.

    I printed the details of the order for you to see why it's not executed:

    orderId='NT-00001-23' account='DUXXXXX' name='MyOrder' orderState=Working instrument='EURNZD' orderAction=SellShort orderType='Limit' limitPrice=1.6974 stopPrice=0 quantity=6.542 tif=Gtc oco='' filled=0 averageFillPrice=0 onBehalfOf='' id=-1 time='2018-02-06 11:00:00' gtd='2099-12-01' statementDate='2018-02-06'

    No record appear in Positions, Orders or Executions tabs. No errors are displayed

    #2
    I would highly recommend contacting Interactive Brokers Orders Desk to confirm your account's orders/positions so we can be sure that everything is as you expect.

    The print from your log/trace file appears to indicate that the order is working on your Interactive Brokers account, but I do not have full context without more information. I may need you to send in your log and trace files (don't post them here) so I can learn more. However, I'd like to ask a few questions first:
    • What version of NinjaTrader 8 are you using? This can be found under Help -> About (Example: 8.0.X.0)
    • What version of Trader Workstation/Gateway are you using?
    • Does any form of order submission work?
    • For example, can you place a resting order manually to the sim101 account? What about to your Interactive Brokers account?
    • Can you submit orders with your automated strategy to either account using a different method?

    Comment


      #3
      - Version is 8.0.11.1 64 bit
      - IB Gateway is Build 963.3d
      - No orders work if sent from a strategy to IB. If I send them from the order ticket window it works.
      - Sent an order from a strategy to the sim101 account. In this case the order appears in the Order tab as "working but it is never filled"

      Comment


        #4
        I received your files via email. I'll be following up via email shortly.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        57 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        37 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        18 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        20 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        49 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X