<!-- Public documentation export; not library implementation source. -->
# IDatafeedQuotesApi

[Integration guide](https://docs.lumencharts.com/charting-library/reference/compatibility) · [Reference index](https://docs.lumencharts.com/charting-library/api/)

Public contract reference. This declaration describes types and callback shapes; availability is constrained by the linked integration guide and the runtime capability. Legacy product-specific fields are not a promise of implementation.

## getQuotes {#getquotes}

```ts
getQuotes(
    symbols: string[],
    onDataCallback: QuotesCallback,
    onErrorCallback: QuotesErrorCallback,
  ): void;
```

Use the type signature above and the integration guide for the owning capability.

| Parameter | Type | Required |
| --- | --- | --- |
| `symbols` | `string[]` | Yes |
| `onDataCallback` | `QuotesCallback` | Yes |
| `onErrorCallback` | `QuotesErrorCallback` | Yes |

## subscribeQuotes {#subscribequotes}

```ts
subscribeQuotes(
    symbols: string[],
    fastSymbols: string[],
    onRealtimeCallback: QuotesCallback,
    listenerGUID: string,
  ): void;
```

Use the type signature above and the integration guide for the owning capability.

| Parameter | Type | Required |
| --- | --- | --- |
| `symbols` | `string[]` | Yes |
| `fastSymbols` | `string[]` | Yes |
| `onRealtimeCallback` | `QuotesCallback` | Yes |
| `listenerGUID` | `string` | Yes |

## unsubscribeQuotes {#unsubscribequotes}

```ts
unsubscribeQuotes(listenerGUID: string): void;
```

Use the type signature above and the integration guide for the owning capability.

| Parameter | Type | Required |
| --- | --- | --- |
| `listenerGUID` | `string` | Yes |

## Related types

- [QuotesCallback](https://docs.lumencharts.com/charting-library/api/QuotesCallback)
- [QuotesErrorCallback](https://docs.lumencharts.com/charting-library/api/QuotesErrorCallback)

---
Documentation page: https://docs.lumencharts.com/charting-library/api/IDatafeedQuotesApi
