跳到正文
TakoAPI
返回技能列表

tbot-controller

由 plusgenie 提供

Browser & Automation
732下载量由 clawskills.sh 提供
1浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Operate TradingBoat/TBOT (TBOT runtime stack) via a controlled automation interface (DB-first queries; lifecycle.

描述

该技能的功能

Controls the TradingBoat/TBOT runtime stack via a DB-first interface, querying SQLite for orders, alerts, portfolio data, and errors. Manages container or systemd lifecycle and generates schema-validated TradingView-style webhook signals for IBKR-connected strategies.

DB-first querying lets you inspect orders and portfolio data without needing containers running, avoiding false 'system down' conclusions from stale discovery paths.

何时使用

  • Querying current portfolio positions from the TBOT SQLite database
  • Starting or stopping the TradingBoat Docker Compose stack
  • Sending a close order for a stock position via TBOT webhook
  • Reviewing grouped TBOT error logs to diagnose broker issues
  • Generating a schema-validated TradingView webhook payload for a futures trade

示例工作流

输入

User asks: close 50 NFLX now

智能体
  1. 1

    Infers close intent, ticker NFLX, qty 50, contract stock from natural language

  2. 2

    Reads WEBHOOK_KEY from TBOT runtime .env and uses default webhook URL http://127.0.0.1:5001/webhook

  3. 3

    Auto-generates orderRef as Close_NFLX_50_<epoch_ms>

  4. 4

    Runs bash scripts/tbot.sh json with strategy.close direction and qty=50 metric

  5. 5

    Validates output against alert_webhook_schema.json and sends to TBOT webhook

输出

Schema-validated close signal delivered to TBOT webhook for 50 shares of NFLX

前置要求

  • uv package manager (brew install uv)
  • openclaw-on-tradingboat runtime stack cloned and configured
  • Interactive Brokers (IBKR) account with broker credentials
  • TBOT_COMPOSE_DIR environment variable pointing to the runtime folder
  • WEBHOOK_KEY (TVWB shared secret) configured in the TBOT runtime .env

安装

clawhub install plusgenie/tbot-controller

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接