AI Prediction
get_ai_predictionAI next-day prediction: probability the stock closes UP, a paper-trading buy/watch/sell lean (research only, not a trade instruction), and how strongly the models agree (consensus).
basis="live" (default) uses the latest available market data: while the
market is open that is today's still-trading bar, labelled intraday with
its computation time. basis="close" uses only the latest completed
session's close. Returns the model input date and close (and which of the
two it is), the model name, the blended UP probability and each of the two
models' (Random Forest, Logistic Regression) probabilities, whether they
agree, suggested stop-loss / take-profit, and the news sentiment with its
source (or a note that no headline was dated that day).
Available to every authenticated plan (Free / Pro / Enterprise); subject
to the caller's plan requests/day and requests/minute limits.
Args:
ticker: Stock symbol, e.g. "TSLA".
basis: "live" (default) or "close".
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ticker": "<ticker>"
},
"name": "get_ai_prediction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| basis | No | "live": latest available data (today's trading bar while the market is open). "close": latest completed session only. | live |
| ticker | Yes | Stock ticker symbol, e.g. AAPL. |