Neural API Reference
Documentation for the rlx-search engine and MCP orchestration.
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 payloadPOST /api/run-backtest— proof backtest execution
AIPP wrappers
get_rlxbt_status→ daemon/api/healthrun_rlxbt_backtest→ daemon/api/run-backtest- UI routes:
/api/rlxbt/statusand/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_reversionema_trend_followbreakout_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_longexit_longentry_shortexit_short
Graph-style / advanced fields
strategyentry_rules[]exit_rules[]position_sizingrisk_management
Numeric risk / execution fields
stop_loss_pcttake_profit_pctmax_hold_barsposition_sizeinitial_capitalcommissionslippageWorking 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.