taco
Interact with the Taco crypto trading platform via API. Use when the user wants to (1) get kline/candlestick market data, (2) check account balance and positions, (3) open perpetual positions, (4) close perpetual positions, (5) update take-profit or stop-loss on existing positions, (6) calculate technical indicators (EMA, MACD, RSI, ATR, BollingerBands, DonchianChannel), or (7) any trading operations on Taco. Supports exchanges: Binance, Hyper, Aster, Grvt, StandX, Lighter.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/furoxr/taco-devTaco Trading Platform
Setup
Config is stored at ~/.openclaw/workspace/taco/config.json. Each exchange is bound to its own trader_id:
{
"user_id": "<taco user id>",
"api_token": "<taco api key>",
"trader_ids": {
"StandX": "<trader id for StandX>",
"Binance": "<trader id for Binance>",
"Hyper": "<trader id for Hyper>",
"Lighter": "<trader id for Lighter>",
"Aster": "<trader id for Aster>",
"Grvt": "<trader id for Grvt>"
}
}
Key concept: Exchange and trader_id are bound 1:1. When operating on a specific exchange, the CLI automatically uses the corresponding trader_id from config. Only configure the exchanges you use.
First-time setup: If config does not exist, ask the user for their user_id, api_token, and each exchange's trader_id, then write the JSON file to ~/.openclaw/workspace/taco/config.json (create parent directories as needed). Alternatively, run the interactive init command:
$PYTHON scripts/taco_client.py init
Before any API call: Check that ~/.openclaw/workspace/taco/config.json exists. If not, guide the user through setup first.
Python Requirement
Before running any command, detect the available Python 3 command:
command -v python3 || command -v python
- If
python3is found, usepython3(andpip3for package installs) - If only
pythonis found, verify it is Python 3 withpython --version. If it reports Python 2.x, treat it as unavailable. - If neither provides Python 3, ask the user to install Python 3 before proceeding.
Then check the requests package: $PYTHON -c "import requests". If it fails, install with pip3 install requests (or pip install requests if only pip is available).
In all examples below, $PYTHON represents the detected Python command. Store the result once per session and reuse it for every subsequent call.
Usage
Run the CLI client at scripts/taco_client.py (relative to this skill directory). Requires the requests Python package. Config defaults to ~/.openclaw/workspace/taco/config.json (override with --config <path>).
Get kline data (no auth required)
$PYTHON scripts/taco_client.py kline \
--symbol BTCUSDT --interval 1h --exchange Binance
Optional: --start-time <unix_ms> --end-time <unix_ms> (max 100 klines per response)
Valid intervals: 1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 8h, 12h, 1d, 3d, 1w, 1M
Check account
$PYTHON scripts/taco_client.py account --exchange Binance
Returns: available_balance, total_equity, margin_used, and open positions for the specified exchange's trader.
Open position
$PYTHON scripts/taco_client.py open \
--exchange Binance --symbol BTCUSDT --notional 100 --long --leverage 3 \
--sl-price 80000 --tp-price 100000
--longfor long, omit for short--sl-priceand--tp-priceare optional--leveragedefaults to 1.0
Close position
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-furoxr-taco-dev": {
"enabled": true,
"auto_update": true
}
}
}