Documentation

Neural API Reference

Documentation for the rlx-search engine and MCP orchestration.

Engine StatusOperational
RLXBT Daemon

RLXBT Contract Reference

Public reference for the external RLXBT daemon currently wired into AI Price Patterns. This page documents the daemon-facing health and backtest contract, the preset layer we expose in AIPP, and how raw strategy rules are forwarded to /api/run-backtest.

Daemon endpoints

  • GET /api/health — liveness + reported daemon payload
  • POST /api/run-backtest — proof backtest execution

AIPP wrappers

  • get_rlxbt_status → daemon /api/health
  • run_rlxbt_backtest → daemon /api/run-backtest
  • UI routes: /api/rlxbt/status and /api/rlxbt/backtest

GET/api/health

Daemon Health Check

Returns the raw health payload from the RLXBT daemon. AI Price Patterns surfaces this through get_rlxbt_status and the /rlxbt UI status card.

Example Request

Returned by AIPP MCP wrapper

POST/api/run-backtest

Run RLXBT Backtest

Executes a proof backtest in the daemon. AI Price Patterns either forwards a preset-expanded rules object or your custom RLXBT strategy fields.

Example Request

Preset layer exposed by AIPP

  • rsi_mean_reversion
  • ema_trend_follow
  • breakout_confirmation

AIPP expands the preset into daemon rule fields before sending the request. You may still override sizing/risk fields such as initial_capital, position_size, stop_loss_pct, take_profit_pct, and max_hold_bars.

Important validation rule

Do not send both preset and custom strategy fields in the same AIPP MCP/UI request. Use either the preset shortcut or provide the raw RLXBT strategy/rule fields yourself.

Accepted request fields

Simple rule fields

  • entry_long
  • exit_long
  • entry_short
  • exit_short

Graph-style / advanced fields

  • strategy
  • entry_rules[]
  • exit_rules[]
  • position_sizing
  • risk_management

Numeric risk / execution fields

stop_loss_pct
take_profit_pct
max_hold_bars
position_size
initial_capital
commission
slippage

Working examples

MCP preset run

MCP raw rules run

MCP graph-style strategy run

AIPP wrapper response shape

The result object is the daemon's raw payload. The UI page /rlxbt normalizes that payload into summary metrics, equity curve data, payment-retry state, and saved run history.