cgoldberg / ystockquote

Fetch stock quote data from Yahoo Finance
534 stars 181 forks source link

allow date type to be used in get_historical_prices #14

Closed ansother closed 10 years ago

ansother commented 10 years ago

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.