@sujith
pnl = (sellValue - buyValue) + (netQuantity * lastPrice * multiplier);
Can I use all these values from get positions ? is lastPrice retrieved from get positions is realtime ?
So why is there delay between last_trade_time and timestamp when I receive ticks , I should Get ticks as soon as trade happens right , sometimes its fast , sometimes it has 10 seconds delay.
So whenever I initiate websocket I must re-subscribe to certain stocks to receive its ticks ?? These are not stored in zerodha ?
also is there any callbacks if my subscription is successful ?