Skip to content

aokellermann/iex

Repository files navigation

iex

Description

iex is a WIP C++17 library for querying IEX Cloud, a financial data REST API.

Install

Please note that this library is only designed to be built on Linux, and has only been tested with GCC 10.1 and Clang 10.0.

Arch Linux

An AUR package is available:

yay -S iex-git

Other Linux

Dependencies

Building from source requires the installation of all necessary dependencies:

Clone and Build

After dependencies are installed, run from a shell:

git clone https://github.com/aokellermann/iex.git
mkdir iex/build && cd iex/build
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr ..
sudo cmake --build . --target install

Substitute /usr with your desired install location.

Usage

Build

Simply include the header iex/iex.h:

#include <iex/iex.h>

You can easily link using CMake:

target_link_libraries(example iex::iex)

Code

See the examples directory for a fully working annotated example usage of iex, along with an accompanying example CMakeLists.txt.

Currently this library supports the following endpoints:

  • System Status
  • Quote
  • Company
  • Symbols

Contributing

See contributing guidelines.

License

MIT

Data provided by IEX Cloud

About

C++17 library for querying IEX Cloud REST API.

Topics

Resources

License

Stars

Watchers

Forks

Languages