Bruce Curtis Schardt
Bruce Curtis Schardt
I will add support for this next week.
I will try to get to this soon
try the following; it should work, any valid market date should work. let threeMonthsAgo = await iex.history('SPY', { date: '20190624', chartByDay: true});
let threeMonthsAgo = await iex.history('SPY', { date: '2019-06-24', chartByDay: true}); should work also.
Those are changes to the api that have not been implemented, I will resolve this asap.
IEXCLOUD_API_VERSION = "https://cloud.iexapis.com/stable/" IEXCLOUD_PUBLIC_KEY = "pk_..." IEXCLOUD_SECRET_KEY = "sk_..." need to be set in the environment.
try url