Technical Analysis
Technical analysis helpers for computing indicators over historical market data.
Fetch Historical Data
ruby
candles = DhanHQ::Models::Chart.daily(
security_id: "13",
exchange_segment: "IDX_I",
instrument: "INDEX",
from_date: "2026-06-01",
to_date: "2026-07-29"
)Indicator Computation
The gem provides helpers for common technical indicators. See the Technical Analysis guide for full documentation.
Available Examples
The repository includes example scripts for building trading bots: