| CARVIEW |
Select Language
HTTP/1.1 200 OK
Connection: keep-alive
Server: nginx/1.24.0 (Ubuntu)
Content-Type: text/html; charset=utf-8
Cache-Control: public, max-age=300
Content-Encoding: gzip
Via: 1.1 varnish, 1.1 varnish
Accept-Ranges: bytes
Age: 0
Date: Sun, 18 Jan 2026 14:23:49 GMT
X-Served-By: cache-dfw-kdfw8210068-DFW, cache-bom-vanm7210063-BOM
X-Cache: MISS, MISS
X-Cache-Hits: 0, 0
X-Timer: S1768746229.760414,VS0,VE775
Vary: Accept, Accept-Encoding
transfer-encoding: chunked
stocks: Library for the IEX Trading API
stocks: Library for the IEX Trading API
Modules
[Index]
- Net
- IEX
- Net.IEX.Book
- Net.IEX.Chart
- Net.IEX.Company
- Net.IEX.DelayedQuote
- Net.IEX.Dividend
- Net.IEX.Earnings
- Net.IEX.EffectiveSpread
- Net.IEX.Financials
- Net.IEX.IntraDayStats
- Net.IEX.Market
- Net.IEX.NewsItem
- Net.IEX.OHLC
- Net.IEX.Previous
- Net.IEX.PriceTime
- Net.IEX.Quote
- Net.IEX.RecentStats
- Net.IEX.RecordStats
- Net.IEX.Relevant
- Net.IEX.Split
- Net.IEX.Stats
- Net.IEX.TimeSeries
- Net.IEX.VolumeByVenue
- Net.Stocks
- IEX
Downloads
- stocks-0.2.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
| Versions [RSS] | 0.1.0.0, 0.2.0.0 |
|---|---|
| Dependencies | aeson (>=0.8.0), base (>=4 && <5), 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 |
| Uploaded | by davidb at 2018-05-30T07:04:11Z |
| Category | Net |
| Home page | https://github.com/dabcoder/stocks |
| Source repo | head: git clone https://github.com/dabcoder/stocks.git |
| Distributions | NixOS:0.2.0.0 |
| Reverse Dependencies | 1 direct, 0 indirect [details] |
| Downloads | 1323 total (6 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating |
|
| Status | Docs available [build log] Last success reported on 2018-05-30 [all 1 reports] |
Readme for stocks-0.2.0.0
[back to package description]stocks
Haskell library for the IEX trading API.
Example:
stack build && stack ghci
> getCompany "aapl"
Just (Company {symbol = "AAPL",
companyName = "Apple Inc.",
exchange = "Nasdaq Global Select",
industry = "Computer Hardware",
website = "https://www.apple.com",
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
Contribute
For any problems, comments, or feedback please create an issue here on GitHub.
Attribution
If you redistribute our API data:
- Cite IEX using the following text and link: “Data provided for free by IEX.”
- Provide a link to https://iextrading.com/api-exhibit-a in your terms of service.