スキル一覧に戻る
Herklos

octobot-services

by Herklos

My OctoBot stack vscode workspace

0🍴 0📅 2026年1月21日
GitHubで見るManusで実行

SKILL.md


name: OctoBot-Services description: External service integrations for OctoBot (webhooks, notifications, cloud sync) version: 1.0.0 license: GPL-3.0

OctoBot-Services Development

Overview

OctoBot-Services provides integration with external services including webhooks, notifications (Telegram, Discord, Twitter), cloud synchronization, and third-party APIs.

References

  • Service Tentacles: Notification, webhook, and cloud service implementations
  • Webhooks: TradingView signals, custom webhooks, payload handling
  • Notifications: Telegram, Discord, Twitter bot configuration

Key Concepts

Service Tentacles

Plugin-based services as tentacles, configurable via web interface.

Service Instances

Each service runs as independent async task.

Service Factory

Creates and manages service instances.

Common Tasks

Enable Telegram Notifications

from octobot_services.services import TelegramService

telegram = TelegramService()
telegram.set_bot_token("YOUR_TOKEN")
telegram.set_chat_id("YOUR_CHAT_ID")
await telegram.start()
await telegram.send_message("Bot started")

Handle TradingView Webhook

from octobot_services.services import WebhookService

webhook = WebhookService()

@webhook.register_handler("/tradingview")
async def handle_tradingview(payload):
    action = payload["action"]  # buy/sell
    symbol = payload["ticker"]
    if action == "buy":
        await place_order(symbol, "buy")

Configure Discord Bot

from octobot_services.services import DiscordService

discord = DiscordService()
discord.set_token("BOT_TOKEN")
discord.set_channel_id("CHANNEL_ID")
await discord.start()

Integration Points

  • OctoBot Core: Services notify on trading events
  • OctoBot-Trading: Services trigger orders via webhooks
  • Web Interface: Configure services via dashboard
  • External APIs: Twitter, Telegram, Discord, TradingView

Quick Reference

Service Configuration

{
    "telegram": {
        "enabled": true,
        "token": "YOUR_TOKEN",
        "chat_id": "YOUR_CHAT_ID"
    },
    "webhook": {
        "enabled": true,
        "port": 5001,
        "auth_token": "SECRET"
    }
}

Common Service Events

  • on_trade: Trade executed
  • on_order: Order placed
  • on_evaluation: Evaluator signal
  • on_profitability: Portfolio update

Checklist

  • Configure at least one notification service (Telegram/Discord)
  • Test webhook endpoint with curl/Postman
  • Secure webhook with authentication token
  • Subscribe services to relevant channels (Async-Channel)
  • Handle service errors gracefully
  • Test notification delivery
  • Document webhook payload format

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です