cursor.execute("select * from StockPrice where symbol = '"+active_ticker+"' and day(date) = '"+day+"' and month(date) = '"+month+"' and year(date) = '"+year+"'")
result=cursor.fetchone()
ifresultisNone:
print("No pricing data available for "+active_ticker+" at "+day+"-"+month+"-"+year+" (dd-mm-yyyy)")