
Trading Automation
tiger-trade
This Skill enables programmatic trading with Tiger Brokers using the tigeropen Python SDK. After creating a ~/.tiger-config.json with tiger_id, account, and private_key_pk8, users can query contracts, fetch current prices from itiger.
概要
This Skill enables programmatic trading with Tiger Brokers using the tigeropen Python SDK.
This Skill enables programmatic trading with Tiger Brokers using the tigeropen Python SDK. After creating a ~/.tiger-config.json with tiger_id, account, and private_key_pk8, users can query contracts, fetch current prices from itiger.com, and place market or limit orders (MKT, LMT) for US and HK stocks and ETFs. Core features include placing BUY/SELL orders, setting limit prices and quantities, toggling sandbox mode, and retrieving account/contract information. Common use cases are automated trade execution, portfolio rebalancing, algorithmic strategies, and batch order placement. Advantages include direct broker integration for low-latency order submission, reproducible scripts, and straightforward configuration. Note: protect private_key_pk8 and validate live-market prices before submitting orders.
Skill.md
この Skill の仕組み
This Skill enables programmatic trading with Tiger Brokers using the tigeropen Python SDK. After creating a ~/.tiger-config.json with tiger_id, account, and private_key_pk8, users can query contracts, fetch current prices from itiger.
Tiger Trade
Execute trades via Tiger Brokers API.
Setup
Create config file at ~/.tiger-config.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
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 orderMKT= Market order
Actions
BUY- 买入SELL- 卖出
こんな用途に最適
どんなときに使うか
This Skill enables programmatic trading with Tiger Brokers using the tigeropen Python SDK. After creating a ~/.tiger-config.json with tiger_id, account, and private_key_pk8, users can query contracts, fetch current prices from itiger.

01 · 会議前
意思決定用のブリーフを準備
投資委員会の前に、散らばった材料を構造化した論拠にまとめます。

02 · チームのワークフロー
引き継ぎを標準化
アナリスト、ポートフォリオマネージャー、Agent の間で一貫したリサーチ成果物を作ります。

03 · リアルタイム更新
投資仮説をアップデート
新しいカタリスト、KPI の発表、決算結果を受けてシナリオを更新します。
コミュニティのメモ
使うほど良くなる設計。
この Skill が使われ、レビューされるにつれて、フィードバックがここに表示されます。
さらに探す
関連する Skills
すべて見るhyperliquid-trading
The Hyperliquid Trading skill provides a concise interface for trading on Hyperliquid’s spot and perpetual markets. Use it to place limit and market orders, cancel open orders, query order status,…
bankr
Bankr enables executing crypto trading and DeFi operations via natural-language commands. It offers two integration options: a batteries-included Bankr CLI and a REST API at https://api.bankr.bot,…
pine-backtester
pine-backtester provides comprehensive backtesting for Pine Script indicators and strategies. Use it to append performance metrics, analyze trades, generate equity curves, compute win rates, track…