Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dabcoder/stocks
Haskell library for the IEX trading API: https://iextrading.com/developer/docs/
https://github.com/dabcoder/stocks
aeson api haskell haskell-library iex iex-trading-api
Last synced: 26 days ago
JSON representation
Haskell library for the IEX trading API: https://iextrading.com/developer/docs/
- Host: GitHub
- URL: https://github.com/dabcoder/stocks
- Owner: dabcoder
- License: bsd-3-clause
- Created: 2018-02-18T18:23:18.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-07-05T09:39:05.000Z (over 5 years ago)
- Last Synced: 2024-09-29T17:41:58.444Z (about 1 month ago)
- Topics: aeson, api, haskell, haskell-library, iex, iex-trading-api
- Language: Haskell
- Homepage:
- Size: 68.4 KB
- Stars: 14
- Watchers: 4
- Forks: 4
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.rst
- License: LICENSE
Awesome Lists containing this project
README
# stocks
# !!! Legacy iex API client. For up to date client please see [iexcloud](https://github.com/ksallberg/iexcloud).
[![Build Status](https://travis-ci.org/dabcoder/stocks.svg?branch=master)](https://travis-ci.org/dabcoder/stocks)
Haskell library for the IEX trading API.
Example:
```haskell
stack build && stack ghci> getCompany "aapl"
Just (Company {symbol = "AAPL",
companyName = "Apple Inc.",
exchange = "Nasdaq Global Select",
industry = "Computer Hardware",
website = "http://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](https://github.com/dabcoder/stocks/issues).
### Attribution
If you redistribute our API data:* Cite IEX using the following text and link: “Data provided for free by [IEX](https://iextrading.com/developer).”
* Provide a link to https://iextrading.com/api-exhibit-a in your terms of service.