get_forex_signal
Predict EURUSD and GBPUSD direction (UP/DOWN) using XGBoost with pre-computed features. Get probability and confidence for trading decisions.
Instructions
Run the XGBoost model with pre-computed features from get_market_features.
ticker: 'EURUSD=X' or 'GBPUSD=X' features: the features dict returned by get_market_features()
Returns {ticker, as_of, signal (UP/DOWN), prob_up, confidence} on success, or {error: reason} if features are missing or the ticker is unsupported.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ticker | Yes | ||
| features | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||