stocks: Library for the IEX Trading API

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

Simple library for interacting with the IEX Trading API


[Skip to Readme]

Properties

Versions 0.1.0.0, 0.2.0.0, 0.2.0.0
Change log None available
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
Category Net
Home page https://github.com/dabcoder/stocks
Source repo head: git clone https://github.com/dabcoder/stocks.git
Uploaded by davidb at 2018-05-30T07:03:31Z

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


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 = "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.

Attribution

If you redistribute our API data: