allow date type to be used in get_historical_prices

I would like to allow the datetime.date() type to be used with the start_date and end_date parameters. 

I usually use datetime.date() in my code and then have to convert to a string. It would be simpler to have get_historical_prices function to accept both string and date type.