stocks: Library for the IEX Trading API

[ bsd3, library, net ] [ Propose Tags ]

Simple library for interacting with the IEX Trading API

[Skip to Readme]
Versions [faq],
Dependencies aeson (>=0.8.0), base (==4.*), bytestring, containers, http-conduit, semigroups (>=0.18), unordered-containers [details]
License BSD-3-Clause
Copyright 2018 David Bouchare, Kristian Sällberg
Author David Bouchare, Kristian Sällberg
Maintainer David Bouchare, Kristian Sällberg
Category Net
Home page
Source repo head: git clone
Uploaded by davidb at Wed May 30 07:04:11 UTC 2018
Distributions NixOS:
Downloads 357 total (31 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2018-05-30 [all 1 reports]




Maintainer's Corner

For package maintainers and hackage trustees

Readme for stocks-

[back to package description]


Haskell library for the IEX trading API.


stack build && stack ghci

> getCompany "aapl"

Just (Company {symbol = "AAPL",
               companyName = "Apple Inc.",
               exchange = "Nasdaq Global Select",
               industry = "Computer Hardware",
               website = "",
               description = "Apple Inc is designs ...",
               ceo = "Timothy D. Cook",
               issueType = "cs",
               sector = "Technology"})

> getPrice "dps"

Just 120.36

Please see the HUnit test for a complete example of all API calls.

How to run test suite

stack test


For any problems, comments, or feedback please create an issue here on GitHub.


If you redistribute our API data: