# E*TRADE

> Read brokerage accounts, holdings, transactions, orders and quotes from E*TRADE.

App · 10 actions. Web page: https://docs.lodol.com/docs/integrations/etrade

## Actions

### Get a quote

Read a stock or option quote for a market symbol.

**Inputs**

- Symbol (`symbol`, text, required): The symbol.
- Detail (`detail`, text): The quote details to request. One of: `ALL`, `FUNDAMENTAL`, `INTRADAY`, `OPTIONS`, `WEEK_52` (Week 52), `MF_DETAIL` (Mf detail).

**Outputs**

- `data` (object): The response from E*TRADE.

**Example output**

```json
{
  "data": {
    "QuoteResponse": {}
  }
}
```

### Get a transaction

Read the details of a posted account transaction.

**Inputs**

- Account Key (`account_key`, text, required): The account key.
- Transaction Id (`transaction_id`, text, required): The transaction id.

**Outputs**

- `data` (object): The response from E*TRADE.

**Example output**

```json
{
  "data": {
    "TransactionDetailsResponse": {}
  }
}
```

### Get account balance

Read cash and buying power for a brokerage account.

**Inputs**

- Account Key (`account_key`, text, required): The account key.
- Real Time (`real_time`, true/false): Include the latest net account value.

**Outputs**

- `data` (object): The response from E*TRADE.

**Example output**

```json
{
  "data": {
    "BalanceResponse": {}
  }
}
```

### List account transactions

Read transactions posted to a brokerage account during a selected date range.

**Inputs**

- Account Key (`account_key`, text, required): The account key.
- Count (`count`, number): The maximum number of results to return. At least 1.
- Marker (`marker`, text): The marker supplied by the previous page.
- Start Date (`start_date`, date): The first date to include.
- End Date (`end_date`, date): The last date to include.

**Outputs**

- `data` (object): The response from E*TRADE.

**Example output**

```json
{
  "data": {
    "TransactionListResponse": {
      "Transaction": [
        {
          "transactionId": 1
        }
      ],
      "marker": "example"
    }
  }
}
```

### List accounts

Read the brokerage accounts available to this connection.

**Inputs**: None.

**Outputs**

- `data` (object): The response from E*TRADE.

**Example output**

```json
{
  "data": {
    "AccountListResponse": {
      "Accounts": {
        "Account": [
          {
            "accountId": "example",
            "accountIdKey": "example",
            "accountName": "example",
            "accountStatus": "example",
            "accountType": "example",
            "institutionType": "example"
          }
        ]
      }
    }
  }
}
```

### List option chains

Read option contracts for a selected stock or ETF symbol.

**Inputs**

- Symbol (`symbol`, text, required): The underlying ticker symbol.
- Chain Type (`chain_type`, text): The type of contracts to include. One of: `CALL`, `PUT`, `CALLPUT`.

**Outputs**

- `data` (object): The response from E*TRADE.

**Example output**

```json
{
  "data": {
    "OptionChainResponse": {}
  }
}
```

### List option expiration dates

Read the available expiration dates for a stock or ETF’s options.

**Inputs**

- Symbol (`symbol`, text, required): The underlying ticker symbol.
- Expiry Type (`expiry_type`, text): Which expirations to include. One of: `ALL`, `MONTHLY`, `WEEKLY`, `QUARTERLY`.

**Outputs**

- `data` (object): The response from E*TRADE.

**Example output**

```json
{
  "data": {
    "OptionExpireDateResponse": {}
  }
}
```

### List orders

Read current and historical orders for a brokerage account.

**Inputs**

- Account Key (`account_key`, text, required): The account key.
- Count (`count`, number): The maximum number of results to return. At least 1.
- Marker (`marker`, text): The marker supplied by the previous page.
- Status (`status`, text): Only show orders with this status. One of: `OPEN`, `EXECUTED`, `CANCELLED`, `INDIVIDUAL_FILLS` (Individual fills), `CANCEL_REQUESTED` (Cancel requested), `EXPIRED`, `REJECTED`.
- Start Date (`start_date`, date): Earliest order date.
- End Date (`end_date`, date): Latest order date.

**Outputs**

- `data` (object): The response from E*TRADE.

**Example output**

```json
{
  "data": {
    "OrdersResponse": {
      "Order": [
        {
          "orderId": 1,
          "orderType": "example"
        }
      ],
      "marker": "example"
    }
  }
}
```

### List portfolio positions

Read the positions and holdings for a brokerage account.

**Inputs**

- Account Key (`account_key`, text, required): The account key.
- Count (`count`, number): The maximum number of results to return. At least 1.
- Marker (`marker`, text): The marker supplied by the previous page.

**Outputs**

- `data` (object): The response from E*TRADE.

**Example output**

```json
{
  "data": {
    "PortfolioResponse": {}
  }
}
```

### Look up symbols

Find market symbols by a partial company name or symbol.

**Inputs**

- Search (`search`, text, required): The search.

**Outputs**

- `data` (object): The response from E*TRADE.

**Example output**

```json
{
  "data": {
    "LookupResponse": {}
  }
}
```
