pilwon / node-yahoo-finance

Yahoo Finance historical quotes and snapshot data downloader written in Node.js
491 stars 123 forks source link

Add option to set period of historical data #5

Closed neverfox closed 10 years ago

neverfox commented 10 years ago

Add a new option for historical data, period, that can be set to 'd', 'w', or 'm'. Defaults to 'd'.

pilwon commented 10 years ago

@neverfox Thanks for the PR. Could you please also update the examples/?

neverfox commented 10 years ago

@pilwon Sure. I didn't originally because I didn't think it necessary. What kind of example do you want?

pilwon commented 10 years ago

@neverfox Simply adding period: 'd' to the existing one is fine. Thanks again for the contribution.

neverfox commented 10 years ago

@pilwon Done!

pilwon commented 10 years ago

Published as v0.1.2