# TCore 行情API

## 商品资讯

包括商品的交易时间、跳动点、点值、分母值、乘数、币别等等，商品完整资讯。

{% hint style="info" %}
[TCore COM API](https://algomaster.gitbook.io/tcore-api/com-api/tcquotewrapperapi-methods#getinstrumentinfo)、[TCore DLL API](https://algomaster.gitbook.io/tcore-api/c++-regular-dll/rtctradeapi-functions#reqqryinstrument)、[TCore Python API](https://algomaster.gitbook.io/tcore-api/python/tcoreapi_mq.py#queryallinstrumentinfo)、[TCore Excel RTD](https://algomaster.gitbook.io/tcore-api/excel-rtd-yu-vba/excel-rtd-hang-qing-yu-zhang-wu#hang-qing-rtd)
{% endhint %}

## 实时行情

行情API可订阅实时报价主动推送最新的市场行情。

{% hint style="info" %}
订阅 : [TCore COM API](https://algomaster.gitbook.io/tcore-api/com-api/tcquotewrapperapi-methods#subquote)、[TCore DLL API](https://algomaster.gitbook.io/tcore-api/c++-regular-dll/rtcquoteapi-functions#subscribemarketdata)、[TCore Python API](https://algomaster.gitbook.io/tcore-api/python/tcoreapi_mq.py#subquote)、[TCore Excel RTD](https://algomaster.gitbook.io/tcore-api/excel-rtd-yu-vba/excel-rtd-hang-qing-yu-zhang-wu#hang-qing-rtd)

解订 : [TCore COM API](https://algomaster.gitbook.io/tcore-api/com-api/tcquotewrapperapi-methods#unsubquote)、[TCore DLL API](https://algomaster.gitbook.io/tcore-api/c++-regular-dll/rtcquoteapi-functions#unsubscribemarketdata)、[TCore Python API](https://algomaster.gitbook.io/tcore-api/python/tcoreapi_mq.py#unsubquote)

接收 : [TCore COM API](https://algomaster.gitbook.io/tcore-api/com-api/tcquotewrapperapi-events#onquotedata)、[TCore DLL API](https://algomaster.gitbook.io/tcore-api/c++-regular-dll/rtcquoteapi-callbacks#onfrontdisconnected) 、[TCore Python API](https://algomaster.gitbook.io/tcore-api/python/tcore-python-api-kuai-su-an-zhuang-shuo-ming#jian-li-hang-qing-callback-xian-cheng-chu-li-han-shu)、[TCore Excel RTD](https://algomaster.gitbook.io/tcore-api/excel-rtd-yu-vba/excel-rtd-hang-qing-yu-zhang-wu#bao-jia-yi-rtd-dao-ru-excel)
{% endhint %}

## 历史报价资料

行情API可订阅历史日K､历史1K､历史Ticks､当日成交明细。

{% hint style="info" %}
订阅 : [TCore COM API](https://algomaster.gitbook.io/tcore-api/com-api/tcquotewrapperapi-methods#subquote)、[TCore Python API](https://algomaster.gitbook.io/tcore-api/python/tcoreapi_mq.py#sub_history)

解订 : [TCore COM API](https://algomaster.gitbook.io/tcore-api/com-api/tcquotewrapperapi-methods#unsubquote)

接收 : [TCore COM API](https://algomaster.gitbook.io/tcore-api/com-api/tcquotewrapperapi-events#onquotedata)、[TCore Python API](https://algomaster.gitbook.io/tcore-api/python/tcoreapi_mq.py#get_history)
{% endhint %}

## 实时期权敏感度分析

行情API可订阅本地实时运算高频Greeks报价，并可在“设定->期权序列参数设定”自定义运算参数。

{% hint style="info" %}
订阅 : [TCore COM API](https://algomaster.gitbook.io/tcore-api/com-api/tcquotewrapperapi-methods#subquote)、[TCore Python API](https://algomaster.gitbook.io/tcore-api/python/tcoreapi_mq.py#subquote)、[TCore Excel RTD](https://algomaster.gitbook.io/tcore-api/excel-rtd-yu-vba/excel-rtd-hang-qing-yu-zhang-wu#bao-jia-yi-rtd-dao-ru-excel)

解订 : [TCore COM API](https://algomaster.gitbook.io/tcore-api/com-api/tcquotewrapperapi-methods#unsubquote)、[TCore Python API](https://algomaster.gitbook.io/tcore-api/python/tcoreapi_mq.py#unsubquote)

接收 : [TCore COM API](https://algomaster.gitbook.io/tcore-api/com-api/tcquotewrapperapi-events#onquotedata)、[TCore Python API](https://algomaster.gitbook.io/tcore-api/python/tcore-python-api-kuai-su-an-zhuang-shuo-ming#jian-li-hang-qing-callback-xian-cheng-chu-li-han-shu)、[TCore Excel RTD](https://algomaster.gitbook.io/tcore-api/excel-rtd-yu-vba/excel-rtd-hang-qing-yu-zhang-wu#bao-jia-yi-rtd-dao-ru-excel)
{% endhint %}

![](https://375314124-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MCuuPSmhXrpn_5hb_K8%2F-ME8Lma1GmncP-o1BQqH%2F-ME8MXVfnUN-G1EvR6X3%2Fimage.png?alt=media\&token=2c185fb8-b217-4a5d-9458-b630335aa4b0)

![](https://375314124-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MCuuPSmhXrpn_5hb_K8%2F-ME8Lma1GmncP-o1BQqH%2F-ME8MaUf8446zNV-_lCC%2Fimage.png?alt=media\&token=52c6511e-b410-4d00-9d37-7a104698a052)

![咏春大师2量化版 期权序列参数设定](https://375314124-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MCuuPSmhXrpn_5hb_K8%2F-ME8Lma1GmncP-o1BQqH%2F-ME8MhzXQtk8Q3vJHbxr%2Fimage.png?alt=media\&token=8ab904db-a63d-4d51-9acd-8cd252766e97)
