price_change: Price change over a period

How a stock or index moved over any window: start and end closes, change, highs and lows, drawdown and volatility.

What it returns

The start and end closes with dates, the change in percent, the highest and lowest close, the maximum drawdown and the volatility over the window.

Inputs

InputRequiredNote
instrumentyesan index in words (Nifty 50, Bank Nifty, Sensex, India VIX) or a company: symbol or name; up to 60 characters
periodnothe window as a person says it: '1 week', '5 sessions', '3 months', '1 year', 'ytd', 'FY2025'; or give from (and to) instead; up to 40 characters
fromnoYYYY-MM-DD
tonoYYYY-MM-DD
compare_tonoa second instrument over the same dates: an index or a company; up to 60 characters
drawdowns_at_least_pctnolist every fall of at least this percent from a peak; 1..100
drawdowns_fromnowith drawdowns_at_least_pct: only falls whose low came on or after this date

Example questions

Related tools

Data freshness

Prices and indicators are end of day, as of the last close. Company figures are as filed, each with its date. There are no live prices.

More