get_quote: Function to obtain current quote for a list of instruments.

Description Usage Arguments Details Value See Also

View source: R/restful.R

Description

Function to obtain quotes and market depths.

Usage

1
get_quote(object, instruments)

Arguments

object

An object of type kite connect with valid api_key and access_token.

instruments

A list of instruments. See details below.

Details

This function accepts a list of instruments (as exchange:symbol pair, e.g. NFO:NIFTY18JANFUT) and returns current market quotes, including last traded price, OHLC prices and market depth (up to 5 best bids and offers). Please note: this function is meant to be called as a one-off way to get the quotes. One should not call this function too many times. The api possibly has a rate limit and too many requests will block the user. For continous data, websocket is more appropriate choice. Check the Kite Connect online documentation for more details.

Value

a list of quote and market depth data, with row names as instruments.

See Also

get_ohlc

get_ltp

get_historical_price


prodipta/kiteconnect3 documentation built on Sept. 24, 2020, 8:30 a.m.