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

iex stats types differ between intraday and daily historic #21

Closed
AustinMCrane opened this issue Oct 6, 2018 · 1 comment · Fixed by #24
Closed

iex stats types differ between intraday and daily historic #21

AustinMCrane opened this issue Oct 6, 2018 · 1 comment · Fixed by #24

Comments

@AustinMCrane
Copy link
Contributor

i am creating this issue to hopefully either fix the issue on the package level or iex api level.

here are two different api requests to iex:
https://iextrading.com/developer/docs/#historical-daily
and
https://iextrading.com/developer/docs/#recent

historical-daily

[
  {
    "date": "2017-05-09",
    "volume": 152907569,
    "routedVolume": 46943802,
    "marketShare": 0.02246,
    "isHalfday": 0,
    "litVolume": 35426666
  },
...

recent-stats

[
  {
    "date": "2017-01-11",
    "volume": 128048723,
    "routedVolume": 38314207,
    "marketShare": 0.01769,
    "isHalfday": false,
    "litVolume": 30520534
  },
...

in the first link the isHalfday value is a int (0/1) and in the recent it is a bool value.
this seems like the best fix is at the api level but it is yet to be seen if they will fix it, i will create an issue with iex and link to the issue in the comments.

@AustinMCrane
Copy link
Contributor Author

iex api issue: https://github.com/iexg/IEX-API/issues/510

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

Successfully merging a pull request may close this issue.

1 participant