# CalculateCashBalanceResponse

The cash balance of an account.

## Example Usage

```typescript
import { CalculateCashBalanceResponse } from "@apexfintechsolutions/ascend-sdk/models/components";

let value: CalculateCashBalanceResponse = {};
```

## Fields

| Field                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | Type                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | Required                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | Example                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `account`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | *string*                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | The account.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | accounts/01H8FB90ZRRFWXB4XC2JPJ1D4Y                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| `availableCashToWithdrawAmount`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | [components.AvailableCashToWithdrawAmount](../../models/components/availablecashtowithdrawamount.md)                                                                                                                                                                                                                                                                                                                                                                                                                                   | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | The account's available cash to withdraw in USD. It is calculated based on the `open_balance_amount` and account activity. This value is always non-negative. If `unadjusted_available_cash_to_withdraw_amount` is negative, this value will be `0`.                                                                                                                                                                                                                                                                                   | {<br/>"value": "100.00"<br/>}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `availableLiquidityAmount`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | [components.AvailableLiquidityAmount](../../models/components/availableliquidityamount.md)                                                                                                                                                                                                                                                                                                                                                                                                                                             | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | The account's available liquidity in USD including the value of cash and equity positions. It is calculated based on the `open_liquidity_amount` and account activity. This value can be negative.                                                                                                                                                                                                                                                                                                                                     | {<br/>"value": "100.00"<br/>}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `fullyPaidUnsettledFundsAmount`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | [components.FullyPaidUnsettledFundsAmount](../../models/components/fullypaidunsettledfundsamount.md)                                                                                                                                                                                                                                                                                                                                                                                                                                   | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | The account's fully paid unsettled funds in USD. Fully paid unsettled funds are proceeds from sales of assets paid for with cash and not bought on margin. If `include_fully_paid_unsettled_funds` is `false`, this value is **subtracted** from `open_balance_amount` and `open_liquidity_amount` to calculate `available_cash_to_withdraw_amount` and `available_liquidity_amount`. This value is always non-negative.                                                                                                               | {<br/>"value": "100.00"<br/>}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `includeFullyPaidUnsettledFunds`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | *boolean*                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | Whether fully paid unsettled funds are included in balances.                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | false                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| `intradayBuyTrades`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | [components.CalculateCashBalanceResponseTradeSummary](../../models/components/calculatecashbalanceresponsetradesummary.md)[]                                                                                                                                                                                                                                                                                                                                                                                                           | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | The account's intraday buy trades. The net amounts are **subtracted** from `open_balance_amount` and `open_liquidity_amount` to calculate `available_cash_to_withdraw_amount` and `available_liquidity_amount`. Since trades have positive amounts, the calculated values will **decrease**.                                                                                                                                                                                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| `intradayDeposits`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | [components.CalculateCashBalanceResponseTransferSummary](../../models/components/calculatecashbalanceresponsetransfersummary.md)[]                                                                                                                                                                                                                                                                                                                                                                                                     | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | The account's eligible intraday deposits that have posted to the ledger. Intraday deposits may be eligible based on mechanism (e.g. intraday ICT deposits are eligible for ICT withdrawals, but not ACH withdrawals). The amounts are **added** to `open_balance_amount` and `open_liquidity_amount` to calculate `available_cash_to_withdraw_amount` and `available_liquidity_amount`. Since deposits have positive amounts, the calculated values will **increase**.                                                                 |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| `intradayReturns`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | [components.CalculateCashBalanceResponseTransferSummary](../../models/components/calculatecashbalanceresponsetransfersummary.md)[]                                                                                                                                                                                                                                                                                                                                                                                                     | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | The account's intraday returns. The amounts are **subtracted** from `open_balance_amount` and `open_liquidity_amount` to calculate `available_cash_to_withdraw_amount` and `available_liquidity_amount`. Returned deposits will **decrease** calculated values because they have positive amounts and returned withdrawals will **increase** calculated values because they have negative amounts.                                                                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| `intradayWithdrawals`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | [components.CalculateCashBalanceResponseTransferSummary](../../models/components/calculatecashbalanceresponsetransfersummary.md)[]                                                                                                                                                                                                                                                                                                                                                                                                     | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | The account's intraday withdrawals that have posted to the ledger. The amounts are **added** to `open_balance_amount` and `open_liquidity_amount` to calculate `available_cash_to_withdraw_amount` and `available_liquidity_amount`. Since withdrawals have negative amounts, the calculated values will **decrease**.                                                                                                                                                                                                                 |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| `openBalanceAmount`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | [components.OpenBalanceAmount](../../models/components/openbalanceamount.md)                                                                                                                                                                                                                                                                                                                                                                                                                                                           | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | The account's starting cash balance for the day in USD as calculated by the margin system. It is used as the base to calculate `available_cash_to_withdraw_amount`. This value is always non-negative.                                                                                                                                                                                                                                                                                                                                 | {<br/>"value": "100.00"<br/>}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `openBuyOrders`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | [components.CalculateCashBalanceResponseOpenOrderSummary](../../models/components/calculatecashbalanceresponseopenordersummary.md)[]                                                                                                                                                                                                                                                                                                                                                                                                   | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | The account's open buy orders. The expected notional ceilings are **subtracted** from `open_balance_amount` and `open_liquidity_amount` to calculate `available_cash_to_withdraw_amount` and `available_liquidity_amount`. Since open orders have positive expected notional ceilings, the calculated values will **decrease**.                                                                                                                                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| `openLiquidityAmount`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | [components.OpenLiquidityAmount](../../models/components/openliquidityamount.md)                                                                                                                                                                                                                                                                                                                                                                                                                                                       | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | The account's starting liquidity for the day in USD as calculated by the margin system. It includes the value of all asset positions (e.g. cash, equities, fixed income, etc). It is used as the base to calculate `available_liquidity_amount`. This value can be negative.                                                                                                                                                                                                                                                           | {<br/>"value": "100.00"<br/>}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `pendingDebitDividendsAmount`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | [components.PendingDebitDividendsAmount](../../models/components/pendingdebitdividendsamount.md)                                                                                                                                                                                                                                                                                                                                                                                                                                       | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | The account's pending debit dividends in USD. The value is **subtracted** from `open_balance_amount` and `open_liquidity_amount` to calculate `available_cash_to_withdraw_amount` and `available_liquidity_amount`. This value is always non-negative.                                                                                                                                                                                                                                                                                 | {<br/>"value": "100.00"<br/>}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `pendingDebitInterestAmount`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | [components.PendingDebitInterestAmount](../../models/components/pendingdebitinterestamount.md)                                                                                                                                                                                                                                                                                                                                                                                                                                         | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | The account's pending debit interest in USD. The value is **subtracted** from `open_balance_amount` and `open_liquidity_amount` to calculate `available_cash_to_withdraw_amount` and `available_liquidity_amount`. This value is always non-negative.                                                                                                                                                                                                                                                                                  | {<br/>"value": "100.00"<br/>}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `pendingWithdrawals`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | [components.CalculateCashBalanceResponseTransferSummary](../../models/components/calculatecashbalanceresponsetransfersummary.md)[]                                                                                                                                                                                                                                                                                                                                                                                                     | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | The account's pending withdrawals. Pending withdrawals may need review and have yet to post to the ledger. The amounts are **added** to `open_balance_amount` and `open_liquidity_amount` to calculate `available_cash_to_withdraw_amount` and `available_liquidity_amount`. Since withdrawals have negative amounts, the calculated values will **decrease**.                                                                                                                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| `settledCashAvailableToWithdraw`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | [components.SettledCashAvailableToWithdraw](../../models/components/settledcashavailabletowithdraw.md)                                                                                                                                                                                                                                                                                                                                                                                                                                 | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | The account's total settled balance in USD. Net balance of settled cash and settled cash equivalents This value can be positive or negative.                                                                                                                                                                                                                                                                                                                                                                                           | {<br/>"value": "100.00"<br/>}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `tradeCashAvailableToWithdraw`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | [components.TradeCashAvailableToWithdraw](../../models/components/tradecashavailabletowithdraw.md)                                                                                                                                                                                                                                                                                                                                                                                                                                     | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | The account's total trade balance in USD. Real Time net balance of cash and cash equivalents in the investor account, inclusive of current day activity. This value can be positive or negative.                                                                                                                                                                                                                                                                                                                                       | {<br/>"value": "100.00"<br/>}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `unadjustedAvailableCashToWithdrawAmount`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | [components.UnadjustedAvailableCashToWithdrawAmount](../../models/components/unadjustedavailablecashtowithdrawamount.md)                                                                                                                                                                                                                                                                                                                                                                                                               | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | The account's unadjusted available cash to withdraw in USD. It is calculated based on the `open_balance_amount` and account activity. This value can be negative.                                                                                                                                                                                                                                                                                                                                                                      | {<br/>"value": "100.00"<br/>}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `withheldDepositThresholdAmount`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | [components.WithheldDepositThresholdAmount](../../models/components/withhelddepositthresholdamount.md)                                                                                                                                                                                                                                                                                                                                                                                                                                 | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | The account's withheld deposit threshold. Amounts in `withheld_deposits` up to this threshold will be not be subtracted to calculate `available_cash_to_withdraw_amount` and `available_liquidity_amount`. This value is always non-negative.                                                                                                                                                                                                                                                                                          | {<br/>"value": "100.00"<br/>}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `withheldDeposits`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | [components.CalculateCashBalanceResponseTransferSummary](../../models/components/calculatecashbalanceresponsetransfersummary.md)[]                                                                                                                                                                                                                                                                                                                                                                                                     | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | The account's withheld deposits. Deposits are withheld if there is a risk of a return (e.g. ACH deposits). Typically, they are withheld for 5 business days after completing. The amounts are **subtracted** from `open_balance_amount` and `open_liquidity_amount` to calculate `available_cash_to_withdraw_amount` and `available_liquidity_amount`. Since deposits have positive amounts, the calculated values will **decrease**. However, withheld deposits will not be subtracted up to the `withheld_deposit_threshold_amount`. |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |