Open 7Mahadev7 opened 1 year ago
CAN YOU PLESE INSERT THE CODE LIKE BELOW: quote = samco.get_quote(symbol_name='BANKNIFTY23JUL44400CE',exchange= samco.EXCHANGE_NFO) #Working print(quote) (Visual Studio Code)OUTPUT: { "serverTime": "27/07/23 15:27:50", "msgId": "dd5cfe25-77ba-4d23-931e-8d7a70241d60", "status": "Success", "statusMessage": "Quote details retrieved successfully", "tradingSymbol": "BANKNIFTY23JUL44400CE", "exchange": "NFO", "lastTradedTime": "27/07/2023 03:27:48", "lastTradedPrice": "1280.85", "previousClose": "1647.1", "changeValue": "-366.25", "changePercentage": "-22.24", "lastTradedQuantity": "15", "lowerCircuitLimit": "0.05", "upperCircuitLimit": "3694.50", "averagePrice": "1370.46", "openValue": "1778.75", "highValue": "1860.0", "lowValue": "1150.0", "closeValue": "1647.1", "totalBuyQuantity": "89790", "totalSellQuantity": "7815", "totalTradedValue": "13156415.63", "totalTradedVolume": "9600", "yearlyHighPrice": "0.00", "yearlyLowPrice": "0.00", "tickSize": "0.05", "openInterest": "10200", "bestBids": [ { "number": "1", "quantity": "30", "price": "1280.40" }, { "number": "2", "quantity": "15", "price": "1280.20" }, { "number": "3", "quantity": "15", "price": "1280.15" }, { "number": "4", "quantity": "15", "price": "1278.05" }, { "number": "5", "quantity": "15", "price": "1278.00" } ], "bestAsks": [ { "number": "1", "quantity": "15", "price": "1285.05" }, { "number": "2", "quantity": "15", "price": "1285.10" }, { "number": "3", "quantity": "15", "price": "1285.15" }, { "number": "4", "quantity": "15", "price": "1297.50" }, { "number": "5", "quantity": "15", "price": "1297.55" } ], "expiryDate": "27 Jul 23", "spotPrice": "45772.50", "instrument": "OPTIDX", "lotQuantity": "15", "listingId": "52948_NFO", "openInterestChange": "-1995", "oIChangePer": "-16.36" }
Still facing the same error
CAN YOU PLESE INSERT THE CODE LIKE BELOW: quote = samco.get_quote(symbol_name='BANKNIFTY23JUL44400CE',exchange= samco.EXCHANGE_NFO) #Working print(quote) (Visual Studio Code)OUTPUT: { "serverTime": "27/07/23 15:27:50", "msgId": "dd5cfe25-77ba-4d23-931e-8d7a70241d60", "status": "Success", "statusMessage": "Quote details retrieved successfully", "tradingSymbol": "BANKNIFTY23JUL44400CE", "exchange": "NFO", "lastTradedTime": "27/07/2023 03:27:48", "lastTradedPrice": "1280.85", "previousClose": "1647.1", "changeValue": "-366.25", "changePercentage": "-22.24", "lastTradedQuantity": "15", "lowerCircuitLimit": "0.05", "upperCircuitLimit": "3694.50", "averagePrice": "1370.46", "openValue": "1778.75", "highValue": "1860.0", "lowValue": "1150.0", "closeValue": "1647.1", "totalBuyQuantity": "89790", "totalSellQuantity": "7815", "totalTradedValue": "13156415.63", "totalTradedVolume": "9600", "yearlyHighPrice": "0.00", "yearlyLowPrice": "0.00", "tickSize": "0.05", "openInterest": "10200", "bestBids": [ { "number": "1", "quantity": "30", "price": "1280.40" }, { "number": "2", "quantity": "15", "price": "1280.20" }, { "number": "3", "quantity": "15", "price": "1280.15" }, { "number": "4", "quantity": "15", "price": "1278.05" }, { "number": "5", "quantity": "15", "price": "1278.00" } ], "bestAsks": [ { "number": "1", "quantity": "15", "price": "1285.05" }, { "number": "2", "quantity": "15", "price": "1285.10" }, { "number": "3", "quantity": "15", "price": "1285.15" }, { "number": "4", "quantity": "15", "price": "1297.50" }, { "number": "5", "quantity": "15", "price": "1297.55" } ], "expiryDate": "27 Jul 23", "spotPrice": "45772.50", "instrument": "OPTIDX", "lotQuantity": "15", "listingId": "52948_NFO", "openInterestChange": "-1995", "oIChangePer": "-16.36" }
I'm getting this 429 Too Many Requests error while calling _getquote() API. I Checked the new June 2023 policy that we can only request 5 calls per second and I'm having only one call still It's throwing this error. Your help will be really appreciated.