Latest cached ticks
ticker_get_ticksRetrieve cached market ticks for subscribed instruments, including prices, quotes, and depth; filter stale entries by age with max_age_s.
Instructions
The latest tick received for each subscribed instrument, from the server's cache (nothing is requested from Kite). Each tick has instrument (when known), instrument_token, mode, last_price and, for quote and full, last_traded_quantity, average_traded_price, volume_traded, total_buy_quantity, total_sell_quantity, ohlc {open, high, low, close} and change (% from the previous close); full adds oi, oi_day_high, oi_day_low, last_trade_time, exchange_timestamp and depth {buy, sell} (5 levels of {quantity, price, orders}). Prices are in rupees, times in IST. Every tick also has received_at and age_s (seconds since it arrived): ticks stop outside market hours or when the connection is down, so check age_s, or pass max_age_s to be told which instruments are stale. Instruments subscribed but without a tick yet are listed under no_tick_yet.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ticker_get_ticks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_age_s | No | leave out ticks older than this many seconds; they are listed under stale | |
| instruments | No | which instruments (names and/or tokens); default: every subscribed instrument |