-
Notifications
You must be signed in to change notification settings - Fork 3
AvapiCpp Source Tree
Antonio edited this page Feb 4, 2018
·
2 revisions
AvapiCpp include 2 sub-directories:
- Avapi/
- AvapiExample/
It is the Library folder and it is so organise:
- libavapi.so: the Avapi dynamic library.
- lib_avapi.hpp the library interface if you include this file you will have all the operation available in your application.
- AvapiConnection.hpp the interface for the Rest Client
- TIME_SERIES/ the interface for Time Series Data Operations
- FOREIGN_EXCHANGE/ the interface for Foreign Exchange (FX) Operations
- DIGITAL_CURRENCY/ the interface for Digital & Crypto Currencies Operations
- TECHNICAL_INDICATOR/ the interface for Technical Indicators Operations
- SECTOR/ the interface for Sector Performances Operations
- jsmn/ Embedded library used for the json parsing
It is the Example folder and it is so organise:
- Example.cpp every source file show how to use the related Alpha Vantage Operations.
- Makefile a Make file to build all the example file.
$ sed -i 's#Your Alpha Vantage API Key !!!!#<YourKEY>#g' ./*.cpp
you need to replace <YourKEY> with your Alpha Vantage API Key.
$ cp -r Avapi /home/abcd/AvapiExample
$ cd /home/abcd/AvapiExample
$ make all
$ export LD_LIBRARY_PATH=<LIB_PATH>:$LD_LIBRARY_PATH
$ ./DEMA_Example.cpp
you need to replace <LIB_PATH> with the Avapi path, in our example is: /home/abcd/AvapiExample/Avapi/.
Authors: Antonio Papa and Simone Giuliani
Email: if you have any queries or suggestions please send us an email: sgiuliani.apapa at gmail.com