Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
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...
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...
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
Execute trades via Tiger Brokers API.
Create config file at ~/.tiger-config.json : { "tiger_id": "your_tiger_id", "account": "your_account", "private_key_pk8": "your_private_key" }
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
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)
LMT = Limit order MKT = Market order
BUY - δΉ°ε ₯ SELL - εεΊ
Code helpers, APIs, CLIs, browser automation, testing, and developer operations.
Largest current source with strong distribution and engagement signals.