← Araçlar

get_price_history

Price history · salt-okunur

OHLCV candles with a computed summary (return, high/low, max drawdown, annualised
    volatility, average volume) and optional standard technical indicators — all numeric,
    chart-ready, no interpretation.

Parametreler

adtipzorunluvarsayılanaçıklama
symbol string evet e.g. THYAO, XU100, USDTRY
period enum: 1d | 5d | 1mo | 3mo | 6mo | 1y | 2y | 5y | 10y | ytd | max "6mo" Lookback (ignored when start is given)
interval enum: 1m | 5m | 15m | 30m | 1h | 1d | 1wk | 1mo "1d" Intraday intervals only cover recent weeks
start string YYYY-MM-DD
end string YYYY-MM-DD, exclusive
max_rows integer
maximum=2000, minimum=10
250
include_indicators boolean false Add SMA/EMA/RSI/MACD/Bollinger/ATR series and latest values

Girdi şeması

{
  "properties": {
    "symbol": {
      "description": "e.g. THYAO, XU100, USDTRY",
      "title": "Symbol",
      "type": "string"
    },
    "period": {
      "default": "6mo",
      "description": "Lookback (ignored when start is given)",
      "enum": [
        "1d",
        "5d",
        "1mo",
        "3mo",
        "6mo",
        "1y",
        "2y",
        "5y",
        "10y",
        "ytd",
        "max"
      ],
      "title": "Period",
      "type": "string"
    },
    "interval": {
      "default": "1d",
      "description": "Intraday intervals only cover recent weeks",
      "enum": [
        "1m",
        "5m",
        "15m",
        "30m",
        "1h",
        "1d",
        "1wk",
        "1mo"
      ],
      "title": "Interval",
      "type": "string"
    },
    "start": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "YYYY-MM-DD",
      "title": "Start"
    },
    "end": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "YYYY-MM-DD, exclusive",
      "title": "End"
    },
    "max_rows": {
      "default": 250,
      "maximum": 2000,
      "minimum": 10,
      "title": "Max Rows",
      "type": "integer"
    },
    "include_indicators": {
      "default": false,
      "description": "Add SMA/EMA/RSI/MACD/Bollinger/ATR series and latest values",
      "title": "Include Indicators",
      "type": "boolean"
    }
  },
  "required": [
    "symbol"
  ],
  "title": "get_price_historyArguments",
  "type": "object"
}

Çıktı şeması

{
  "additionalProperties": true,
  "title": "get_price_historyDictOutput",
  "type": "object"
}