iex 0.1.0

Wrapper for the IEX trading API

To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:


This uses the IEX trading API's HTTP endpoints. Everything in the Stock endpoint is supported.

Documentation for the API can be found at

    auto stock = Stock("AAPL", "MSFT")
            .news(5) // Last 5 items.

A query returns the result as a object.

There is currently very little validation by iex.d; errors will return an error Json response.

Notes and Limitations

Although iex.d separates date range parameters, (i.e., ChartRange and DividendRange), the IEX API uses a single parameter; if you specify two date ranges, the last one will be used and the other ignored. For example:

auto stock = Stock("AAPL")
            .chart(ChartRange.TwoYears) // Ignored.

Both chart() and dividends() in the above example will use the one year range, due to the upstream API design limitations. Future versions of iex.d may make two queries and merge the results before returning.

  • Ryan Frame
vibe-d:data, requests
0.1.0 2018-Jun-13
~master 2018-Jun-13
Show all 2 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 9 downloads total

Short URL: