> 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.

# Get()

## Definition

Returns the value of an **AccountItem**, such as **BuyingPower**, **CashVal**, etc.

## Method Return Value

A double representing the value of the requested **AccountItem**.

## Syntax

`Get(AccountItem itemType, Cbi.Currency currency)`

## Parameters

| Parameter    | Description                                                                                                |
| ------------ | ---------------------------------------------------------------------------------------------------------- |
| **itemType** | The desired **AccountItem** to return                                                                      |
| **Currency** | The account currency the value should be denoted (required parameter, but has no effect on returned value) |

## Examples

```csharp
// Evaluates to see if the account has more than $25000
if (Account.Get(AccountItem.CashValue, Currency.UsDollar) > 25000)
{
   // Do something; 
}
```