wants to know on circuit levels

sbdavra
Hello kite team,

2 questions...

1. can i know circuit levels of any script in web-socket stream or by Rest API .. ?
2. can i know whether scripts is opened for trading or not by Rest API or in web-socket stream ??

please reply..
thanks
  • sujith
    You can get the circuit limits data here in the quote API call.

    You can download the instrument master file which contains all the tradeable instruments for the day.
  • sbdavra
    thank for your reply
    but i did not found any circuit levels of particular script ..

    can you please tell me which value/field indicates CIRCUIT levels of running day ... ???
    please reply
  • sujith
    You can check out these fields in the response.
    lower_circuit_limit and upper_circuit_limit
  • sbdavra
    please let me know that in which API response i will get above fields ,
    i checked in all rest api but i did not found any

    please revert me with exact api and reponse

    thanks
  • rakeshr
    rakeshr edited October 2019
    @sbdavra
    You will get lower_circuit_limit and upper_circuit_limit in Quote call API.
    Response for ['NSE:SBIN'] from Quote call includes both circuit limit data as shown below:
    {'NSE:SBIN': {'instrument_token': 779521, 'timestamp': datetime.datetime(2019, 10, 24, 11, 24, 56), 'last_trade_time': datetime.datetime(2019, 10, 24, 11, 24, 56), 'last_price': 271.4, 'last_quantity': 169, 'buy_quantity': 1378169, 'sell_quantity': 3218279, 'volume': 14015195, 'average_price': 274.38, 'oi': 0, 'oi_day_high': 0, 'oi_day_low': 0, 'net_change': 0,'lower_circuit_limit': 247.95,'upper_circuit_limit': 302.95, 'ohlc': {'open': 276, 'high': 277.65, 'low': 270.7, 'close': 275.45}, 'depth': {'buy': [{'price': 271.3, 'quantity': 445, 'orders': 4}, {'price': 271.25, 'quantity': 6994, 'orders': 13}, {'price': 271.2, 'quantity': 10103, 'orders': 21}, {'price': 271.15, 'quantity': 8426, 'orders': 15}, {'price': 271.1, 'quantity': 15495, 'orders': 30}], 'sell': [{'price': 271.4, 'quantity': 2511, 'orders': 2}, {'price': 271.45, 'quantity': 3462, 'orders': 10}, {'price': 271.5, 'quantity': 11142, 'orders': 32}, {'price': 271.55, 'quantity': 18014, 'orders': 17}, {'price': 271.6, 'quantity': 17832, 'orders': 21}]}}}
Sign In or Register to comment.