Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
How do I find out if my execution has made me flat?
Collapse
X
-
Hello lakersfan,
NT-Roland is correct, check the Position in OnPositionUpdate().
That said the execution also has a MarketPosition property.
https://ninjatrader.com/support/help.../execution.htm
-
Hi lakersfan,
https://ninjatrader.com/support/help...tionupdate.htm
Look for the description of OnPositionUpdate(). The example in the help guide might be exactly right for you.
NT-Roland
Leave a comment:
-
How do I find out if my execution has made me flat?
I am using OnExecutionUpdate(.... For execution logic. I see that .IsExit will tell me if its an exiting execution.
How do I find out if the execution has made me flat?
So if I have 2 positions in the market the first one exit, nothing happens, then when the second closes, making me flat..
That's what I want to know.Last edited by lakersfan; 06-28-2020, 02:58 PM.Tags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by voltation, Today, 04:32 PM
|
1 response
9 views
0 likes
|
Last Post
|
||
Started by coopgrafik, Today, 03:44 PM
|
2 responses
24 views
0 likes
|
Last Post
![]()
by coopgrafik
Today, 04:20 PM
|
||
Started by cionjay, Today, 02:36 PM
|
1 response
9 views
0 likes
|
Last Post
|
||
Started by onnb1, Today, 02:08 PM
|
1 response
10 views
0 likes
|
Last Post
|
||
Started by omermirza, Today, 01:15 PM
|
4 responses
20 views
0 likes
|
Last Post
![]()
by omermirza
Today, 03:26 PM
|
Leave a comment: