开发者中心

API First Design

提供极简的 Python/C++ SDK 文档。立即接入测试环境,快速验证您的交易策略。

快速开始

quick-start.py
from thinktrader import Client, Order
# Initialize client with API credentials
client = Client(
api_key="your_api_key",
secret_key="your_secret_key",
env="sandbox" # Use "production" for live trading
)
# Create a limit order
order = Order(
symbol="AAPL",
side="BUY",
quantity=100,
price=150.00,
order_type="LIMIT"
)
# Submit order with sub-millisecond execution
response = client.submit_order(order)
print(f"Order ID: {response.order_id}")
print(f"Status: {response.status}")

开发者工具和资源

RESTful API & WebSocket 支持
Python/C++ SDK
沙盒测试环境
完整 API 文档
示例代码库

查看完整文档和更多示例代码

docs.thinktrader.net

开始你的量化交易之旅

立即申请试用,体验以思考的速度投资带来的效率提升。