> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.ninjatrader.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.ninjatrader.com/_mcp/server.

# AccountItem

# Definition

Represents various account variables used to reflect values the status of the account. Each account connected in NinjaTrader will have it's own unique AccountItem values.

For strategies, see also [OnAccountItemUpdate](/developer/desktop-sdk/references/strategy/onaccountitemupdate). For other objects, you can also subscribe to the [AccountItemUpdate](/developer/desktop-sdk/references/add-on/account-class/accountitemupdate) stream.

## Syntax

`AccountItem`

## Parameters

* AccountItem.BuyingPower
* AccountItem.CashValue
* AccountItem.Commission
* AccountItem.ExcessIntradayMargin
* AccountItem.ExcessInitialMargin
* AccountItem.ExcessMaintenanceMargin
* AccountItem.ExcessPositionMargin
* AccountItem.Fee
* AccountItem.GrossRealizedProfitLoss
* AccountItem.InitialMargin
* AccountItem.IntradayMargin
* AccountItem.LongOptionValue
* AccountItem.LookAheadMaintenanceMargin
* AccountItem.LongStockValue
* AccountItem.MaintenanceMargin
* AccountItem.NetLiquidation
* AccountItem.NetLiquidationByCurrency
* AccountItem.PositionMargin
* AccountItem.RealizedProfitLoss
* AccountItem.ShortOptionValue
* AccountItem.ShortStockValue
* AccountItem.SodCashValue
* AccountItem.SodLiquidatingValue
* AccountItem.UnrealizedProfitLoss
* AccountItem.TotalCashBalance