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 CarlTrading, 03-31-2026, 09:41 PM
|
1 response
63 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
35 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
54 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
61 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
48 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment