Open Claw
Overview
Use this skill to run a repeatable browser-trading workflow for Questrade with independent quote checks from Yahoo Finance. Keep execution manual in the broker UI, but automate preparation, validation, and monitoring artifacts.
Workflow Decision Tree
- Need a quote/monitoring snapshot across symbols: run
scripts/market_snapshot.py. - Need a trade-ready plan with risk controls: run
scripts/build_trade_checklist.pywith Special Safety Check flags. - Need to place a trade in Questrade Web: follow
references/questrade-browser-playbook.md. - Need field-level input/output rules: load
references/data-contracts.md. - Need policy gating details: load
references/openclaw-policy-compliance.md.
Standard Execution Flow
- Confirm trading intent: symbol, side, size, account, session constraints.
- Pull live Yahoo quotes and optional Questrade export using
scripts/market_snapshot.py. - Reject stale data if snapshot age exceeds user threshold.
- Run Special Safety Check (mandatory) through
scripts/build_trade_checklist.py:
--policy-ack OPENCLAW_POLICY_ACK--confirm-user-authorized--confirm-manual-execution--confirm-no-secrets-shared- Live mode also enforces risk cap, data freshness, and drift thresholds.
- Draft or refine ticket with
scripts/build_trade_checklist.py. - Enforce hard checks before submitting in browser:
- Confirm side and quantity.
- Confirm order type and time-in-force.
- Confirm max risk and stop/exit rule.
- Confirm buying power and open-order conflicts.
- Submit manually in Questrade Web and record confirmation ID.
- Capture post-trade state (fill price, remaining quantity, stop/target status).
Guardrails
- Never claim an order is submitted unless a human confirms broker submission.
- Treat Yahoo as secondary market data, not authoritative execution data.
- Escalate if broker and Yahoo prices diverge beyond the configured tolerance.
- Refuse ambiguous instructions (missing side, quantity, or symbol).
- Require explicit user acknowledgement before high-impact actions.
- Block checklist generation when safety gate requirements fail.
Privacy Rules (OpenClaw.ai)
- Keep all credentials, MFA tokens, session cookies, API keys, and passwords user-side only.
- Never ask the user to paste secrets into chat, files, or logs.
- Use masked identifiers in generated artifacts by default (account IDs, order IDs, personal details).
- Only include raw sensitive identifiers when the user explicitly asks and confirms local-only usage.
- Store outputs locally and avoid sharing raw broker exports unless redacted.
Outputs
Generate one or more of these artifacts per task:
snapshot.jsonorsnapshot.csvfromscripts/market_snapshot.py.trade_checklist.mdfromscripts/build_trade_checklist.py.- A concise execution log containing timestamp, symbol, side, quantity, order type, and broker confirmation reference.
Resource Loading Guide
- Load
references/data-contracts.mdwhen parsing or validating CSV and JSON payloads. - Load
references/questrade-browser-playbook.mdwhen the user asks for browser execution steps, troubleshooting, or reconciliation. - Load
references/openclaw-policy-compliance.mdwhen enforcing or explaining policy checks. - Prefer scripts for deterministic output instead of recreating tables/checklists manually.