# RetrieveQuoteResponse

The current best bid and offer for a specified security

## Example Usage

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

let value: RetrieveQuoteResponse = {};
```

## Fields

| Field                                                                                                                                                                                                                                   | Type                                                                                                                                                                                                                                    | Required                                                                                                                                                                                                                                | Description                                                                                                                                                                                                                             | Example                                                                                                                                                                                                                                 |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `accountId`                                                                                                                                                                                                                             | *string*                                                                                                                                                                                                                                | :heavy_minus_sign:                                                                                                                                                                                                                      | The account id used in calculating order costs                                                                                                                                                                                          | 01HBRQ5BW6ZAY4BNWP4GWRD80X                                                                                                                                                                                                              |
| `askMinimumQuantity`                                                                                                                                                                                                                    | [components.AskMinimumQuantity](../../models/components/askminimumquantity.md)                                                                                                                                                          | :heavy_minus_sign:                                                                                                                                                                                                                      | The best ask minimum quantity. This will be absent if no ask information is available                                                                                                                                                   | {<br/>"value": "100"<br/>}                                                                                                                                                                                                              |
| `askPrices`                                                                                                                                                                                                                             | [components.BidAskPrice](../../models/components/bidaskprice.md)[]                                                                                                                                                                      | :heavy_minus_sign:                                                                                                                                                                                                                      | The price information of the best ask matching the request criteria. If no ask information is available at all, this will be empty. If yield information is not available, then this will only contain a PERCENTAGE_OF_PAR-typed price. | [<br/>{<br/>"price": {<br/>"value": "93.22"<br/>},<br/>"type": "PERCENTAGE_OF_PAR"<br/>}<br/>]                                                                                                                                          |
| `askQuantity`                                                                                                                                                                                                                           | [components.AskQuantity](../../models/components/askquantity.md)                                                                                                                                                                        | :heavy_minus_sign:                                                                                                                                                                                                                      | The best ask quantity. This will be absent if no ask information is available                                                                                                                                                           | [<br/>{<br/>"value": "2000"<br/>}<br/>]                                                                                                                                                                                                 |
| `assetId`                                                                                                                                                                                                                               | *string*                                                                                                                                                                                                                                | :heavy_minus_sign:                                                                                                                                                                                                                      | Apex Asset ID for this asset.                                                                                                                                                                                                           | 22091                                                                                                                                                                                                                                   |
| `assetType`                                                                                                                                                                                                                             | [components.RetrieveQuoteResponseAssetType](../../models/components/retrievequoteresponseassettype.md)                                                                                                                                  | :heavy_minus_sign:                                                                                                                                                                                                                      | The type of asset referenced by the security identifier                                                                                                                                                                                 | FIXED_INCOME                                                                                                                                                                                                                            |
| `bidMinimumQuantity`                                                                                                                                                                                                                    | [components.BidMinimumQuantity](../../models/components/bidminimumquantity.md)                                                                                                                                                          | :heavy_minus_sign:                                                                                                                                                                                                                      | The best bid minimum quantity. This will be absent if no bid information is available                                                                                                                                                   | {<br/>"value": "100"<br/>}                                                                                                                                                                                                              |
| `bidPrices`                                                                                                                                                                                                                             | [components.BidAskPrice](../../models/components/bidaskprice.md)[]                                                                                                                                                                      | :heavy_minus_sign:                                                                                                                                                                                                                      | The price information of the best bid matching the request criteria. If no bid information is available at all, this will be empty. If yield information is not available, then this will only contain a PERCENTAGE_OF_PAR-typed price. | [<br/>{<br/>"price": {<br/>"value": "97.44"<br/>},<br/>"type": "PERCENTAGE_OF_PAR"<br/>}<br/>]                                                                                                                                          |
| `bidQuantity`                                                                                                                                                                                                                           | [components.BidQuantity](../../models/components/bidquantity.md)                                                                                                                                                                        | :heavy_minus_sign:                                                                                                                                                                                                                      | The best bid quantity. This will be absent if no bid information is available                                                                                                                                                           | {<br/>"value": "2000"<br/>}                                                                                                                                                                                                             |
| `brokerCapacity`                                                                                                                                                                                                                        | [components.RetrieveQuoteResponseBrokerCapacity](../../models/components/retrievequoteresponsebrokercapacity.md)                                                                                                                        | :heavy_minus_sign:                                                                                                                                                                                                                      | Capacity used in determining bid and ask prices. Defaults to "AGENCY" if no value specified.                                                                                                                                            | AGENCY                                                                                                                                                                                                                                  |
| `identifier`                                                                                                                                                                                                                            | *string*                                                                                                                                                                                                                                | :heavy_minus_sign:                                                                                                                                                                                                                      | Identifier of the asset (of the type specified in `identifier_type`).                                                                                                                                                                   | 037833100                                                                                                                                                                                                                               |
| `identifierType`                                                                                                                                                                                                                        | [components.RetrieveQuoteResponseIdentifierType](../../models/components/retrievequoteresponseidentifiertype.md)                                                                                                                        | :heavy_minus_sign:                                                                                                                                                                                                                      | The identifier type of the asset for which the best bid and offer is returned. This will be the same value as what was sent on the request.                                                                                             | CUSIP                                                                                                                                                                                                                                   |
| `minimumQuantity`                                                                                                                                                                                                                       | [components.MinimumQuantity](../../models/components/minimumquantity.md)                                                                                                                                                                | :heavy_minus_sign:                                                                                                                                                                                                                      | The minimum quantity specified in the request (if any). For Fixed Income: Expressed in the par (face-value) amount and may not exceed two decimal places for USD-based currencies.                                                      | {<br/>"value": "200"<br/>}                                                                                                                                                                                                              |
| `responseGenerationTime`                                                                                                                                                                                                                | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date)                                                                                                                                           | :heavy_minus_sign:                                                                                                                                                                                                                      | The time the response was generated by the system                                                                                                                                                                                       | {"seconds": 171442739, "nanos": 61400000}                                                                                                                                                                                               |