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 llanqui, Today, 03:53 AM
    0 responses
    6 views
    0 likes
    Last Post llanqui
    by llanqui
     
    Started by burtoninlondon, Today, 12:38 AM
    0 responses
    10 views
    0 likes
    Last Post burtoninlondon  
    Started by AaronKoRn, Yesterday, 09:49 PM
    0 responses
    15 views
    0 likes
    Last Post AaronKoRn  
    Started by carnitron, Yesterday, 08:42 PM
    0 responses
    11 views
    0 likes
    Last Post carnitron  
    Started by strategist007, Yesterday, 07:51 PM
    0 responses
    14 views
    0 likes
    Last Post strategist007  
    Working...
    X