← Back to Skills Marketplace
leejoe411-creator

APEX Binary Trader

by leejoe411-creator · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
279
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install apex
Description
Intelligent agent trading Kalshi 15-min binary crypto markets by analyzing RSI, momentum, volume, and AI signals to place limit orders on BTC, ETH, SOL, XRP.
README (SKILL.md)

APEX — Binary Trading Agent

What I do

APEX is an intelligent binary options trading agent for Kalshi 15-minute crypto markets. I scan BTC, ETH, SOL, and XRP markets every 15 minutes, analyze signals, consult AI, and place trades.

Commands

Command Description
python3 {baseDir}/scripts/apex.py Run one full scan + trade cycle
python3 {baseDir}/scripts/apex.py --status Show balance, P&L, open positions
python3 {baseDir}/scripts/apex.py --log Show recent trade log

How APEX trades

  1. Scans Kalshi 15-min binary markets (KXBTC15M, KXETH15M, KXSOL15M, KXXRP15M)
  2. Pulls RSI, momentum, volume from Coinbase
  3. Votes on direction (UP/DOWN) — needs 3/4 signals aligned
  4. GPT-4o-mini confirms trade, picks YES/NO, sizes position
  5. Places limit order on Kalshi
  6. Judges results when markets resolve

Environment Variables

  • KALSHI_API_KEY_ID — Kalshi API key UUID
  • KALSHI_PRIVATE_KEY_PATH — Path to RSA private key PEM
  • OPENAI_API_KEY — OpenAI API key
  • TELEGRAM_BOT_TOKEN — Telegram bot token
  • TELEGRAM_CHAT_ID — Telegram chat ID

Market knowledge

  • 15-min markets open at :00, :15, :30, :45 every hour
  • Markets resolve based on CF Benchmarks BRTI price
  • YES = price higher at expiry, NO = price lower
  • Best entry window: 8-14 minutes before expiry
  • Avoid trading when RSI is 45-55 (choppy/unclear)
Usage Guidance
Do not run this skill unmodified. The script contains hardcoded API keys, a hardcoded RSA private-key path and Telegram token/chat, and writes to absolute /Users/kao paths — even though the SKILL.md/_meta claim it will use environment variables. This mismatch can cause the skill to (a) use the developer's OpenAI/Telegram/Kalshi credentials (incurring charges and leaking data), (b) read a local private key if it exists at the hardcoded path, or (c) fail unexpectedly. Before installing or running: (1) inspect the full scripts locally; (2) remove any hardcoded secrets and replace them with well-documented environment-variable usage; (3) change absolute paths to configurable relative paths; (4) run in an isolated sandbox or staging account (no real funds); and (5) prefer a version that reads credentials from environment or a secure store and documents required Python dependencies. If you cannot verify the origin of the hardcoded keys, treat this package as untrusted.
Capability Analysis
Type: OpenClaw Skill Name: apex Version: 1.0.0 The script `scripts/apex.py` contains several hardcoded sensitive credentials, including an OpenAI API key and a Telegram Bot token (7956217548:AAEV9...). It is configured to exfiltrate the user's trading activity, account balances, and P&L data to a hardcoded Telegram Chat ID (6850287860), which constitutes a significant data leak. Additionally, the script ignores the environment variables specified in `SKILL.md` in favor of hardcoded local file paths (e.g., `/Users/kao/...`), indicating the skill was poorly sanitized and poses a high risk of unauthorized data disclosure.
Capability Assessment
Purpose & Capability
The skill's stated purpose (autonomous Kalshi trading) matches the code's functionality, but metadata and SKILL.md declare environment variables for keys while the script ignores them and uses hardcoded KEY_ID, KEY_PATH, OPENAI_KEY, TG_TOKEN, TG_CHAT and absolute filesystem paths. That mismatch is not proportionate or expected.
Instruction Scope
SKILL.md tells the agent to run the Python script and lists env vars, but the runtime code doesn't read those env vars and instead will load a private key from an absolute path, post to Telegram via a hardcoded token, call OpenAI with a hardcoded API key, and read/write state/log files at absolute /Users/kao paths. The instructions therefore understate what the code will do and grant the skill broader access than described.
Install Mechanism
No install spec (instruction-only + included script) — lowest install risk. However the script imports third-party Python packages (requests, numpy, cryptography) that are not declared in metadata; missing dependency declarations may cause runtime surprises but are not inherently malicious.
Credentials
SKILL.md/_meta request Kalshi/OpenAI private key envs which would be proportionate, but the script instead hardcodes multiple sensitive values (Kalshi key id and private key path, an OpenAI API key literal, Telegram token/chat id). Hardcoded secrets can (1) use the author's accounts to make API calls and incur costs, (2) leak information to those accounts, and (3) unintentionally access local files because of absolute paths — all disproportionate to a clean skill install.
Persistence & Privilege
The skill is not always:true and does not modify other skills, which is good. But it writes state/log to absolute paths under /Users/kao and reads a private key from an absolute path — non-portable and potentially able to access files on disk if those paths exist. This elevates risk if run on a system containing those paths/keys.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install apex
  3. After installation, invoke the skill by name or use /apex
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
APEX 1.0.0 - Initial Release - Launches as a binary options trading agent for Kalshi 15-minute crypto markets. - Monitors BTC, ETH, SOL, and XRP markets every 15 minutes and places trades based on technical signals and AI confirmation. - Provides status, trade log, and manual scan/trade commands via CLI scripts. - Integrates with Coinbase for market data, and uses GPT-4o-mini for trade decisions and sizing. - Supports Telegram notifications and requires configurable API credentials via environment variables.
Metadata
Slug apex
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is APEX Binary Trader?

Intelligent agent trading Kalshi 15-min binary crypto markets by analyzing RSI, momentum, volume, and AI signals to place limit orders on BTC, ETH, SOL, XRP. It is an AI Agent Skill for Claude Code / OpenClaw, with 279 downloads so far.

How do I install APEX Binary Trader?

Run "/install apex" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is APEX Binary Trader free?

Yes, APEX Binary Trader is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does APEX Binary Trader support?

APEX Binary Trader is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created APEX Binary Trader?

It is built and maintained by leejoe411-creator (@leejoe411-creator); the current version is v1.0.0.

💬 Comments