← 返回
未分类 中文

Openalgo Executor

Skill to interact with the OpenAlgo API for trading operations. Allows placing market/limit orders, retrieving current positions, and fetching symbol quotes....
用于与 OpenAlgo API 交互的交易技能,支持下单(市价/限价),查询持仓和获取行情报价。
anthonyabraham1379-pixel anthonyabraham1379-pixel 来源
未分类 clawhub v1.0.0 1 版本 99707.6 Key: 无需
★ 0
Stars
📥 341
下载
💾 1
安装
1
版本
#latest

概述

OpenAlgo Executor Skill

This skill provides an interface to the OpenAlgo trading platform.

Capabilities

  • Place Market/Limit Orders
  • Retrieve Current Positions
  • Obtain Symbol Quotes

Configuration

The skill uses a Python client script (scripts/openalgo_client.py) to interact with the OpenAlgo API. The default API endpoint is http://localhost:5000. If your OpenAlgo service is accessible via a different URL or an ngrok tunnel, you can specify it using the --url argument when running commands.

Usage

To use this skill, you can execute commands via the run_command function, passing the desired arguments for the openalgo_client.py script.

Placing Orders

Market Order:

To place a market order, specify the symbol, action (buy/sell), and quantity.

Example: Place a market buy order for 10 SOL:

openalgo-executor.run_command("order --symbol SOLUSD --action buy --quantity 10")

Limit Order:

To place a limit order, specify the symbol, action, quantity, order type (limit), and the desired price.

Example: Place a limit sell order for 5 BTC at $50000:

openalgo-executor.run_command("order --symbol BTCUSD --action sell --quantity 5 --type limit --price 50000")

Retrieving Positions

To get a list of your current open positions, use the positions command.

Example:

openalgo-executor.run_command("positions")

Retrieving Quotes

To get the current quote for a specific symbol, use the quote command with the symbol.

Example: Get the quote for ETHUSD:

openalgo-executor.run_command("quote --symbol ETHUSD")

Custom URL

If your OpenAlgo API is hosted at a different URL (e.g., via ngrok), append the --url argument to your command.

Example: Using an ngrok URL:

openalgo-executor.run_command("order --symbol SOLUSD --action buy --quantity 10 --url http://your-ngrok-url.io")

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 16:47 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 677 📥 325,698
ai-agent

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,229 📥 268,108
ai-agent

self-improving agent

pskoett
捕获经验教训、错误及修正内容,以实现持续改进。适用于以下场景:(1)命令或操作意外失败;(2)用户纠正Claude(如“不,那不对……”“实际上……”);(3)用户请求的功能不存在;(4)外部API或工具出现故障;(5)Claude发现自身
★ 4,084 📥 813,114