aboutsummarylogtreecommitdiffstats
path: root/api.h
diff options
context:
space:
mode:
authorAntony Kellermann2018-08-04 02:15:38 -0400
committerAntony Kellermann2018-08-04 02:15:38 -0400
commit2b640895c54348daedd9cc0e4c32284562289b1d (patch)
treeecc87a9efcaa72c9b2238161e387b8645f39ddad /api.h
parent22539aa6a4286102216225d96b09411447ec40ba (diff)
downloadaur-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.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/api.h b/api.h
index c8c38587aee8..84e26ca68f89 100644
--- a/api.h
+++ b/api.h
@@ -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*