iex
is a WIP C++17 library for querying IEX Cloud, a financial data REST API.
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.
An AUR package is available:
yay -S iex-git
Building from source requires the installation of all necessary dependencies:
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.
Simply include the header iex/iex.h
:
#include <iex/iex.h>
You can easily link using CMake:
target_link_libraries(example iex::iex)
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