PDA

View Full Version : Bug calling ATM from auto strategy


malcolm
04-13-2010, 09:57 AM
Hi, I am getting this error in the log file when running my auto strategy:

GetAtmStrategyMarketPosition() method error: Missing atmStrategyId parameter

Any ideas?

Thanks

NinjaTrader_Brett
04-13-2010, 11:05 AM
Hello,

Please see the following link:

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

You need to pass in the string for the ATM Strategy that you want to check its market position. If you just looking for your general market position use the following.

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