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 ?
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
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 thegetTS :: AuthAndSymbol ...
interface? Or is that part ofauth
argument?Should it not be more like:
getTS :: AuthAndSymbol -> QSParms -> IO (Maybe [IEXTimeSeries.TimeSeries])
, whereQSParms
stands for Query String Parameters ?Cheers, Vlad