Xerolite
Integrate OpenClaw with Xerolite - IBKR.
- Rating
- 4.5 (467 reviews)
- Downloads
- 21,427 downloads
- Version
- 1.0.0
Overview
Integrate OpenClaw with Xerolite - IBKR.
Complete Documentation
View Source →
Xerolite
Trading Bridge from TradingView to Interactive Brokers.
Xerolite automates execution of your trading ideas: it connects TradingView alerts to your Interactive Brokers account so orders are sent in real time with no manual steps. You design the logic and alerts in TradingView; Xerolite handles the bridge to IB (TWS or IB Gateway) and execution.
This skill lets your OpenClaw agent call the Xerolite REST API to place orders and search contracts — so you can trade or look up symbols from natural language or automation without leaving your workflow.
Package Structure
skills/xerolite/
├── SKILL.md # This file
├── scripts/
│ ├── xerolite.mjs # CLI (order place, contract search)
└── references/
└── API.md # REST API guide
Capabilities
- Place orders via Xerolite REST API.
- Search contracts via Xerolite REST API.
Commands
Use these commands from the skill directory (or with {baseDir} in other skills).
Default flag values (optional; omit to use): --currency USD, --asset-class STOCK, --exch SMART.
Place order
Required: --action, --qty, --symbol. Optional: --currency, --asset-class, --exch.
# Minimal (defaults: USD, STOCK, SMART)
node {baseDir}/scripts/xerolite.mjs order place --symbol AAPL --action BUY --qty 10
# Full
node {baseDir}/scripts/xerolite.mjs order place \
--symbol AAPL \
--currency USD \
--asset-class STOCK \
--exch SMART \
--action BUY \
--qty 10
JSON sent to POST /api/internal/agent/order/place-order:
{
"name": "Agent",
"action": "BUY",
"qty": "10",
"symbol": "AAPL",
"currency": "USD",
"asset_class": "STOCK",
"exch": "SMART"
}
Search contract
Required: --symbol. Optional: --currency, --asset-class, --exch.
# Minimal (defaults: USD, STOCK, SMART)
node {baseDir}/scripts/xerolite.mjs contract search --symbol AAPL
# Full
node {baseDir}/scripts/xerolite.mjs contract search \
--symbol AAPL \
--currency USD \
--asset-class STOCK \
--exch SMART
JSON sent to POST /api/internal/agent/contract/search:
{
"brokerName": "IBKR",
"symbol": "AAPL",
"currency": "USD",
"xeroAssetClass": "STOCK"
}
REST API
For the order and contract search endpoints used by this skill, see references/API.md.
Requirements
- Node.js 18+ (for built-in
fetch) - CLI only: Optional
XEROLITE_API_URL— base URL for Xerolite API. If not set, defaults tohttp://localhost(same machine or local network). No API key in this version; may be added in a future version.
Installation
openclaw install xerolite
💻Code Examples
└── API.md # REST API guide
## Capabilities
- Place orders via Xerolite REST API.
- Search contracts via Xerolite REST API.
## Commands
Use these commands from the skill directory (or with `{baseDir}` in other skills).
**Default flag values** (optional; omit to use): `--currency USD`, `--asset-class STOCK`, `--exch SMART`.
### Place order
Required: `--action`, `--qty`, `--symbol`. Optional: `--currency`, `--asset-class`, `--exch`.}
### Search contract
Required: `--symbol`. Optional: `--currency`, `--asset-class`, `--exch`.skills/xerolite/
├── SKILL.md # This file
├── scripts/
│ ├── xerolite.mjs # CLI (order place, contract search)
└── references/
└── API.md # REST API guide# Minimal (defaults: USD, STOCK, SMART)
node {baseDir}/scripts/xerolite.mjs order place --symbol AAPL --action BUY --qty 10
# Full
node {baseDir}/scripts/xerolite.mjs order place \
--symbol AAPL \
--currency USD \
--asset-class STOCK \
--exch SMART \
--action BUY \
--qty 10{
"name": "Agent",
"action": "BUY",
"qty": "10",
"symbol": "AAPL",
"currency": "USD",
"asset_class": "STOCK",
"exch": "SMART"
}# Minimal (defaults: USD, STOCK, SMART)
node {baseDir}/scripts/xerolite.mjs contract search --symbol AAPL
# Full
node {baseDir}/scripts/xerolite.mjs contract search \
--symbol AAPL \
--currency USD \
--asset-class STOCK \
--exch SMART{
"brokerName": "IBKR",
"symbol": "AAPL",
"currency": "USD",
"xeroAssetClass": "STOCK"
}Tags
Quick Info
Ready to Install?
Get started with this skill in seconds
Related Skills
4claw
4claw — a moderated imageboard for AI agents.
Aap Passport
Agent Attestation Protocol - The Reverse Turing Test.
Acestep Lyrics Transcription
Transcribe audio to timestamped lyrics using OpenAI Whisper or ElevenLabs Scribe API.
Adaptive Suite
A continuously adaptive skill suite that empowers Clawdbot.