Not able to receive market data for some instruments

unni
unni edited January 2018 in API clients
Getting no/constant NSE data for following NSE codes (both old and new kite versions).. please correct it...

BLBLIMITED, BSELINFRA, CIMMCO,DELTAMAGNT, DONEAR DQE, ELAND, EXCEL, FLEXITUFF, FRETAIL, GILLANDERS, HARRMALAYA, HOVS, INDSWFTLAB, INTENTECH, JAIBALAJI, KDDL, LAKSHMIEFL, MANAKINDST, MOHOTAMILL, MOLDTECH,NAGREEKEXP, NKIND, OPTOCIRCUI, ORIENTLTD, ORTINLABSS, PDPL, PHOENIXLL, PNC, SHARONBIO, SHIVATEX, TEXMOPIPES, WELINV,XPROINDIA

  • sujith
    sujith edited January 2018
    It seems like these instruments are traded in the T2T segment. You need to search for instrument like this BLBLIMITED-BE.
  • unni
    All these i tried with '-BE' also... either getting constant output or no data
  • sujith
    You can always cross verify by adding that same instrument on Kite. If an instrument is in the T2T segment then liquidity will be less.
  • unni
    i tried all that.. not getting correct LTP for any of these instruments through api... always constant ltp... for eg LAKSHMIEFL-BE always returns ltp as 33.5 in api... but actual ltp is 29.30 (correct in kiteweb)
  • sujith
    Here is the response I got from quote call,
    {
    "status": "success",
    "data": {
    "NSE:LAKSHMIEFL-BE": {
    "instrument_token": 3630849,
    "timestamp": "2018-01-24 15:40:52",
    "last_price": 29.5,
    "last_quantity": 29,
    "last_trade_time": "2018-01-24 15:28:01",
    "average_price": 29.52,
    "volume": 47899,
    "buy_quantity": 0,
    "sell_quantity": 0,
    "ohlc": {
    "open": 29.25,
    "high": 30,
    "low": 29,
    "close": 29.6
    },
    "net_change": 0,
    "oi": 0,
    "oi_day_high": 0,
    "oi_day_low": 0,
    "depth": {
    "buy": [
    {
    "price": 0,
    "quantity": 0,
    "orders": 0
    },
    {
    "price": 0,
    "quantity": 0,
    "orders": 0
    },
    {
    "price": 0,
    "quantity": 0,
    "orders": 0
    },
    {
    "price": 0,
    "quantity": 0,
    "orders": 0
    },
    {
    "price": 0,
    "quantity": 0,
    "orders": 0
    }
    ],
    "sell": [
    {
    "price": 0,
    "quantity": 0,
    "orders": 0
    },
    {
    "price": 0,
    "quantity": 0,
    "orders": 0
    },
    {
    "price": 0,
    "quantity": 0,
    "orders": 0
    },
    {
    "price": 0,
    "quantity": 0,
    "orders": 0
    },
    {
    "price": 0,
    "quantity": 0,
    "orders": 0
    }
    ]
    }
    }
    }
    }
  • unni
    Ok.. Now here also its showing correctly... till today morning 11:07 it was giving same data.. and after that no data in db...dont know why... will check it tomorrow during mkt hours...
    it would be nice if there is a single code and id for each stock... i think exchange keep on on shifting stocks in and out of T2T... or an api call to get the active instrument code, instrument_token, MIS Multiplier, MIS allowed or not etc for a particular NSE and BSE code..


    db.jpg 64.1K
  • sujith
    We are thinking of a feasible solution for this. It might take some time.
  • unni
    Ok.. being a programmer i can understand the difficulty in implementing such major changes... i trade with many brokers... its really great that u ppl r technically far ahead... and working hard to implement new things... happy to see an Indian company doing such innovative things... congrants... :)
    for time being i suggest a simple csv with nsecode,zerodacode,instid,mis(y/n),mismultiplier etc if possible...because current inst list it too big and confusing...
  • sujith
    We do have instrument margins API call. You can check out here. In the instrument dump itself, you get exchange token.
  • unni
    Ok.. Thanks...
This discussion has been closed.