Ask a quant question
ask_quantAnswers a question about the numbers of named symbols, computed on Sortefi's market data, and shows how it was worked out. Covers US stocks, Indian NSE stocks, ETFs, forex pairs and crypto perpetual futures, on candles from 1 minute to monthly: total and yearly returns over any window; a lump sum or a monthly investment plan, with dividends; volatility, Sharpe, Sortino and Calmar ratios and value at risk; drawdowns, every crash and its recovery; beta, alpha and correlation against an index or another symbol; how often something happened and what followed, streaks, gaps and event studies; seasonality by weekday, month, hour or trading session; technical indicators, candlestick patterns and Renko bricks inside any statistic; statistical tests (stationarity, autocorrelation, cointegration, fitted distributions); backtests of a stated trading rule with costs, slippage, stops and targets, long or short, with a settings search and a look-ahead check; portfolios with stated or fitted weights; current fundamentals, US debt and cash history, ownership and US short interest; and options figures for Indian and crypto markets (implied volatility, put-call ratio, max pain, skew, and the payoff and Greeks of a stated strategy). Up to 8 symbols per question, or an index or group. Sortefi reads the question with its own rules and returns the answer, the tables behind it, the method, and a link to the saved answer. It reports what happened in the data — requests for advice, forecasts or trade setups are declined. For a list of symbols that match conditions, use run_screen instead. Runs on the user's Sortefi account: each completed answer is charged — a free prompt if the account has one left, otherwise wallet credits, at least 10 (1 credit = $0.01, or ₹1 on accounts topped up in rupees). The result states what was charged and the balance left. Follow-up questions and declines are free.
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": {
"question": "<question>",
"market": "<market>"
},
"name": "ask_quant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| market | Yes | US_EQUITY = US stocks, INDIA_EQUITY = Indian NSE stocks, ETF = US-listed ETFs, FOREX = currency pairs, CRYPTO_PERPS = crypto perpetual futures (Binance, HyperLiquid). | |
| question | Yes | The question in the user's own words, with the symbols, period, timeframe and figures exactly as they stated them. When answering a Sortefi follow-up question: the original question followed by the user's answer. |