Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getTS from/to time params #3

Open
madjestic opened this issue May 30, 2020 · 1 comment
Open

getTS from/to time params #3

madjestic opened this issue May 30, 2020 · 1 comment

Comments

@madjestic
Copy link
Collaborator

madjestic commented May 30, 2020

Hey guys,

getTS :: AuthAndSymbol -> IO (Maybe [IEXTimeSeries.TimeSeries]) - it looks like the function interface is not supporting arguments, such as from/to time bounds, mentioned as Query String Parameters in the API?

Take, for example, this call:
https://sandbox.iexapis.com/stable/time-series/REPORTED_FINANCIALS/AAPL/10-Q?from=2018-01-01&to=2019-06-01&token=Tsk_ suggests that you can provide time-range from/to arguments, but I don't see how it fits into the getTS :: AuthAndSymbol ... interface? Or is that part of auth argument?
Should it not be more like:
getTS :: AuthAndSymbol -> QSParms -> IO (Maybe [IEXTimeSeries.TimeSeries]), where QSParms stands for Query String Parameters ?

Cheers,
Vlad

@madjestic madjestic changed the title getTS params getTS from/to time params May 30, 2020
@ksallberg
Copy link
Owner

ksallberg commented May 31, 2020

I don't have time to look at this right now, but I think that no-one ever used this function yet. I invited you as a collaborator to this project so that you can push code and play around if you wish

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants