Install
openclaw skills install @player-1101/snaptrade-apiExecute trades and retrieve account data via the SnapTrade API using the snaptrade-python-sdk. Use this skill whenever OpenClaw needs to place a buy or sell order, check account balances, get current positions, retrieve order history, fetch symbol quotes, cancel an open order, or refresh account holdings through SnapTrade. Triggers on any trading action or account data request routed through SnapTrade — even if the user just says "buy X shares", "what's my balance", "check my positions", "cancel that order", or "did my trade go through". Always use this skill when brokerage account interaction of any kind is needed.
openclaw skills install @player-1101/snaptrade-apiSnapTrade connects OpenClaw to the user's brokerage (IBKR, Questrade, Alpaca,
and more) through a unified API. This skill handles all account data retrieval
and order execution. For market price data and OHLCV bars, use the
massive-data-feed skill — SnapTrade does not provide chart data.
Run once before first use:
bash scripts/setup.sh
source .venv-snaptrade/bin/activate
See README.md for full onboarding — how to get credentials, register a user,
and connect a brokerage account.
Always run this first before any other call:
import os
from snaptrade_client import SnapTrade
snaptrade = SnapTrade(
consumer_key=os.environ["SNAPTRADE_CONSUMER_KEY"],
client_id=os.environ["SNAPTRADE_CLIENT_ID"],
)
user_id = os.environ["SNAPTRADE_USER_ID"]
user_secret = os.environ["SNAPTRADE_USER_SECRET"]
Each reference file covers one domain. Read only what you need.
| Task | Reference file |
|---|---|
| Get accounts, balances, positions, orders, historical value | references/account-data.md |
| Resolve a ticker to a symbol ID + get quotes | references/symbol-resolution.md |
| Place an equity trade (limit, market, bracket) | references/place-orders.md |
| Place an options order (single or multi-leg) | references/options-trading.md |
| Place a crypto order | references/crypto-trading.md |
| Cancel an order or refresh holdings | references/cancel-refresh.md |
| Get historical transactions / activity log | references/historical-data.md |
trade_id from an impact check expires in 5 minutes — place the order immediately after getting it, don't do other work in betweenmassive-data-feed for thatreferences/cancel-refresh.md)