Overview
- Skill Key
- esanle/tiger-trade
- Author
- esanle
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/esanle/tiger-trade
- Latest Commit SHA
- dccef7d20e17e88426572aeb46407da6547b6043
Execute US and HK stock trades via Tiger Brokers API. Use when user wants to buy or sell stocks, manage investment portfolio, place orders for US ETFs or HK stocks, or check account balance. Requires tiger-config.json with tiger_id account and private_key_pk8.
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 tiger-trade 技能。 若已安装,则直接安装 tiger-trade 技能。
# Tiger Trade
Execute trades via Tiger Brokers API.
## Setup
Create config file at `~/.tiger-config.json `:
```json
{
"tiger_id": "your_tiger_id",
"account": "your_account",
"private_key_pk8": "your_private_key"
}
```
## Check Stock Prices
Use Tiger Broker website to get current prices:
```
https://www.itiger.com/hant/stock/02800
https://www.itiger.com/hant/stock/AAPL
```
Replace the stock code (02800 or AAPL) with any stock
## Quick Trade
```python
import json
from tigeropen.tiger_open_config import TigerOpenClientConfig
from tigeropen.trade.trade_client import TradeClient
from tigeropen.trade.request.model import PlaceModifyOrderParams
from tigeropen.common.consts import OrderType
with open('~/.tiger-config.json', 'r') as f:
config = json.load(f)
client_config = TigerOpenClientConfig()
client_config.tiger_id = config['tiger_id']
client_config.account = config['account']
client_config.private_key = config['private_key_pk8']
client_config.sandbox = False
client = TradeClient(client_config)
# Place stock order
contracts = client.get_contracts(['02800'])
if contracts:
order_params = PlaceModifyOrderParams()
order_params.account = config['account']
order_params.contract = contracts[0]
order_params.action = 'BUY'
order_params.order_type = OrderType.LMT.value
order_params.limit_price = 26.80 # Get from itiger.com
order_params.quantity = 10000
result = client.place_order(order_params)
print(result)
```
## Order Types
- `LMT` = Limit order
- `MKT` = Market order
## Actions
- `BUY` - 买入
- `SELL` - 卖出
caoyumin97
Structured problem analysis and communication using system mapping and hierarchical logic. Use when a request involves messy, multi-factor problems, root-cause analysis, intervention design, feedback loops or delays, or when a clear top-line recommendation with logically grouped support is required.
chaimengphp
Query real-time and historical financial data across equities and crypto—prices, market moves, metrics, and trends for analysis, alerts, and reporting.
cerbug45
AI Wallet Payment System Skill Guide
bywallace
Read and manage Kubera.com portfolio data (net worth, assets, debts, allocation, holdings). Use when a user asks about their finances, net worth, portfolio, investments, holdings, asset allocation, or wants to update asset values in Kubera. Works with any AI agent or CLI that can run Python scripts.
c-goro
Expense tracking and accounting for AI agents. Log purchases, set budgets, generate spending reports, and manage multi-currency finances — all stored locally. Privacy.com card import, natural language queries, CSV/JSON export. Use when agents make purchases and need a financial audit trail.
c0rv0s
Short-form video for AI agents. Generate videos using the latest models, pay with USDC via x402.