tsst-sino-backtest-v2 0.2.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. tsst_sino_backtest_v2-0.2.0/LICENSE +35 -0
  2. tsst_sino_backtest_v2-0.2.0/MANIFEST.in +24 -0
  3. tsst_sino_backtest_v2-0.2.0/PKG-INFO +45 -0
  4. tsst_sino_backtest_v2-0.2.0/README.md +15 -0
  5. tsst_sino_backtest_v2-0.2.0/pyproject.toml +64 -0
  6. tsst_sino_backtest_v2-0.2.0/setup.cfg +4 -0
  7. tsst_sino_backtest_v2-0.2.0/src/tsst_sino_backtest/__init__.py +1 -0
  8. tsst_sino_backtest_v2-0.2.0/src/tsst_sino_backtest/constant.py +154 -0
  9. tsst_sino_backtest_v2-0.2.0/src/tsst_sino_backtest/main.cp39-win_amd64.pyd +0 -0
  10. tsst_sino_backtest_v2-0.2.0/src/tsst_sino_backtest/modules/__init__.py +0 -0
  11. tsst_sino_backtest_v2-0.2.0/src/tsst_sino_backtest/modules/matcher/__init__.py +0 -0
  12. tsst_sino_backtest_v2-0.2.0/src/tsst_sino_backtest/modules/matcher/matcher.cp39-win_amd64.pyd +0 -0
  13. tsst_sino_backtest_v2-0.2.0/src/tsst_sino_backtest/modules/positions/__init__.py +0 -0
  14. tsst_sino_backtest_v2-0.2.0/src/tsst_sino_backtest/modules/positions/positions.cp39-win_amd64.pyd +0 -0
  15. tsst_sino_backtest_v2-0.2.0/src/tsst_sino_backtest/modules/ticker/__init__.py +0 -0
  16. tsst_sino_backtest_v2-0.2.0/src/tsst_sino_backtest/modules/ticker/ticker.cp39-win_amd64.pyd +0 -0
  17. tsst_sino_backtest_v2-0.2.0/src/tsst_sino_backtest/static/holidays_search_from_2017.csv +156 -0
  18. tsst_sino_backtest_v2-0.2.0/src/tsst_sino_backtest/static/taipei_typhoon_holiday_from_2017.csv +11 -0
  19. tsst_sino_backtest_v2-0.2.0/src/tsst_sino_backtest/static/taiwan_routine_holidays_from_2017.csv +1039 -0
  20. tsst_sino_backtest_v2-0.2.0/src/tsst_sino_backtest/static/templates/profit_report.html +281 -0
  21. tsst_sino_backtest_v2-0.2.0/src/tsst_sino_backtest/utils.py +72 -0
  22. tsst_sino_backtest_v2-0.2.0/src/tsst_sino_backtest_v2.egg-info/PKG-INFO +45 -0
  23. tsst_sino_backtest_v2-0.2.0/src/tsst_sino_backtest_v2.egg-info/SOURCES.txt +25 -0
  24. tsst_sino_backtest_v2-0.2.0/src/tsst_sino_backtest_v2.egg-info/dependency_links.txt +1 -0
  25. tsst_sino_backtest_v2-0.2.0/src/tsst_sino_backtest_v2.egg-info/not-zip-safe +1 -0
  26. tsst_sino_backtest_v2-0.2.0/src/tsst_sino_backtest_v2.egg-info/requires.txt +19 -0
  27. tsst_sino_backtest_v2-0.2.0/src/tsst_sino_backtest_v2.egg-info/top_level.txt +1 -0
@@ -0,0 +1,35 @@
1
+ Software License Agreement (Proprietary License)
2
+
3
+ Copyright (c) 2025 Aiaristos Information Technology Co., Ltd.
4
+ All Rights Reserved.
5
+
6
+ This software and associated files ("Software") are the proprietary property of Aiaristos Information Technology Co., Ltd.. By installing, copying, accessing, or using the Software, you agree to be bound by the terms of this License Agreement.
7
+
8
+ 1. GRANT OF LICENSE
9
+ You are granted a non-exclusive, non-transferable, revocable license to install and use this Software for internal use only, subject to a valid activation or license key issued by Aiaristos Information Technology Co., Ltd..
10
+
11
+ 2. RESTRICTIONS
12
+ You may NOT:
13
+ - Distribute, sublicense, rent, lease, or lend the Software to any third party.
14
+ - Reverse engineer, decompile, disassemble, or otherwise attempt to derive the source code of the Software.
15
+ - Bypass, disable, or tamper with any license verification or activation mechanism.
16
+ - Use the Software in any manner not expressly authorized by this License.
17
+
18
+ 3. LICENSE VERIFICATION
19
+ This Software contains a license verification mechanism. It may connect to Aiaristos Information Technology Co., Ltd.'s servers to validate your license key before or during use. You agree to allow this verification.
20
+
21
+ 4. TERMINATION
22
+ This License is effective until terminated. Your rights under this License will terminate automatically without notice if you fail to comply with any term(s) of this License.
23
+
24
+ 5. NO WARRANTY
25
+ The Software is provided "AS IS" without warranty of any kind, express or implied. Aiaristos Information Technology Co., Ltd. shall not be liable for any damages arising from the use or inability to use the Software.
26
+
27
+ 6. GOVERNING LAW
28
+ This Agreement shall be governed by the laws of Republic of China (Taiwan), without regard to its conflict of laws provisions.
29
+
30
+ 7. CONTACT
31
+ For license inquiries or commercial use, please contact: aiaristosit@gmail.com
32
+
33
+ ---
34
+
35
+ NOTE: This is a proprietary license. This software is **not open source** and may not be redistributed or modified without express written permission.
@@ -0,0 +1,24 @@
1
+ # Exclude sources
2
+ global-exclude *.py
3
+ global-exclude *.pyx
4
+ global-exclude *.c
5
+
6
+ # Include init files
7
+ include src/tsst_sino_backtest/__init__.py
8
+ include src/tsst_sino_backtest/modules/__init__.py
9
+ include src/tsst_sino_backtest/modules/**/__init__.py
10
+
11
+ # Include Common files
12
+ include src/tsst_sino_backtest/constant.py
13
+ include src/tsst_sino_backtest/utils.py
14
+
15
+ # Include pyd
16
+ recursive-include src/tsst_sino_backtest *.pyd
17
+
18
+ # Include Support files
19
+ include src/tsst_sino_backtest/static/*
20
+ include src/tsst_sino_backtest/static/templates/*
21
+
22
+ # Include docs
23
+ include README.md
24
+ include LICENSE
@@ -0,0 +1,45 @@
1
+ Metadata-Version: 2.4
2
+ Name: tsst-sino-backtest-v2
3
+ Version: 0.2.0
4
+ Summary: Add your description here
5
+ Author-email: Aiaristosit <aiaristosit@gmail.com>
6
+ Project-URL: Homepage, https://tsst.docs.aiaristos.com/
7
+ Classifier: Programming Language :: Python :: 3
8
+ Classifier: Operating System :: Microsoft :: Windows :: Windows 10
9
+ Requires-Python: >=3.9
10
+ Description-Content-Type: text/markdown
11
+ License-File: LICENSE
12
+ Requires-Dist: build>=1.2.2.post1
13
+ Requires-Dist: cython>=3.1.1
14
+ Requires-Dist: ipython>=8.18.1
15
+ Requires-Dist: jinja2>=3.1.6
16
+ Requires-Dist: nanoid>=2.0.0
17
+ Requires-Dist: polars>=1.29.0
18
+ Requires-Dist: pyarrow>=20.0.0
19
+ Requires-Dist: python-dotenv>=1.1.0
20
+ Requires-Dist: quantstats-lumi>=0.1.12
21
+ Requires-Dist: requests>=2.32.3
22
+ Requires-Dist: rich>=14.0.0
23
+ Requires-Dist: setuptools>=80.9.0
24
+ Requires-Dist: shioaji[speed]>=1.2.5
25
+ Requires-Dist: pyproject_hooks; sys_platform == "darwin" or sys_platform == "linux"
26
+ Requires-Dist: tomli; sys_platform == "darwin" or sys_platform == "linux"
27
+ Requires-Dist: packaging; sys_platform == "darwin" or sys_platform == "linux"
28
+ Requires-Dist: cryptography>=45.0.4
29
+ Dynamic: license-file
30
+
31
+ # TSST 回測模組 Version 2
32
+ 與第一版的差異在於,第一版將整個回測模組抽出來包成 exe
33
+ 而這一版的是改用 Cython 撰寫主要的驗證模組與入口模組,最後打包成 pyd 後再讓使用者使用
34
+ 並且棄用 Redis 改用 Queue 與執行緒進行程式間的訊號溝通
35
+
36
+ ## 打包指令
37
+ ```bash
38
+ # 生成 pyd 放在 example 下,主要用於測試
39
+ python setup.py build_ext --build-lib example --inplace
40
+ ```
41
+
42
+ ```bash
43
+ # 包成 wheel 檔
44
+ python -m build
45
+ ```
@@ -0,0 +1,15 @@
1
+ # TSST 回測模組 Version 2
2
+ 與第一版的差異在於,第一版將整個回測模組抽出來包成 exe
3
+ 而這一版的是改用 Cython 撰寫主要的驗證模組與入口模組,最後打包成 pyd 後再讓使用者使用
4
+ 並且棄用 Redis 改用 Queue 與執行緒進行程式間的訊號溝通
5
+
6
+ ## 打包指令
7
+ ```bash
8
+ # 生成 pyd 放在 example 下,主要用於測試
9
+ python setup.py build_ext --build-lib example --inplace
10
+ ```
11
+
12
+ ```bash
13
+ # 包成 wheel 檔
14
+ python -m build
15
+ ```
@@ -0,0 +1,64 @@
1
+ [build-system]
2
+ requires = [
3
+ "setuptools>=61",
4
+ "wheel",
5
+ "cython"
6
+ ]
7
+ build-backend = "setuptools.build_meta"
8
+
9
+ [project]
10
+ name = "tsst-sino-backtest-v2"
11
+ version = "0.2.0"
12
+ description = "Add your description here"
13
+ readme = "README.md"
14
+ requires-python = ">=3.9"
15
+ license-files = [
16
+ "LICENSE",
17
+ ]
18
+ authors = [
19
+ { name = "Aiaristosit", email = "aiaristosit@gmail.com" }
20
+ ]
21
+ classifiers = [
22
+ "Programming Language :: Python :: 3",
23
+ "Operating System :: Microsoft :: Windows :: Windows 10"
24
+ ]
25
+ dependencies = [
26
+ "build>=1.2.2.post1",
27
+ "cython>=3.1.1",
28
+ "ipython>=8.18.1",
29
+ "jinja2>=3.1.6",
30
+ "nanoid>=2.0.0",
31
+ "polars>=1.29.0",
32
+ "pyarrow>=20.0.0",
33
+ "python-dotenv>=1.1.0",
34
+ "quantstats-lumi>=0.1.12",
35
+ "requests>=2.32.3",
36
+ "rich>=14.0.0",
37
+ "setuptools>=80.9.0",
38
+ "shioaji[speed]>=1.2.5",
39
+ "pyproject_hooks; sys_platform == 'darwin' or sys_platform == 'linux'",
40
+ "tomli; sys_platform == 'darwin' or sys_platform == 'linux'",
41
+ "packaging; sys_platform == 'darwin' or sys_platform == 'linux'",
42
+ "cryptography>=45.0.4",
43
+ ]
44
+
45
+ [project.urls]
46
+ Homepage = "https://tsst.docs.aiaristos.com/"
47
+
48
+ [tool.setuptools]
49
+ package-dir = { "" = "src" }
50
+
51
+ [tool.setuptools.packages.find]
52
+ where = ["src"]
53
+
54
+ [tool.setuptools.exclude-package-data]
55
+ "tsst_sino_backtest.modules.ticker" = ["*.py", "*.pyx", "*.c"]
56
+ "tsst_sino_backtest.modules.matcher" = ["*.py", "*.pyx", "*.c"]
57
+
58
+ [tool.setuptools.package-data]
59
+ "tsst_sino_backtest" = ["*.pyd", "*.so", "*.dylib"]
60
+
61
+ [dependency-groups]
62
+ dev = [
63
+ "pytest>=8.3.5",
64
+ ]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1 @@
1
+ __version__ = "0.2.0"
@@ -0,0 +1,154 @@
1
+ import os
2
+
3
+ from enum import Enum
4
+
5
+ from tsst_sino_backtest import __version__
6
+
7
+ # ============================================================================= #
8
+ # 系統相關
9
+ # ============================================================================= #
10
+ class BASIC_INFO(str, Enum):
11
+ """
12
+ 回測模組基本資訊
13
+ """
14
+ name = 'Sino Backtest Module'
15
+ version = __version__
16
+
17
+ current_dir = os.path.dirname(os.path.abspath(__file__))
18
+ root_path = os.path.abspath(os.path.join(current_dir, '../..'))
19
+ data_dir = os.path.join(root_path, 'data')
20
+
21
+ fee_settings_name = 'fee_settings.json'
22
+
23
+ class FLAG(str, Enum):
24
+ """
25
+ 回測模組 Flag
26
+ """
27
+ exit_send_tick = 'exit_send_tick'
28
+ exit_receive_response = 'exit_receive_response'
29
+ exit_receive_positions = 'exit_receive_positions'
30
+
31
+ finish_backfilling = 'finish_backfilling'
32
+
33
+ # ============================================================================= #
34
+ # 交易相關
35
+ # ============================================================================= #
36
+ class BaseConstant(str, Enum):
37
+ def __str__(self):
38
+ return self.value # 返回字串值
39
+
40
+ def __format__(self, format_spec):
41
+ return self.value # 返回字串值
42
+
43
+ @classmethod
44
+ def from_value(cls, value):
45
+ """允許根據 value 找到對應的 Enum 成員"""
46
+ for member in cls:
47
+ if member.value == value:
48
+ return member.value
49
+ raise ValueError(f"Invalid value: {value}")
50
+
51
+ class OperationType(BaseConstant):
52
+ """操作類型
53
+ """
54
+ NEW = "New"
55
+ CANCEL = "Cancel"
56
+ UPDATE_PRICE = "UpdatePrice"
57
+ UPDATE_QTY = "UpdateQty"
58
+ DEAL = "Deal"
59
+ UPDATE_PRICE_QTY = "UpdatePriceQty"
60
+ DYNAMIC_CANCEL = "DynamicCancel"
61
+
62
+ class Action(BaseConstant):
63
+ """買賣類型
64
+ """
65
+ BUY = "Buy"
66
+ SELL = "Sell"
67
+
68
+ class PriceType(BaseConstant):
69
+ """價格類型
70
+ """
71
+ LMT = "LMT"
72
+ MKT = "MKT"
73
+ MKP = "MKP"
74
+
75
+ class OrderType(BaseConstant):
76
+ """委託類型
77
+ """
78
+ ROD = "ROD"
79
+ IOC = "IOC"
80
+ FOK = "FOK"
81
+
82
+ class OrderCond(BaseConstant):
83
+ """委託條件
84
+ """
85
+ CASH = "Cash"
86
+ MARGIN_T = "MarginTrading" # 融資
87
+ SHORT_S = "ShortSelling" # 融券
88
+
89
+ class OrderLot(BaseConstant):
90
+ """委託方式
91
+ """
92
+ COMMON = "Common" # 整股
93
+ FIXING = "Fixing" # 盤後定盤
94
+ ODD = "Odd" # 盤後零股
95
+ INTRADAY_ODD = "IntradayOdd" # 盤中零股
96
+
97
+ class OCType(BaseConstant):
98
+ """開倉或平倉類型
99
+ """
100
+ AUTO = "Auto"
101
+ NEW = "New"
102
+ COVER = "Cover"
103
+ DAY_TRADE = "DayTrade"
104
+
105
+ class BaseCode(Enum):
106
+ @property
107
+ def code(self):
108
+ return self.value["code"]
109
+
110
+ @property
111
+ def message(self):
112
+ return self.value["message"]
113
+
114
+ class SuccessCode(BaseCode):
115
+ # 縮寫說明
116
+ # BT: 回測模組相關相關
117
+ # AUTH: 身分驗證相關
118
+ CreateOrder = { "code": "BT-00000", "message": "建立訂單成功" }
119
+ OrderBeCancel = { "code": "BT-00001", "message": "剩餘委託單已取消" }
120
+ ModifyOrder = { "code": "BT-00002", "message": "修改訂單成功" }
121
+ CancelOrder = { "code": "BT-00003", "message": "取消訂單成功" }
122
+
123
+ class ErrorCode(BaseCode):
124
+ # 縮寫說明
125
+ # BT: 回測模組相關相關
126
+ # AUTH: 身分驗證相關
127
+ ArgumentNotMatchException = { "code": "BT-10000", "message": "參數不符合預期" }
128
+ NotSupportMarketException = { "code": "BT-10001", "message": "不支援的市場類型" }
129
+ TradeNotFoundException = { "code": "BT-10002", "message": "找不到交易紀錄" }
130
+
131
+ class FutureIndexContractValue(BaseConstant):
132
+ """期指合約價值(單位: 口)
133
+ """
134
+ TX : float = 200 # 台指期
135
+ MTX: float = 50 # 小台指期
136
+ TMF: float = 10 # 微台指期
137
+ M1F: float = 10 # 台灣中型 100
138
+ E4F: float = 100 # 台灣永續期貨
139
+ TE : float = 4000 # 電子期貨
140
+ ZEF: float = 500 # 小型電子期貨
141
+ TF : float = 1000 # 金融期貨
142
+ ZFF: float = 250 # 小型金融期貨
143
+ XIF: float = 100 # 非金電期貨
144
+ SHF: float = 1000 # 航運期貨
145
+ SOF: float = 50 # 半導體 30
146
+ BTF: float = 50 # 台灣生技
147
+ GTF: float = 4000 # 櫃買
148
+ G2F: float = 50 # 富櫃 200
149
+ TJF: float = 200 # 東證期貨
150
+ UDF: float = 20 # 美國道瓊
151
+ SPF: float = 200 # 標普 500
152
+ UNF: float = 50 # 那斯達克 100
153
+ SXF: float = 80 # 費半
154
+ F1F: float = 50 # 英國富時 100
@@ -0,0 +1,156 @@
1
+ Date,Time,Type,Desc
2
+ 2017-01-01,00:00:00,National,開國紀念日
3
+ 2017-01-02,00:00:00,National,補假
4
+ 2017-01-27,00:00:00,National,農曆除夕
5
+ 2017-01-28,00:00:00,National,春節
6
+ 2017-01-29,00:00:00,National,春節
7
+ 2017-01-30,00:00:00,National,春節
8
+ 2017-01-31,00:00:00,National,補假
9
+ 2017-02-01,00:00:00,National,補假
10
+ 2017-02-27,00:00:00,National,調整放假
11
+ 2017-02-28,00:00:00,National,和平紀念日
12
+ 2017-04-03,00:00:00,National,補假
13
+ 2017-04-04,00:00:00,National,兒童節及民族掃墓節
14
+ 2017-05-29,00:00:00,National,調整放假
15
+ 2017-05-30,00:00:00,National,端午節
16
+ 2017-07-30,00:00:00,Typhoon,尼莎
17
+ 2017-10-04,00:00:00,National,中秋節
18
+ 2017-10-09,00:00:00,National,調整放假
19
+ 2017-10-10,00:00:00,National,國慶日
20
+ 2018-01-01,00:00:00,National,開國紀念日
21
+ 2018-02-15,00:00:00,National,農曆除夕
22
+ 2018-02-16,00:00:00,National,春節
23
+ 2018-02-17,00:00:00,National,春節
24
+ 2018-02-18,00:00:00,National,春節
25
+ 2018-02-19,00:00:00,National,補假
26
+ 2018-02-20,00:00:00,National,補假
27
+ 2018-02-28,00:00:00,National,和平紀念日
28
+ 2018-04-04,00:00:00,National,兒童節
29
+ 2018-04-05,00:00:00,National,民族掃墓節
30
+ 2018-04-06,00:00:00,National,調整放假
31
+ 2018-06-18,00:00:00,National,端午節
32
+ 2018-09-24,00:00:00,National,中秋節
33
+ 2018-10-10,00:00:00,National,國慶日
34
+ 2018-12-31,00:00:00,National,調整放假
35
+ 2019-01-01,00:00:00,National,開國紀念日
36
+ 2019-02-04,00:00:00,National,農曆除夕
37
+ 2019-02-05,00:00:00,National,春節
38
+ 2019-02-06,00:00:00,National,春節
39
+ 2019-02-07,00:00:00,National,春節
40
+ 2019-02-08,00:00:00,National,調整放假
41
+ 2019-02-28,00:00:00,National,和平紀念日
42
+ 2019-03-01,00:00:00,National,調整放假
43
+ 2019-04-04,00:00:00,National,兒童節
44
+ 2019-04-05,00:00:00,National,民族掃墓節
45
+ 2019-06-07,00:00:00,National,端午節
46
+ 2019-08-09,00:00:00,Typhoon,利奇馬
47
+ 2019-09-13,00:00:00,National,中秋節
48
+ 2019-09-30,00:00:00,Typhoon,米塔
49
+ 2019-10-10,00:00:00,National,國慶日
50
+ 2019-10-11,00:00:00,National,調整放假
51
+ 2020-01-01,00:00:00,National,開國紀念日
52
+ 2020-01-23,00:00:00,National,調整放假
53
+ 2020-01-24,00:00:00,National,農曆除夕
54
+ 2020-01-25,00:00:00,National,春節
55
+ 2020-01-26,00:00:00,National,春節
56
+ 2020-01-27,00:00:00,National,春節
57
+ 2020-01-28,00:00:00,National,補假
58
+ 2020-01-29,00:00:00,National,補假
59
+ 2020-02-28,00:00:00,National,和平紀念日
60
+ 2020-04-02,00:00:00,National,補假
61
+ 2020-04-03,00:00:00,National,放假
62
+ 2020-04-04,00:00:00,National,兒童節及民族掃墓節
63
+ 2020-06-25,00:00:00,National,端午節
64
+ 2020-06-26,00:00:00,National,調整放假
65
+ 2020-10-01,00:00:00,National,中秋節
66
+ 2020-10-02,00:00:00,National,調整放假
67
+ 2020-10-09,00:00:00,National,補假
68
+ 2020-10-10,00:00:00,National,國慶日
69
+ 2021-01-01,00:00:00,National,開國紀念日
70
+ 2021-02-10,00:00:00,National,調整放假
71
+ 2021-02-11,00:00:00,National,農曆除夕
72
+ 2021-02-12,00:00:00,National,春節
73
+ 2021-02-13,00:00:00,National,春節
74
+ 2021-02-14,00:00:00,National,春節
75
+ 2021-02-15,00:00:00,National,補假
76
+ 2021-02-16,00:00:00,National,補假
77
+ 2021-02-28,00:00:00,National,和平紀念日
78
+ 2021-03-01,00:00:00,National,補假
79
+ 2021-04-02,00:00:00,National,補假
80
+ 2021-04-04,00:00:00,National,兒童節及民族掃墓節
81
+ 2021-04-05,00:00:00,National,補假
82
+ 2021-06-14,00:00:00,National,端午節
83
+ 2021-09-12,00:00:00,Typhoon,璨樹
84
+ 2021-09-20,00:00:00,National,調整放假
85
+ 2021-09-21,00:00:00,National,中秋節
86
+ 2021-10-10,00:00:00,National,國慶日
87
+ 2021-10-11,00:00:00,National,補假
88
+ 2021-12-31,00:00:00,National,補假
89
+ 2022-01-01,00:00:00,National,開國紀念日
90
+ 2022-01-31,00:00:00,National,農曆除夕
91
+ 2022-02-01,00:00:00,National,春節
92
+ 2022-02-02,00:00:00,National,春節
93
+ 2022-02-03,00:00:00,National,春節
94
+ 2022-02-04,00:00:00,National,調整放假
95
+ 2022-02-28,00:00:00,National,和平紀念日
96
+ 2022-04-04,00:00:00,National,兒童節
97
+ 2022-04-05,00:00:00,National,民族掃墓節
98
+ 2022-06-03,00:00:00,National,端午節
99
+ 2022-09-09,00:00:00,National,補假
100
+ 2022-09-10,00:00:00,National,中秋節
101
+ 2022-10-10,00:00:00,National,國慶日
102
+ 2023-01-01,00:00:00,National,開國紀念日
103
+ 2023-01-02,00:00:00,National,補假
104
+ 2023-01-20,00:00:00,National,小年夜
105
+ 2023-01-21,00:00:00,National,農曆除夕
106
+ 2023-01-22,00:00:00,National,春節
107
+ 2023-01-23,00:00:00,National,春節
108
+ 2023-01-24,00:00:00,National,春節
109
+ 2023-01-25,00:00:00,National,補假
110
+ 2023-01-26,00:00:00,National,補假
111
+ 2023-01-27,00:00:00,National,調整放假
112
+ 2023-02-27,00:00:00,National,調整放假
113
+ 2023-02-28,00:00:00,National,和平紀念日
114
+ 2023-04-03,00:00:00,National,調整放假
115
+ 2023-04-04,00:00:00,National,兒童節
116
+ 2023-04-05,00:00:00,National,民族掃墓節
117
+ 2023-06-22,00:00:00,National,端午節
118
+ 2023-06-23,00:00:00,National,調整放假
119
+ 2023-08-03,00:00:00,Typhoon,卡努
120
+ 2023-09-29,00:00:00,National,中秋節
121
+ 2023-10-09,00:00:00,National,調整放假
122
+ 2023-10-10,00:00:00,National,國慶日
123
+ 2024-01-01,00:00:00,National,開國紀念日
124
+ 2024-02-06,00:00:00,Weekday,僅辦理結算交割作業
125
+ 2024-02-07,00:00:00,Weekday,僅辦理結算交割作業
126
+ 2024-02-08,00:00:00,National,小年夜
127
+ 2024-02-09,00:00:00,National,農曆除夕
128
+ 2024-02-10,00:00:00,National,春節
129
+ 2024-02-11,00:00:00,National,春節
130
+ 2024-02-12,00:00:00,National,春節
131
+ 2024-02-13,00:00:00,National,補假
132
+ 2024-02-14,00:00:00,National,補假
133
+ 2024-02-28,00:00:00,National,和平紀念日
134
+ 2024-04-04,00:00:00,National,兒童節及民族掃墓節
135
+ 2024-04-05,00:00:00,National,補假
136
+ 2024-06-10,00:00:00,National,端午節
137
+ 2024-07-24,00:00:00,Typhoon,凱米
138
+ 2024-07-25,00:00:00,Typhoon,凱米
139
+ 2024-09-17,00:00:00,National,中秋節
140
+ 2024-10-02,00:00:00,Typhoon,山陀兒
141
+ 2024-10-03,00:00:00,Typhoon,山陀兒
142
+ 2024-10-10,00:00:00,National,國慶日
143
+ 2024-10-31,00:00:00,Typhoon,康芮
144
+ 2025-01-01,00:00:00,National,開國紀念日
145
+ 2025-01-27,00:00:00,National,小年夜
146
+ 2025-01-28,00:00:00,National,農曆除夕
147
+ 2025-01-29,00:00:00,National,春節
148
+ 2025-01-30,00:00:00,National,春節
149
+ 2025-01-31,00:00:00,National,春節
150
+ 2025-02-28,00:00:00,National,和平紀念日
151
+ 2025-04-03,00:00:00,National,補假
152
+ 2025-04-04,00:00:00,National,兒童節及民族掃墓節
153
+ 2025-05-30,00:00:00,National,補假
154
+ 2025-05-31,00:00:00,National,端午節
155
+ 2025-10-06,00:00:00,National,中秋節
156
+ 2025-10-10,00:00:00,National,國慶日
@@ -0,0 +1,11 @@
1
+ date,anc_time,typhoon
2
+ 2024/10/31,00:00:00,康芮
3
+ 2024/10/3,00:00:00,山陀兒
4
+ 2024/10/2,00:00:00,山陀兒
5
+ 2024/7/25,00:00:00,凱米
6
+ 2024/7/24,00:00:00,凱米
7
+ 2023/8/3,00:00:00,卡努
8
+ 2021/9/12,00:00:00,璨樹
9
+ 2019/9/30,00:00:00,米塔
10
+ 2019/8/9,00:00:00,利奇馬
11
+ 2017/7/30,00:00:00,尼莎