You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My Goal:
I am trying to display if a stock is up or down on the 6m, 3m, 1m, and 1w chart. This way I can show a green or red circle in my app to signify the trend.
Is there an easy way to check this without pulling 6m data because that eats up your limit pretty quickly. I tried doing the following:
let threeMonthsAgo = await iex.history('SPY', {period: '3m', date: '20190624'});
but this didn't work. It's also more confusing that some of the history params aren't named the same in this wrapper. Shouldn't 'period' be 'range'?
The text was updated successfully, but these errors were encountered:
My Goal:
I am trying to display if a stock is up or down on the 6m, 3m, 1m, and 1w chart. This way I can show a green or red circle in my app to signify the trend.
Is there an easy way to check this without pulling 6m data because that eats up your limit pretty quickly. I tried doing the following:
let threeMonthsAgo = await iex.history('SPY', {period: '3m', date: '20190624'});
but this didn't work. It's also more confusing that some of the history params aren't named the same in this wrapper. Shouldn't 'period' be 'range'?
The text was updated successfully, but these errors were encountered: