Skip to content

fix: use correct URI for GetLTP and GetOHLC#126

Open
rhnvrm wants to merge 1 commit into
masterfrom
fix-ltp-ohlc-uri
Open

fix: use correct URI for GetLTP and GetOHLC#126
rhnvrm wants to merge 1 commit into
masterfrom
fix-ltp-ohlc-uri

Conversation

@rhnvrm

@rhnvrm rhnvrm commented Mar 28, 2026

Copy link
Copy Markdown
Member

GetLTP was calling /quote instead of /quote/ltp and GetOHLC was calling /quote instead of /quote/ohlc. This meant users got the full quote payload instead of the lighter endpoints, and were limited to 500 instruments instead of the 1000 that /quote/ltp and /quote/ohlc support.

Per the Kite Connect v3 docs:

  • /quote - full market quotes, up to 500 instruments
  • /quote/ltp - LTP only, up to 1000 instruments
  • /quote/ohlc - OHLC + LTP, up to 1000 instruments

Fixes #112

GetLTP was calling /quote instead of /quote/ltp and GetOHLC was
calling /quote instead of /quote/ohlc. This meant users got the
full quote payload instead of the lighter endpoints, and were
limited to 500 instruments instead of the 1000 that /quote/ltp
and /quote/ohlc support.

Fixes #112
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GetLTP is internally calling the get quote url

1 participant