NexusFi: Find Your Edge


Home Menu

 





Execution price not matching position price


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one gparkis with 4 posts (0 thanks)
    2. looks_two Fadi with 2 posts (0 thanks)
    3. looks_3 bnichols with 1 posts (0 thanks)
    4. looks_4 monpere with 1 posts (0 thanks)
    1. trending_up 3,078 views
    2. thumb_up 3 thanks given
    3. group 4 followers
    1. forum 9 posts
    2. attach_file 0 attachments




 
Search this Thread

Execution price not matching position price

  #1 (permalink)
 gparkis 
New York City, NY/USA
 
Experience: Intermediate
Platform: NT
Trading: 6E, ZN, CL
Posts: 121 since Dec 2010
Thanks Given: 3
Thanks Received: 74

In NT7, has anyone found their position avg price does not match the executed price?
this is on live account and single trade so not averaging is needed.
my broker statement and NT log show the correct execution but the chart trader and position tab are wrong???

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Exit Strategy
NinjaTrader
PowerLanguage & EasyLanguage. How to get the platfor …
EasyLanguage Programming
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
REcommedations for programming help
Sierra Chart
Better Renko Gaps
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
31 thanks
Spoo-nalysis ES e-mini futures S&P 500
29 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
20 thanks
GFIs1 1 DAX trade per day journal
17 thanks
  #2 (permalink)
 
Fadi's Avatar
 Fadi 
Luxembourg
 
Experience: Advanced
Platform: NinjaTrader
Broker: IB / Kinetick
Trading: ES, CL
Posts: 485 since Apr 2012
Thanks Given: 667
Thanks Received: 648

factoring in commission fees perhaps?

Successful people will do what unsuccessful people won't or can't do!
Follow me on Twitter Reply With Quote
  #3 (permalink)
 gparkis 
New York City, NY/USA
 
Experience: Intermediate
Platform: NT
Trading: 6E, ZN, CL
Posts: 121 since Dec 2010
Thanks Given: 3
Thanks Received: 74


i do not have comm. fees configured in NT.

Also, you will note I didnt say anything about profit or loss but NT changed my actual entry price. Execution tab is correct, broker statement is correct, NT7 log is correct but the position tab is wrong.

Started this thread Reply With Quote
  #4 (permalink)
 
Fadi's Avatar
 Fadi 
Luxembourg
 
Experience: Advanced
Platform: NinjaTrader
Broker: IB / Kinetick
Trading: ES, CL
Posts: 485 since Apr 2012
Thanks Given: 667
Thanks Received: 648

I don't have comm. fees configured in NT either and I do have the same situation as you mention.
I am with IB and if I factor in the entry commission to take the trade I fall on the price that NT displays...

Successful people will do what unsuccessful people won't or can't do!
Follow me on Twitter Reply With Quote
  #5 (permalink)
 gparkis 
New York City, NY/USA
 
Experience: Intermediate
Platform: NT
Trading: 6E, ZN, CL
Posts: 121 since Dec 2010
Thanks Given: 3
Thanks Received: 74

NT says it has to do with market to market accounting and that is the reason for the discrepancy.

Started this thread Reply With Quote
  #6 (permalink)
 
bnichols's Avatar
 bnichols 
Dartmouth NS
 
Experience: Intermediate
Platform: MC, MC.Net, NT, TWS
Broker: IB / IQFeed / Kids
Trading: Forex, stocks
Posts: 637 since Feb 2010
Thanks Given: 64
Thanks Received: 460

I've noticed entry price will change after 10 PM with IB. No clue why.

Visit my NexusFi Trade Journal Reply With Quote
  #7 (permalink)
 
monpere's Avatar
 monpere 
Bala, PA, USA
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Mirus, IB
Trading: SPY, Oil, Euro
Posts: 1,854 since Jul 2010
Thanks Given: 300
Thanks Received: 3,371


Fadi View Post
I don't have comm. fees configured in NT either and I do have the same situation as you mention.
I am with IB and if I factor in the entry commission to take the trade I fall on the price that NT displays...

Been fighting with NT and IB about this to no avail. I think it is because IB is factoring commissions in the fill prices, and sometimes also by averaging split fills. I don't believe that should be done. The execution price should have absolutely nothing to do with commissions. This screws up all my strategies, stop placement, trailing, everything. Sometimes the price between the IB log, the TWS display and the NT log will all be different. I have to write code to specifically counteract this. NT should put pressure on IB to report the unaltered execution prices, but I doubt that will ever happen.

Reply With Quote
  #8 (permalink)
 gparkis 
New York City, NY/USA
 
Experience: Intermediate
Platform: NT
Trading: 6E, ZN, CL
Posts: 121 since Dec 2010
Thanks Given: 3
Thanks Received: 74

in my case it is not commissions otherwise for a 1 lot that would have been a commission of $240 lol.

it seems to be the broker making the account mark to market at the end of the day and then they post the carry over...so the execution price is what you got not what is seen in the avg price on the position tab.

when using an automated strategy....this mark to market does not affect my strategies and all of my strats. use execution price as the reference price for other computations....

however, if your strat. tries to reference things like account value or current profit/loss then i see it maybe cause a coding issue unless you have the code reference your execution price and not try to grab values from current account.

Started this thread Reply With Quote
  #9 (permalink)
 Koepisch 
@ Germany
 
Experience: Beginner
Platform: NinjaTrader
Broker: Mirus Futures/Zen-Fire
Trading: FDAX
Posts: 569 since Nov 2011
Thanks Given: 440
Thanks Received: 518

Please can anybody explain the term "mark to market"? What is the background for this?

Thanks,
Koepisch

Reply With Quote
  #10 (permalink)
 
NinjaTrader's Avatar
 NinjaTrader  NinjaTrader is an official Site Sponsor
Site Sponsor

Web: NinjaTrader
AMA: Ask Me Anything
Webinars: NinjaTrader Webinars
Elite offer: Click here
 
Posts: 1,713 since May 2010
Thanks Given: 203
Thanks Received: 2,686



Koepisch View Post
Please can anybody explain the term "mark to market"? What is the background for this?

Thanks,
Koepisch

Sure...

- Enter Long 1 @ a price of 1000
- Market closes at a settlement price of 2000
- Your statement for the day shows a profit of 1000 (2000 - 1000)
- Next day your position price is now 2000 (marked to market)
- Market closes at 1500
- Your statement for the day will show a loss of 500 (2000 - 1500)

More information - Mark To Market (MTM) Definition | Investopedia

Follow me on Twitter Reply With Quote
Thanked by:




Last Updated on December 6, 2012


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts