Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Average Fill Price

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

    Average Fill Price

    I have a strategy that has returned a result that is puzzling me. I'm testing it running NQ in Playback mode. At one point it enters into a Short position @ 7349.25 with a stop @7350.50. As price moved further down, I set the stop to 7348. However the trade unexpectedly gets 'stopped out' @ 7349.75 (not 7348). When I inspected the order object, it shows that 7349.75 was the average fill price. Can you explain why this may have happened? Thanks.

    OrderState: Filled entryOrder: orderId='8d78c54fbc08498d8436de3cade42a70' account='Playback101' name='Stop loss' orderState=Filled instrument='NQ 09-18' orderAction=BuyToCover orderType='Stop Market' limitPrice=0 stopPrice=7348 quantity=1 tif=Gtc oco='c53f4af99f024dd693647d98ba46f422' filled=1 averageFillPrice=7349.75 onBehalfOf='' id=794 time='2018-08-17 10:06:11' gtd='2099-12-01' statementDate='2018-08-17'

    #2
    Hello pman777,

    Thanks for your post.

    To see what has happened we would need to review your log and trace files for the day that you ran the playback. Also will need to know the date and time that you ran the playback.

    Please send your log and trace files to PlatformSupport[at]NinjaTrader[dot]Com and mark the e-mail atten: Paul. Please include a link to this thread for reference in the e-mail.

    Please follow the steps below to manually attach your log and trace files to your email.

    Open your NinjaTrader folder under My Documents.
    Right click on the 'log' and 'trace' folders and select Send To> Compressed (zipped) Folder.
    Send the 2 compressed folders as attachments to the email
    Paul H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by suroot, 04-10-2017, 02:18 AM
    4 responses
    3,021 views
    0 likes
    Last Post truepenny  
    Started by Stanfillirenfro, Today, 07:23 AM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by cmtjoancolmenero, Yesterday, 03:58 PM
    2 responses
    22 views
    0 likes
    Last Post cmtjoancolmenero  
    Started by olisav57, Yesterday, 07:39 PM
    1 response
    9 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by cocoescala, 10-12-2018, 11:02 PM
    7 responses
    944 views
    0 likes
    Last Post Jquiroz1975  
    Working...
    X