← 返回 Skills 市场
Neuro Scalp
作者
shayuqiang671-rgb
· GitHub ↗
· v1.0.2
· MIT-0
142
总下载
0
收藏
1
当前安装
3
版本数
在 OpenClaw 中安装
/install neuro-scalp
功能描述
AI-driven high-frequency crypto scalping bot for OKX with reinforcement learning, dynamic risk control, and real-time market data monitoring.
安全使用建议
This repository appears to implement the advertised OKX scalping bot, but I recommend caution before installing or running it with real credentials.
Key actions to consider before use:
- Do not run with real OKX API keys on any machine you care about until you audit and test in isolation. The code will execute live orders when keys are present.
- Treat model checkpoint files as a trust boundary. torch.load can execute arbitrary code when loading malicious .pth files — only load checkpoints you or a trusted party produced. Consider disabling automatic model loading or sandboxing the process.
- The registry metadata is inconsistent: the bundle fails to declare required environment variables (.env.example is missing). Expect to supply OKX_API_KEY, OKX_SECRET, OKX_PASSPHRASE and secure your Redis instance (do not expose ports publicly).
- Resolve dependency mismatches (ccxt.pro import vs ccxt in requirements) and test in a disposable, network-isolated environment (e.g., throwaway VM or container) using OKX testnet credentials first.
- If you plan to expose the dashboard, put it behind authentication and do not bind it to 0.0.0.0 on an internet-facing host without proper access controls.
If you want, I can: (1) list the exact places to harden (code lines to change) to mitigate torch.load risk; (2) produce an installation checklist to run safely in testnet; or (3) produce a minimal audit patch that refuses to load model files unless signed/trusted.
功能分析
Type: OpenClaw Skill
Name: neuro-scalp
Version: 1.0.2
The skill bundle implements a functional AI-driven cryptocurrency trading bot for the OKX exchange, featuring real-time data ingestion, feature engineering, and a reinforcement learning model. It follows security best practices by utilizing environment variables for API credentials (main.py) and lacks any indicators of data exfiltration, backdoors, or malicious prompt injection. The inclusion of a detailed system architecture prompt in the README.md and a FastAPI dashboard (dashboard/app.py) suggests a well-structured, legitimate quantitative trading tool.
能力评估
Purpose & Capability
The project code implements an OKX trading bot as advertised, but the registry metadata claims no required env vars or primary credential while the code clearly expects OKX API credentials (OKX_API_KEY, OKX_SECRET, OKX_PASSPHRASE) and a Redis endpoint. SKILL.md instructs to copy .env.example -> .env but no .env.example is present in the bundle. Also code imports ccxt.pro while requirements.txt lists ccxt (mismatch). These metadata/instruction omissions are incoherent with the skill's purpose.
Instruction Scope
SKILL.md gives typical install/run steps but omits important runtime risks: the orchestrator will open live trading connections, consume/produce Redis pubsub channels and expose a dashboard. The code will load model checkpoints from disk with torch.load (unsafe for untrusted files) and will execute trades (create_order) when env creds are present. SKILL.md does not warn about the model-loading risk or about network exposure.
Install Mechanism
There is no separate install spec (instruction-only), which keeps risk lower than arbitrary downloads. Dependencies are provided in requirements.txt and a docker-compose file is included. However: code imports ccxt.pro (commercial ccxt.pro) but requirements list ccxt; this will cause runtime issues or require installing a commercial package. No remote code downloads or obfuscated installers were found.
Credentials
The code legitimately needs OKX API keys and optionally REDIS_URL, but registry metadata declares none. Requiring API keys for a trading bot is expected, but the mismatch (metadata vs code) is a red flag. Docker-compose shows example envs in plaintext. Also model checkpoint loading via torch.load means a provided model file becomes a sensitive trust boundary (it can execute code when loaded).
Persistence & Privilege
The skill does not request always:true and does not modify other skills or system-wide agent config. It runs as a normal service (can be invoked/autonomously by default), publishes to Redis, and serves a dashboard — typical for this type of tool. No excessive platform privileges were requested.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install neuro-scalp - 安装完成后,直接呼叫该 Skill 的名称或使用
/neuro-scalp触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
- Initial support for Node.js project structure with the addition of package.json.
- No changes to core functionality or documentation content.
v1.0.1
添加收益配置和定价策略
v1.0.0
Initial release of Neuro Scalp – an AI-powered crypto scalping trading bot.
- Supports OKX futures and spot trading (mainnet and testnet)
- Runs 24/7 with fully automated trade execution
- Utilizes advanced AI (PPO/SAC reinforcement learning, LSTM, online learning)
- Implements scalping strategies: order book imbalance, liquidity scans, mean reversion, and momentum
- Robust risk management: dynamic position sizing, automated stop-loss, daily circuit breakers
- Includes real-time monitoring dashboard (FastAPI + Plotly)
- Features high-speed data processing with WebSocket and Redis
元数据
常见问题
Neuro Scalp 是什么?
AI-driven high-frequency crypto scalping bot for OKX with reinforcement learning, dynamic risk control, and real-time market data monitoring. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 142 次。
如何安装 Neuro Scalp?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install neuro-scalp」即可一键安装,无需额外配置。
Neuro Scalp 是免费的吗?
是的,Neuro Scalp 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Neuro Scalp 支持哪些平台?
Neuro Scalp 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Neuro Scalp?
由 shayuqiang671-rgb(@shayuqiang671-rgb)开发并维护,当前版本 v1.0.2。
推荐 Skills