Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

PositionAccount when it trigger?

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

    PositionAccount when it trigger?

    I have very interesting question.
    In which moment exactly PositionAccount.MarketPosition comes "not flat". For example:
    Is it changes to MarketPosition.Long from MarketPosition.Flat when order setups or only when long order filled succesfully?
    Thank you.

    #2
    Hello YevhenShynkarenko,

    Thank you for your post.

    PositionAccount.MarketPosition transitions from MarketPosition.Flat to MarketPosition.Long when a long order is successfully filled. MarketPosition.Flat transitions to MarketPosition.Short when a short order is filled.

    Below is the help guide documentation for PositionAccount.MarketPosition.


    Let us know if we may further assist.
    Brandon H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NinjaTrader_ChelseaB, 01-08-2017, 06:59 PM
    80 responses
    19,666 views
    5 likes
    Last Post NinjaTrader_ChelseaB  
    Started by adeelshahzad, Today, 03:54 AM
    2 responses
    15 views
    0 likes
    Last Post adeelshahzad  
    Started by dappa, Today, 09:18 AM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by bill2023, Yesterday, 08:51 AM
    5 responses
    24 views
    0 likes
    Last Post bltdavid  
    Started by frankthearm, Today, 09:08 AM
    1 response
    3 views
    0 likes
    Last Post NinjaTrader_Clayton  
    Working...
    X