From what I gather ( http://www.ninjatrader-support2.com/...ad.php?t=17740 ), NT 6.5 cannot directly access account information like buying power.
To the contrary, I have been able to poll the Sim account's current buying power using something I found from another forum thread:
((AccountItem) Account.GetAccountItem(Cbi.AccountItemType.BuyingPower, Cbi.Currency.Unknown)).Value
Concerning the Sim account, taking a short position actually increases the reported buying power (and the cash value, and the excess equity). This is problematic in that held short positions would overstate uncommitted capital and cause other strategies in my scenario to believe there is more available to them than there really is. The Sim account also allows the buying power to go into negative values. Are these behaviors idiosyncratic of the Sim account, or would any brokerage account act like this ? If they all do this, how would one know when the account is "out of buying power" ?
Comment