SELF-HOSTED · YOUR KEYS · YOUR MACHINE

Trade perpetual futures
on autopilot.

Apex Trader runs on your hardware, trades with your exchange credentials, and executes your strategy. No cloud. No data sharing. No middleman.

apex-trader
$ node setup-wizard.mjs
# Interactive setup -- pick exchange, strategy, pairs
$ node apex-trader.mjs
[14:32:01] Engine started: reversal_180
[14:32:01] Watching: BTC-USDT (1H), ETH-USDT (1H), SOL-USDT (15m)
[14:32:02] Exchange: Blofin (demo) -- connected
[14:32:02] Status page: http://localhost:3200
[14:45:00] SIGNAL: BTC-USDT LONG @ $67,240 (reversal_180)
[14:45:01] ORDER FILLED: BTC-USDT LONG 0.015 @ $67,241
[14:45:01] SL: $65,224 | Trail: 0.5% (activates at +2.5%)
5
Exchanges
4
Built-in Strategies
7
Timeframes
0%
Monthly Fees

Everything you need. Nothing you don't.

No subscriptions. No cloud lock-in. One payment, full ownership.

🔒

Self-Hosted

Runs on your machine. API keys never leave your hardware. No cloud servers, no data sharing, no third-party access.

Real-Time Status Page

Built-in WebSocket dashboard. Watch positions, P&L, signals, and activity in real time from any browser on your network.

🛡

Risk Management

Hard leverage caps, daily drawdown limits, stop losses, trailing stops, and max position controls. All configurable per-pair.

🧪

Demo Mode

Every exchange supports sandbox/testnet. Test your strategy risk-free before committing real capital. Flip one config flag to go live.

📊

Backtesting Engine

Test strategies against historical data. Compare performance, drawdown, and win rates before deploying live.

Setup Wizard

Interactive CLI walks through exchange selection, API credentials, strategy pick, and risk params. Trading in under 5 minutes.

📈

4 Strategy Engines

Reversal detection, level rejection, momentum entries, and conservative indicator signals. Each engine tunable via config params.

🔌

Unified Exchange API

Same config format across all exchanges. Switch from Blofin to Bybit by changing one line. CCXT adapter handles the rest.

💾

Local Database

All trades, positions, and performance data stored in an encrypted local SQLite database. Optional passphrase encryption.

Your exchange. Your choice.

Connect to any of these exchanges with a single config change.

Blofin Demo available
Hyperliquid On-chain perps
Bybit Testnet available
Binance Futures
OKX Demo available

Up and running in 3 steps.

1

Install

Download the package, run npm install. Node.js 20+ is the only requirement. No Docker, no external services.

2

Configure

Run the setup wizard or edit config.yaml directly. Pick your exchange, paste your API keys, choose a strategy, set your risk limits.

3

Trade

Run node apex-trader.mjs and open the status page. Start in demo mode, validate your strategy, then flip to live when ready.

One payment. You own it.

No monthly subscriptions. No profit sharing. No hidden fees.

Base

Everything you need to get started.

$97 one-time
  • 2 exchanges
  • 3 trading pairs
  • All 4 strategy engines
  • Backtesting engine
  • Real-time status page
  • Setup wizard
  • Demo mode
  • Encrypted local database

Payment via crypto accepted. 300+ cryptocurrencies supported. No accounts required.

Questions

Do I need a server or VPS?
No. Apex Trader runs on any machine with Node.js 20+ -- your laptop, a mini PC, a NAS, or a VPS if you prefer. There's no cloud component. It connects directly to your exchange's API.
Are my API keys safe?
Your API keys stay in your local config.yaml file and never leave your machine. There's no telemetry, no cloud sync, no phone-home. The bot connects directly from your IP to the exchange API.
Can I test without real money?
Yes. Every supported exchange has a sandbox/demo/testnet mode. Start with sandbox: true in your config (this is the default). Run your strategy risk-free, review performance, then flip to live when you're confident.
What strategies are included?
Four built-in engines: reversal_180 (trend reversal detection), dmc_level_rejection (key level bounce trading), money_z (momentum entries), and piggy_v1 (conservative indicator signals). Each is configurable via params in your config file.
How do I switch exchanges?
Change the exchange.id field in config.yaml and paste your new credentials. The CCXT adapter normalizes everything -- pair formats, order types, position tracking. One config change, same behavior.
Is there a monthly fee?
No. One-time payment. You own the software. No subscriptions, no profit-sharing, no usage limits beyond your tier's exchange and pair counts.
What happens if my machine goes offline?
Active stop losses and trailing stops are placed on the exchange itself, so they execute even if your machine disconnects. When the bot restarts, it reconciles positions with the exchange and picks up where it left off.