Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
fill price
Collapse
X
-
The IOrder has a property called AvgFillPrice. It represents what it says. Consult the NT Help for the IOrder command.Originally posted by pman777 View Posthi, how do I access the actual fill price of an order inistiated by the "EnterLong" or "EnterShort" command? If there is a sample program that does this, that would be very helpful. thank you!
-
Hi Pman77,
Thank you for posting.
I have attached a link to the IOrder Class from the our online help guide.
http://www.ninjatrader.com/support/h...tml?iorder.htm
There are two choices, AvgFillPrice and Filled.
You will need to change the OnBarUpdate() -
This will allow you to call the AvgFillPrice and Filled.Code:protected override void OnOrderUpdate(IOrder order)
Please let me know if I can be of further asisstanceCal H.NinjaTrader Customer Service
Comment
-
Pman77,
There are a couple of reference samples available from the support forum that I have attached below
http://www.ninjatrader.com/support/f...ead.php?t=7499
http://www.ninjatrader.com/support/f...ad.php?t=18890
Please let me know if I can be of further assistanceCal H.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
633 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
364 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
105 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
567 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
568 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment