Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
OnPositionUpdate() Question
Collapse
X
-
Hello,
Thank you for the question.
I tried a Print from OnPositionUpdate and can see the result listing the position I was entering into, I will need to confirm with development on this item along with the help guide to ensure what is expected is happening and documented.
Once I have further details on this question I will reply back.
Edit:
The help guide has been corrected to reflect the correct states the position can be in.
I look forward to being of further assistance,Last edited by NinjaTrader_Jesse; 12-31-2015, 07:44 AM.
-
OnPositionUpdate() Question
The position object in the OnPositionUpdate is described in the help as:
"A Position representing the position before OnPositionUpdate() was called".
Should it represent the position "before" it is executed? or will it reflect the position "after" the order is executed?
I'm seeing it as the position "after" the execution, which leaves me confused as to the help description.Tags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by nleitman, Yesterday, 11:46 AM
|
15 responses
35 views
0 likes
|
Last Post Today, 09:45 AM | ||
Started by MSerag, Yesterday, 11:52 PM
|
3 responses
23 views
0 likes
|
Last Post Today, 08:52 AM | ||
Started by dcriador, Yesterday, 01:43 AM
|
6 responses
27 views
0 likes
|
Last Post Today, 08:51 AM | ||
Started by James650, Today, 08:25 AM
|
1 response
2 views
0 likes
|
Last Post Today, 08:35 AM | ||
Started by Rogers101, 05-05-2024, 11:30 AM
|
14 responses
40 views
0 likes
|
Last Post Today, 08:32 AM |
Leave a comment: