diff options
author | Antony Kellermann | 2018-08-04 02:15:38 -0400 |
---|---|---|
committer | Antony Kellermann | 2018-08-04 02:15:38 -0400 |
commit | 2b640895c54348daedd9cc0e4c32284562289b1d (patch) | |
tree | ecc87a9efcaa72c9b2238161e387b8645f39ddad /api.h | |
parent | 22539aa6a4286102216225d96b09411447ec40ba (diff) | |
download | aur-2b640895c54348daedd9cc0e4c32284562289b1d.tar.gz |
Added temporary alphavantage API function and changed store info functions to use it instead of morningstar
Diffstat (limited to 'api.h')
-rw-r--r-- | api.h | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -268,7 +268,7 @@ void* iex_store_check_info(void* vpInfo); /** * Designed for threading * - * Queries Morningstar's API and stores the data in the Info object pointed to by vpInfo. price, change_1d, + * Queries Morningstar's API and stores the data in the Info object pointed to by vpInfo. change_1d, * change_7d, change_30d, points, and volume_1d are stored. * @param vpInfo Info* * @return vpInfo on success, NULL on error @@ -278,6 +278,16 @@ void* morningstar_store_info(void* vpInfo); /** * Designed for threading * + * Queries AlpvaVantage's API and stores the data in the Info object pointed to by vpInfo. change_1d, + * change_7d, change_30d, and points are stored. + * @param vpInfo Info* + * @return vpInfo on Success, NULL on error + */ +void* alphavantage_store_info(void* vpInfo); + +/** + * Designed for threading + * * Queries Coinmarketcaps's API and stores the data in the Info object pointed to by vpInfo. name, symbol, price, * change_1d, change_7d, marketcap, and volume_1d are stored. * @param vpInfo Info* |