/webull-openapi-skills:webull-openapifrom webull-openapi-skills
Trade stocks, options, futures, crypto, and event contracts on Webull via natural language. Query real-time and historical market data, manage accounts and positions, and run screeners. Supports US, HK, JP, SG, TH, MY, UK, MX, BR, ZA, and AU regions with configurable risk controls.
Ships in webull-openapi-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This skill lets you interact with Webull's trading platform through natural language. You can place orders, check market data, query account info, and manage positions — all via the official Webull Python SDK.
place, preview, replaceoption-place, option-preview, option-replace, option-strategy-placefutures-place, futures-replacecrypto-placeevent-place, event-replaceoption-snapshot, option-bars, option-tick (category: US_OPTION, supported in all regions except ZA)instrument-option-contracts (query by underlying symbol, expiry, strike, etc.)All order-mutating operations require user confirmation before execution.
Mutating actions: place, replace, cancel, batch-place, algo-place, option-place, option-replace, option-strategy-place, futures-place, futures-replace, crypto-place, event-place, event-replace.
Community write operations also require user confirmation before execution, because they publish content under the user's account: community-create-post, community-create-comment.
Before executing any of these operations, the AI must:
Read-only operations (account-list, balance, position, open, history, detail, executions, instrument-*, and all read-only market-data actions including community-hot-stocks, community-posts-by-symbol, community-post-detail, community-my-posts) do not require confirmation and can be executed immediately.
CLI command: After
pip install -e ., usewebull-skillon all platforms (macOS, Linux, Windows). This console entry point is bound to the Python that ranpip, so it works regardless of whatpython3orpythonpoints to on your system.
Passing order JSON: Prefer
--order-file <path>(write JSON to a temp file first) over--order-json '<inline>'. Inline JSON with--order-jsonis fragile across shells — Windows bash, PowerShell, and some macOS terminals mangle quotes and escapes. Using--order-fileavoids all shell quoting issues.
# Check your accounts
webull-skill trading --action account-list
# Get AAPL stock price
webull-skill market-data --action stock-snapshot --symbols AAPL
# Get account balance
webull-skill trading --action balance --account-id <id>
# Place a limit buy order (recommended: use --order-file)
# echo '{"symbol":"AAPL","side":"BUY","order_type":"LIMIT","limit_price":180,"quantity":10,"instrument_type":"EQUITY","market":"US","time_in_force":"DAY","entrust_type":"QTY","support_trading_session":"CORE","combo_type":"NORMAL"}' > /tmp/order.json
# webull-skill trading --action place --account-id <id> --order-file /tmp/order.json
# Cancel an order
webull-skill trading --action cancel --account-id <id> --client-order-id <oid>
webull-skill [--env-file PATH] [--verbose-sdk-log] <module> --action <ACTION> [options]
Three modules: trading, market-data, auth.
Instrument queries, account/asset operations, and all order operations (stock, option, futures, crypto, event contracts).
For full action list, order JSON formats, replace rules, and order type references, see Trading Guide.
Real-time and historical market data for all asset classes (stock, option, futures, crypto, event contracts), plus screener, fundamentals, watchlist, and community.
For full action list, options, category values, and examples, see Market Data Guide.
webull-skill auth
Interactive 2FA authentication. Run once before first use. The SDK waits up to 5 minutes for you to approve in the Webull mobile app. Token is cached and auto-refreshes.
All operations output formatted text directly to stdout, with a region-aware disclaimer at the top:
⚠️ Disclaimer: The information provided by this tool is for reference only ...
=== Stock Snapshot: AAPL ===
Symbol: AAPL
Price: 255.92
Pre Close: 255.63
Change: 0.29
...
Via .env file or environment variables. Required:
WEBULL_APP_KEY=<your_app_key>
WEBULL_APP_SECRET=<your_app_secret>
Region selection:
# Choose one region:
WEBULL_REGION_ID=us
# WEBULL_REGION_ID=hk
# WEBULL_REGION_ID=jp
# WEBULL_REGION_ID=sg
# WEBULL_REGION_ID=th
# WEBULL_REGION_ID=my
# WEBULL_REGION_ID=uk
# WEBULL_REGION_ID=mx
# WEBULL_REGION_ID=br
# WEBULL_REGION_ID=za
# Sandbox by default; set prod only for live trading.
WEBULL_ENVIRONMENT=uat
.env lookup order (when --env-file is not specified):
$WEBULL_CONFIG_DIR/.env — if WEBULL_CONFIG_DIR is set<project_root>/.env — default (sibling of webull_skill/).env — last resortTo keep credentials outside the project directory, set
WEBULL_CONFIG_DIRas a system environment variable (e.g. in~/.zshrc), then place your.envat$WEBULL_CONFIG_DIR/.env. SettingWEBULL_CONFIG_DIRinside a.envfile has no effect — it must be set before the process starts.
Optional:
| Variable | Default | Description |
|---|---|---|
WEBULL_ENVIRONMENT | uat | uat (sandbox) or prod (live) |
WEBULL_REGION_ID | us | us, hk, jp, sg, th, my, uk, mx, br, za, or au |
WEBULL_MAX_ORDER_NOTIONAL_USD | 10000 | Max order value (USD) |
WEBULL_MAX_ORDER_NOTIONAL_HKD | 80000 | Max order value for HK market (HKD) |
WEBULL_MAX_ORDER_NOTIONAL_CNH | 70000 | Max order value for CN market (CNH) |
WEBULL_MAX_ORDER_NOTIONAL_JPY | 1500000 | Max order value for JP market (JPY) |
WEBULL_MAX_ORDER_QUANTITY | 1000 | Max shares per order |
WEBULL_SYMBOL_WHITELIST | (none) | Comma-separated allowed symbols |
WEBULL_CONFIG_DIR | (none) | System env var only (not in .env). Moves .env lookup and token storage to this directory |
WEBULL_TOKEN_DIR | <project_root>/conf/ | Token storage directory |
WEBULL_AUDIT_LOG_FILE | (stderr) | Audit log file path |
WEBULL_LOG_LEVEL | WARNING | SDK log level |
Region-specific API documentation index: references/llms_{region}.md (e.g. references/llms_hk.md). Read it when checking whether an API or feature is available in a region, or to find the doc link for an endpoint.
| Feature | US | HK | JP | SG | TH | MY | UK | MX | BR | ZA |
|---|---|---|---|---|---|---|---|---|---|---|
| Stock trading | ✓ | ✓ (US/HK/CN) | ✓ (US/JP) | ✓ (US) | ✓ (US) | ✓ (US) | ✓ (US) | ✓ (US) | ✓ (US) | ✓ (US) |
| Options | ✓ | ✓ (US only) | ✓ (US only) | ✓ (US only) | ✓ (US only) | ✓ (US only) | ✓ (US only) | ✓ (US only) | ✓ (US only) | ✗ |
| Futures | ✓ | ✓ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ |
| Crypto | ✓ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ |
| Event contracts | ✓ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ |
| Combo orders | ✓ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ |
| Option leg in/out | ✓ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ |
| Algo orders | ✓ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ |
| Trailing stop loss | ✓ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ |
| Fractional shares | ✓ (US market) | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ |
| Company profile | ✓ | ✓ | ✓ | ✗ | ✓ | ✓ | ✓ | ✗ | ✗ | ✗ |
| Analyst rating / target price | ✓ | ✓ | ✓ | ✗ | ✓ | ✓ | ✓ | ✗ | ✗ | ✗ |
| NOII bars / snapshot | ✓ | ✓ | ✓ | ✗ | ✓ | ✓ | ✓ | ✗ | ✗ | ✗ |
| Screener | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Watchlist | ✓ | ✓ | ✓ | ✗ | ✓ | ✓ | ✓ | ✗ | ✗ | ✗ |
| Community | ✓ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ |
| Fundamentals | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
ENHANCED_LIMIT, AT_AUCTION, AT_AUCTION_LIMITLIMIT only, disabled by default — contact Webull to enablesender_sub_id and no_party_ids (BCAN)sender_sub_id only, no BCAN neededWEBULL_REGION_ID=jp; sandbox uses WEBULL_ENVIRONMENT=uat.US_OPTION): contracts, market data, positions, and the order lifecycle (preview, place, replace, cancel). Multi-leg option strategies are not supported.US_STOCK and US_ETF.US and JP.LIMIT and MARKET; JP market time in force is DAY.LIMIT, MARKET, STOP_LOSS, STOP_LOSS_LIMIT with DAY or GTC.account_type: CASH or US_MARGIN.account_tax_type is required for JP stock place and preview; valid values are GENERAL and SPECIFIC.account_tax_type is also required for JP US option option-place and option-preview; valid values are GENERAL and SPECIFIC.trade_currency is the JP-only settlement currency for stock place and preview; valid values are USD and JPY. It is required for CASH accounts and optional for US_MARGIN accounts. It does not apply to option or futures orders.account_type: US_OPTION.margin_type and position_intent are valid only for JP US_MARGIN accounts (for stock orders). For option orders in any region, position_intent is supported via option-place / option-preview (it is not region-specific; testing showed JP and SG require it for BUY orders); the Skill does not validate it and passes it to the backend as is.close_contracts is JP-only and accepts up to 10 objects with contract_id and positive quantity.WEBULL_REGION_ID=sg; sandbox uses WEBULL_ENVIRONMENT=uat.MARKET, LIMIT, STOP_LOSS, STOP_LOSS_LIMIT.DAY, GTC.CORE, ALL, NIGHT, ALL_DAY.US only.US_OPTION): contracts, market data, positions, and the order lifecycle (preview, place, replace, cancel). Multi-leg option strategies are not supported.WEBULL_REGION_ID=th; sandbox uses WEBULL_ENVIRONMENT=uat.MARKET, LIMIT, STOP_LOSS, STOP_LOSS_LIMIT.DAY, GTC.CORE, ALL, NIGHT, ALL_DAY.US only.US_OPTION): contracts, market data, positions, and the order lifecycle (preview, place, replace, cancel). TH option accounts use account class INDIVIDUAL_CASH.WEBULL_REGION_ID=my; sandbox uses WEBULL_ENVIRONMENT=uat.MARKET, LIMIT, STOP_LOSS, STOP_LOSS_LIMIT.DAY, GTC.CORE, ALL, NIGHT, ALL_DAY.US only.US_OPTION): contracts, market data, positions, and the order lifecycle (preview, place, replace, cancel). Multi-leg option strategies are not supported.WEBULL_REGION_ID=uk; sandbox uses WEBULL_ENVIRONMENT=uat.MARKET, LIMIT, STOP_LOSS, STOP_LOSS_LIMIT.DAY, GTC.CORE, ALL, NIGHT, ALL_DAY.US only.US_OPTION): contracts, market data, positions, and the order lifecycle (preview, place, replace, cancel). Multi-leg option strategies are not supported.WEBULL_REGION_ID=mx; sandbox uses WEBULL_ENVIRONMENT=uat.MARKET, LIMIT, STOP_LOSS, STOP_LOSS_LIMIT.DAY, GTC.CORE, ALL, NIGHT, ALL_DAY.US only.US_OPTION): contracts, market data, positions, and the order lifecycle (preview, place, replace, cancel). Multi-leg option strategies are not supported.WEBULL_REGION_ID=br; sandbox uses WEBULL_ENVIRONMENT=uat.MARKET, LIMIT, STOP_LOSS, STOP_LOSS_LIMIT.DAY, GTC.CORE, ALL, NIGHT, ALL_DAY.US only.US_OPTION): contracts, market data, positions, and the order lifecycle (preview, place, replace, cancel). Multi-leg option strategies are not supported.WEBULL_REGION_ID=au; sandbox uses WEBULL_ENVIRONMENT=uat.US).WEBULL_REGION_ID=za; sandbox uses WEBULL_ENVIRONMENT=uat.MARKET, LIMIT, STOP_LOSS, STOP_LOSS_LIMIT.DAY, GTC.CORE, ALL, NIGHT, ALL_DAY.US only.AU region: "Webull Agent Skills offers technical integration only, not financial advice. AI outputs may be inaccurate or trigger unintended trades. You are responsible for monitoring activity. Webull is not responsible for the independent actions of third-party AI tools to the extent permitted by law."
The information provided by this tool is for reference only and does not constitute investment advice. Trading involves risk; please make decisions carefully.
What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (webull-inc/webull-openapi-skills) — no native marketplace selected
npx claudepluginhub p/webull-inc-webull-openapi-skillsOther plugins' skills for the same job