GetAtmStrategyMarketPosition()
GetAtmStrategyMarketPosition()
Definition
Gets the current market position of the specified ATM Strategy.
Notes:
- Changes to positions will not be reflected till at least the next OnBarUpdate() event after an order fill.
- If the ATM Strategy does not exist then MarketPosition.Flat returns.
- Please note this provides access to the current ATM strategy position, which should not be confused with the NinjaScript strategy position or account position. For more information please see the Using ATM Strategies section.
Method Return Value
- MarketPosition.Flat
- MarketPosition.Long
- MarketPosition.Short
Syntax
GetAtmStrategyMarketPosition(string atmStrategyId)

