---
title: "匯率 API 如何處理週末 | Narwhal API"
description: "市場休市時，如何透過交易時段、時間戳記和過時狀態解讀外匯匯率。"
url: "https://narwhalapi.com/zh-tw/guides/fx/exchange-rates-on-weekends"
---

# 匯率 API 如何處理週末

市場休市時，如何透過交易時段、時間戳記和過時狀態解讀外匯匯率。

## 快速解答

Narwhal 會保留最近一次已接受的匯率、其時間戳記、過時狀態，以及週末交易時段資訊。它不會假裝市場仍在開市。

## 市場交易時段提供背景資訊

回應將市場標示為開市、週末或銀行間市場休市。此狀態適用於整個回應。

## 各匯率都有自己的時效

不同貨幣可能有不同的生效時間。因此，每個匯率都保留自己的時間戳記和過時旗標。

## 由你的應用程式決定

請結合市場交易時段、時間戳記和過時狀態進行判斷。不要替換缺失匯率，也不要移除其時間背景資訊。

發布日期： 2026年8月31日。最近審閱日期： 2026年8月31日。

## 前往對應參考文件

- [Narwhal API 參考文件 查看 API 參考文件](https://narwhalapi.com/zh-tw/docs/api/fx.md)
- [Narwhal API 參考文件 打開當前匯率參考](https://narwhalapi.com/zh-tw/docs/api/fx/rates.md)
- [方法論 閱讀外匯方法說明](https://narwhalapi.com/zh-tw/methodology/fx.md)
- [操作指南 取得過去某一天的匯率](https://narwhalapi.com/zh-tw/how-to/get-an-exchange-rate-on-a-past-date.md)
- [週末匯率時效性](https://exchangerate.dev/learn/weekend-staleness)

## 指南

- [基準貨幣與報價貨幣說明](https://narwhalapi.com/zh-tw/guides/fx/base-and-quote-currency.md)
- [貨幣換算如何運作](https://narwhalapi.com/zh-tw/guides/fx/how-currency-conversion-works.md)
- [匯率精度與捨入](https://narwhalapi.com/zh-tw/guides/fx/exchange-rate-precision-and-rounding.md)
- [交叉匯率說明](https://narwhalapi.com/zh-tw/guides/fx/cross-rates-explained.md)
- [匯率時間戳記與時效](https://narwhalapi.com/zh-tw/guides/fx/exchange-rate-timestamps-and-freshness.md)
- [所有指南](https://narwhalapi.com/zh-tw/guides.md)

## 從免費金鑰開始

每月 10 美元免費額度，無需綁卡。每月 10 美元免費額度，無需綁卡。

[取得免費 API 金鑰](https://narwhalapi.com/zh-tw/signup)
