> For the complete documentation index, see [llms.txt](https://touchance-1.gitbook.io/touchance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://touchance-1.gitbook.io/touchance/multicharts/jia-zhi-han-shu/mcextendquote/re-men-yue-han-shu-gethotchange.md).

# GetHotChange

## **語法**

```
GetHotChange(Symbol_NAME,EL_Date,El_times,TimeZone);
```

## **範例**

查詢 CME.GC HOT合約的換月狀態，存入 test 字串變數並列印結果。

```
var:test("");
test = GetHotChange("CME.GC HOT",Date,time_s,1);
print(D,"	",T,"	",test,"	",symbol);
```

**輸出結果**

```
1200128.00	 615.00	CME.GC 2002	CME.GC HOT
1200129.00	 615.00	CME.GC 2002	CME.GC HOT
1200130.00	 615.00	CME.GC 2002	CME.GC HOT
1200131.00	 615.00	CME.GC 2004	CME.GC HOT
1200201.00	 615.00	CME.GC 2004	CME.GC HOT
```

## **參數**

| **名稱**       | **類型** | **說明**                                          |
| ------------ | ------ | ----------------------------------------------- |
| Symbol\_NAME | 字串型    | 熱門月商品的代碼，如：CME.GC HOT                           |
| EL\_Date     | 數值型    | 查詢的日期                                           |
| EL\_times    | 數值型    | 查詢的時間                                           |
| TimeZone     | 數值型    | <p>顯示時區方式</p><p>0：本地；1：交易所 ( 需跟圖表時區搭配才會正確 )</p> |

{% hint style="warning" %}
只限熱門月商品才可查詢。
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://touchance-1.gitbook.io/touchance/multicharts/jia-zhi-han-shu/mcextendquote/re-men-yue-han-shu-gethotchange.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
