Hi Angel One Team,
Using the Angel one Smart API, can I fetch/Get the live fluctuating Indicative Equilibrium Price during the Closing Auction Session(CAS) from 3:20 - 3:30 PM?
i want to fetch these elements:
- Indicative Equilbrium Price(IEP) as per live fluctuating demand and supply
- volume during the CAS as per live fluctuating demand and supply
- reference price during CAS
if yes, please tell me it could be fetched using "Web Socket" or "Endpoint" or BOTH?
and please also share the "IEP" element name as like:
---Python
emit({
"type": "tick",
"symbol": sym,
"exchange": ex,
"ltp": safe_number(row.get("ltp")),
"open": safe_number(row.get("open")),
"high": safe_number(row.get("high")),
"low": safe_number(row.get("low")),
"close": safe_number(row.get("close")),
"volume": safe_int(row.get("tradeVolume") or row.get("volume"))
)}
---Node.js
const open = Number(quote.ohlc?.open || 0);
const high = Number(quote.ohlc?.high || 0);
const low = Number(quote.ohlc?.low || 0);
const close = Number(quote.ohlc?.close || 0);
const ltp = Number(quote.last_price || 0);
const volume = Number(quote.volume || 0);
as like the open, high, close, low, ltp, there must be something by which i can fetch the fluctuating realtime "Indicative Equilibrium Price" based on demand and supply?
just i want to know the element name, which is correct
i tried for getting the referencePrice and IEP and total imbalances but, i found successfully only the reference price
const referencePrice = optionalNumber(
quote.referenceLimitPrice, quote.reference_limit_price, quote.reference_price, quote.referencePrice, quote.ref_price
); // i got success in fetching the reference price only
const indicativeClose = optionalNumber(
quote.indicativeClose, quote.indicative_close, quote.indicative_price, quote.equilibriumPrice, quote.iep
); // no data received using these elements
const totalImbalance = optionalNumber(
quote.totalImbalance, quote.total_imbalance, quote.imbalanceQuantity, quote.imbalance_qty
); // not got success
here see the image i unable to fetch the data

please tell me the method name if can fetch live IEP during the CAS session