get_ml_signal
ML ensemble directional forecast for a Solana asset (read-only).
Trains the ported Bybit ensemble (XGBoost + RandomForest + NeuralNet + GradientBoost + a candle flow proxy) walk-forward on the last lookback_candles of OHLCV, then returns the blended P(up move) for the latest candle: score in [0,1], confidence (distance from 0.5), direction (long/short/neutral via buy_threshold/sell_threshold), per-model contributions and top feature importances. asset is a token mint; timeframe one of 1m/5m/15m/1h/4h/1d; horizon is the forward-return label horizon in candles. On spot, 'short' = exit-to-flat (no native short). Heuristic forecast from price history only -- not financial advice. No wallet, no fee, no on-chain action.
Workflow: INTELLIGENCE step -- a directional forecast that complements detect_regime; low confidence -> cut size or stay flat. See get_trading_workflow.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | Yes | ||
| horizon | No | ||
| caller_id | No | ||
| timeframe | No | 1h | |
| buy_threshold | No | ||
| sell_threshold | No | ||
| lookback_candles | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||