> ## Documentation Index
> Fetch the complete documentation index at: https://doc.va777.net/llms.txt
> Use this file to discover all available pages before exploring further.

# 連續撈單

> v1 連續撈取注單時避免漏單的方式。

## 連續撈取注單

使用[取得注單列表](https://doc.va777.net/zh-Hant/v1/api-reference/betlog/list-by-time.md)或[取得歷史注單列表](https://doc.va777.net/zh-Hant/v1/api-reference/betlog/history/list-by-time.md)撈取連續時間區間的注單作為紀錄與對帳時，為避免缺漏，**上一次的結束時間應等於本次的開始時間**。

以每次撈取 1 分鐘為例：

| 次數 | 開始時間 | 結束時間 |
| - | - | - |
| 1 | `2025-12-01T00:00:00.000+08:00` | `2025-12-01T00:01:00.000+08:00` |
| 2 | `2025-12-01T00:01:00.000+08:00` | `2025-12-01T00:02:00.000+08:00` |
| 3 | `2025-12-01T00:02:00.000+08:00` | `2025-12-01T00:03:00.000+08:00` |

> [!WARNING]
>
> 依上述方式撈取時，每連續兩次撈取，1 毫秒以下時間差距內的注單會被重複撈取，請自行去除重複注單。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.