• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

OnPositionUpdate() Question

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    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.

    #2
    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.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by bomanpbm, Today, 09:27 PM
    0 responses
    1 view
    0 likes
    Last Post bomanpbm  
    Started by tgn55, Today, 08:47 AM
    0 responses
    8 views
    0 likes
    Last Post tgn55
    by tgn55
     
    Started by ballboy11, 05-04-2019, 10:26 AM
    6 responses
    58 views
    0 likes
    Last Post Kermit
    by Kermit
     
    Started by mrlucky1x, Yesterday, 10:01 PM
    0 responses
    15 views
    0 likes
    Last Post mrlucky1x  
    Started by roger556, Yesterday, 09:22 PM
    0 responses
    8 views
    0 likes
    Last Post roger556  
    Working...
    X