Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Wrong execution price reported by NT 7.0

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

    Wrong execution price reported by NT 7.0

    Hello,

    I just encountered the following problem:
    I buy 7 contracts of ZW 05-14, and get the following (taken from NT log):

    Order='2049529571/XXXXX' Name='PredEntry2725' New state=Working Instrument='ZW 05-14' Action=Buy Limit price=0 Stop price=0 Quantity=7 Type=Market Filled=0 Fill price=0 Error=NoError Native error=''
    Order='2049529571/XXXXX' Name='PredEntry2725' New state=PartFilled Instrument='ZW 05-14' Action=Buy Limit price=0 Stop price=0 Quantity=7 Type=Market Filled=1 Fill price=671 Error=NoError Native error=''
    Execution='ZW 05-14/0000ee6c.5341dc22.01.01' Instrument='ZW 05-14' Account='XXXXX' Exchange=ECbot Price=6.71 Quantity=1 Market position=Long Operation=Insert Order='2049529571' Time='07-Apr-14 10:30:25'

    As you can see, the reported execution price is smaller by the factor of 100. This incorrect price is also shown on the chart, which makes it too look like total mess.
    I'm using TWS to connect to IB. I'm also executing other contracts through the same connection without any problems of this kind.

    All orders are executed and managed via NT script.

    Please assist.

    Thanks!

    #2
    Hello gena72,


    Thank you for your forum post.


    Unfortunately this is an expected situation when connecting to Interactive Brokers and using Instruments such as ZC, ZW and ZS.

    This is a known issue effecting only some IB account where execution confirmations on the above instruments are sent with a improperly formatted decimal.



    We have submitted this situation to Interactive Brokers development team and await on the IB side to correct this situation.


    More information was posted on the following support forum thread:
    Ryan L.NinjaTrader Customer Service

    Comment


      #3
      Thanks for letting me know. Very unfortunate. The correct price is still reported in the IOrder status, though, and i can use it in my script. The question is, will NT be able to manage this position correctly afterwards (charts issues aside)?

      Comment


        #4
        Hello gena72,


        Thank you for the follow up.


        The execution report which we is used for the Position.AvgPrice comes back from Interactive Brokers in a different format which makes position reporting inaccurate.

        NinjaTrader expects the execution report to have the same format as the instrument and due to this situation this is simply not the case on these instruments.
        Ryan L.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by aussugardefender, Today, 01:07 AM
        0 responses
        1 view
        0 likes
        Last Post aussugardefender  
        Started by pvincent, 06-23-2022, 12:53 PM
        14 responses
        238 views
        0 likes
        Last Post Nyman
        by Nyman
         
        Started by TraderG23, 12-08-2023, 07:56 AM
        9 responses
        383 views
        1 like
        Last Post Gavini
        by Gavini
         
        Started by oviejo, Today, 12:28 AM
        0 responses
        1 view
        0 likes
        Last Post oviejo
        by oviejo
         
        Started by pechtri, 06-22-2023, 02:31 AM
        10 responses
        125 views
        0 likes
        Last Post Leeroy_Jenkins  
        Working...
        X