Metadata-Version: 2.4
Name: unitrade
Version: 1.0.0.6
Summary: unitrade api
Project-URL: Documentation, https://pfcec.github.io/unitrade/
Project-URL: Source, https://github.com/PFCEC/unitrade
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7, <4
Description-Content-Type: text/markdown
Requires-Dist: bitarray>=2.3.4
Requires-Dist: requests>=2.25.0
Requires-Dist: cryptography>=41.0.0
Requires-Dist: numpy>=1.21
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: project-url
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# unitrade: 統一期貨 Python API 交易套件

[![PyPI version](https://img.shields.io/pypi/v/unitrade.svg)](https://pypi.org/project/unitrade/)
[![Python Versions](https://img.shields.io/pypi/pyversions/unitrade.svg)](https://pypi.org/project/unitrade/)
[![License](https://img.shields.io/pypi/l/unitrade.svg)](https://opensource.org/licenses/MIT)

**unitrade** 是統一期貨官方提供的 Python 交易 API。專為程式交易開發者設計，支援國內期貨、海外期貨的報價接收與自動化下單功能。

支援作業系統：Windows, macOS, Linux

---

## 📚 官方文件
完整的使用說明、API 參考手冊與錯誤代碼請參閱：
👉 **[unitrade 官方文件網站](https://pfcec.github.io/unitrade/)**

## ✨ 主要功能
* **行情接收**：即時接收國內外期貨商品報價。
* **自動下單**：支援市價、限價、ROD/IOC/FOK 等多種下單條件。
* **帳務查詢**：查詢權益數、未平倉部位與委託回報。
* **跨平台**：支援 Windows、Linux 與 macOS 環境。

## 🚀 安裝方式

需要 Python 3.7 或以上版本。使用 pip 即可安裝：

```bash
pip install unitrade
