Utilities
Currency data
Retrieve currency conversion data used by TQX research workflows.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Retrieve currency conversion data used by TQX research workflows.
| Field | Type | Description | Is it required |
|---|---|---|---|
| start_date | Optional[str] | Start date,eg:“20250702” | Optional |
| end_date | Optional[str] | End date,eg:“20250702” | Optional |
| fields | Optional[Union[str, List[str]]] | Exchange rate list | Optional |
| Field | Type | Description |
|---|---|---|
| date | str | date |
| CNY_HKD | double | RMB to Hong Kong dollar |
| CNY_USD | double | RMB to US dollar |
| HKD_USD | double | Hong Kong dollar to US dollar |
| HKD_CNY | double | Hong Kong dollar to Chinese yuan |
| USD_CNY | double | US dollar to Chinese yuan |
| USD_HKD | double | US dollar to Hong Kong dollar |
import tqx_data
result = tqx_data.get_currency(
start_date="20260101",
end_date="20260131",
field=[],
)
print(result)
