PDA

View Full Version : Positions[0].Quantity return negative value when short?


Folls
10-23-2007, 11:14 AM
Hi,

Does Positions[0].Quantity return a negative value when short?

Thanks,

Folls

NinjaTrader_Ray
10-23-2007, 11:41 AM
No, its always a positive integer. Check Position[0].MarketPosition for long/short/flat.

http://www.ninjatrader-support.com/HelpGuideV6/MarketPosition.html

Folls
10-23-2007, 01:13 PM
Thank you. Maybe you should add that to the manual page.

Folls