> For the complete documentation index, see [llms.txt](https://algomaster.gitbook.io/tcore-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://algomaster.gitbook.io/tcore-api/c++-regular-dll/rtcquoteapi-callbacks.md).

# 行情 DLL callbacks

RTCQuoteAPISpi介面

## **OnFrontConnected**

当客户端与TCore通信连接时，该方法被调用

```csharp
void OnFrontConnected()
```

## **OnFrontDisconnected**

当客户端与TCore通信连接断开时，该方法被调用。

```csharp
void OnFrontDisconnected()
```

## **OnRtnDepthMarketData**

行情通知

{% tabs %}
{% tab title="Callback" %}

```csharp
void OnRtnDepthMarketData(ICEDepthMarketDataField *pDepthMarketData)
```

| **Parameters**   | 类型      | 说明                                                                                                                 |
| ---------------- | ------- | ------------------------------------------------------------------------------------------------------------------ |
| pDepthMarketData | pointer | [ICEDepthMarketDataField ](/tcore-api/c++-regular-dll/hang-qing-data-struct.md#icedepthmarketdatafield)data struct |
| {% endtab %}     |         |                                                                                                                    |
| {% endtabs %}    |         |                                                                                                                    |
