Open kamalmajhi opened 4 months ago
see below the close price is showing zero.
'priceInfo': { 'lastPrice': 343.5, 'change': -2, 'pChange': -0.5788712011577424, 'previousClose': 345.5, 'open': 347.5, 'close': 0, 'vwap': 345.47, 'lowerCP': '310.95', 'upperCP': '380.05', 'pPriceBand': '10', 'basePrice': 345.5, 'intraDayHighLow': { 'min': 343.3, 'max': 347.95, 'value': 343.5 },
live_instance = NSELive() q = live_instance.stock_quote('AWL') # print(q) current_open = q['priceInfo']['open'] current_close = q['priceInfo']['close'] print(current_close)
error is not showing the closing price.
Issue description
see below the close price is showing zero.
'priceInfo': { 'lastPrice': 343.5, 'change': -2, 'pChange': -0.5788712011577424, 'previousClose': 345.5, 'open': 347.5, 'close': 0, 'vwap': 345.47, 'lowerCP': '310.95', 'upperCP': '380.05', 'pPriceBand': '10', 'basePrice': 345.5, 'intraDayHighLow': { 'min': 343.3, 'max': 347.95, 'value': 343.5 },
Example Code
Error snippet