Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Position.averageprice

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

    Position.averageprice

    Would it be possible to use Position.averageprice in State.Terminated or when the strategy is terminating?

    #2
    Hello guillembm,

    Yes, if there is a position and the Position object is not null, when disabling the strategy the Position.MarketPosition and Position.AveragePrice can be printed.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by PaulMohn, Today, 03:49 AM
    0 responses
    7 views
    0 likes
    Last Post PaulMohn  
    Started by inanazsocial, Today, 01:15 AM
    1 response
    9 views
    0 likes
    Last Post NinjaTrader_Jason  
    Started by rocketman7, Today, 02:12 AM
    0 responses
    10 views
    0 likes
    Last Post rocketman7  
    Started by dustydbayer, Today, 01:59 AM
    0 responses
    4 views
    0 likes
    Last Post dustydbayer  
    Started by trilliantrader, 04-18-2024, 08:16 AM
    5 responses
    23 views
    0 likes
    Last Post trilliantrader  
    Working...
    X