aboutsummarylogtreecommitdiffstats
path: root/api.h
diff options
context:
space:
mode:
authorAntony Kellermann2018-08-21 13:46:56 -0400
committerAntony Kellermann2018-08-21 13:46:56 -0400
commit2ffe874448a3a98eaff68c8a3fa996a313a92459 (patch)
tree66fa8bbc825eca135892ec7c13a591a55b0c0218 /api.h
parent44cb5d82862caf3ddd3e753b26dc43ec49fe2815 (diff)
downloadaur-2ffe874448a3a98eaff68c8a3fa996a313a92459.tar.gz
Removed non-batch functions
Diffstat (limited to 'api.h')
-rw-r--r--api.h131
1 files changed, 0 insertions, 131 deletions
diff --git a/api.h b/api.h
index 4278f907abc3..2fb01168b9c3 100644
--- a/api.h
+++ b/api.h
@@ -210,104 +210,6 @@ String* iex_batch_get_data_string(char* symbol_array[SYMBOL_MAX_LENGTH], size_t
/**
* Designed for threading
*
- * Queries IEX's company endpoint and stores the data in the Info object pointed to by vpInfo. symbol, name,
- * industry, website, description, ceo, issue_type, and sector are stored.
- * @param vpInfo Info*
- * @return vpInfo on success, NULL on error
- */
-void* iex_store_company(void* vpInfo);
-
-/**
- * Designed for threading
- *
- * Queries IEX's quote endpoint and stores the data in the Info object pointed to by vpInfo. intraday_time, price,
- * price_last_close, marketcap, volume_1d, and pe_ratio are stored.
- * @param vpInfo Info*
- * @return vpInfo on success, NULL on error
- */
-void* iex_store_quote(void* vpInfo);
-
-/**
- * Designed for threading
- *
- * Queries IEX's stats endpoint and stores the data in the Info object pointed to by vpInfo. div_yield, revenue,
- * gross_profit, cash, and debt are stored.
- * @param vpInfo Info*
- * @return vpInfo on success, NULL on error
- */
-void* iex_store_stats(void* vpInfo);
-
-/**
- * Designed for threading
- *
- * Queries IEX's stats earnings and stores the data in the Info object pointed to by vpInfo. eps, fiscal_period, and
- * eps_year_ago are stored.
- * @param vpInfo Info*
- * @return vpInfo on success, NULL on error
- */
-void* iex_store_earnings(void* vpInfo);
-
-/**
- * Designed for threading
- *
- * Queries IEX's chart endpoint and stores the data in the Info object pointed to by vpInfo. change_7d,
- * change_30d, and points are stored.
- * @param vpInfo Info*
- * @return vpInfo on success, NULL on error
- */
-void* iex_store_chart(void* vpInfo);
-
-/**
- * Designed for threading
- *
- * Queries IEX's news endpoint and stores the data in the Info object pointed to by vpInfo. num_articles number of
- * articles are stored.
- * @param vpInfo Info*
- * @return vpInfo on success, NULL on error
- */
-void* iex_store_news(void* vpInfo);
-
-/**
- * Designed for threading
- *
- * Queries IEX's peers endpoint and stores the data in the Info object pointed to by vpInfo.
- * @param vpInfo Info*
- * @return vpInfo on success, NULL on error
- */
-void* iex_store_peers(void* vpInfo);
-
-/**
- * Designed for threading
- *
- * Calls the above 7 iex store functions to store api data in the Info object pointed to by vpInfo.
- * @param vpInfo Info*
- * @return vpInfo on success, NULL on error
- */
-void* iex_store_all_info(void* vpInfo);
-
-/**
- * Designed for threading
- *
- * Calls iex_store_quote and iex_store_chart to store api data in the Info object pointed to by
- * vpInfo.
- * @param vpInfo Info*
- * @return vpInfo on success, NULL on error
- */
-void* iex_store_check_info(void* vpInfo);
-
-/**
- * Designed for threading
- *
- * Calls the 5 other functions besides those called in iex_store_check_info to store api data in
- * the Info object pointed to by vpInfo.
- * @param vpInfo Info*
- * @return vpInfo on success, NULL on error
- */
-void* iex_store_misc_info(void* vpInfo);
-
-/**
- * Designed for threading
- *
* 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*
@@ -336,39 +238,6 @@ void* alphavantage_store_info(void* vpInfo);
void* coinmarketcap_store_info(void* vpInfo);
/**
- * Stores API data in Info object pointed to by vpInfo. The function will first query IEX. If no
- * response, it will query Morningstar. If no response, it will query Coinmarketcap.
- * 1. IEX -- NASDAQ/NYSE/NYSEARCA
- * 2. Morningstar -- MUTF/OTCMKTS
- * 3. Coinmarketcap -- CRYPTO
- *
- * @param vpInfo Info*
- * @return vpInfo on success, NULL on error
- */
-void* api_store_all_info(void* vpInfo);
-
-/**
- * Stores API data in Info object pointed to by vpInfo. The function will first query IEX's check
- * data. If no response, it will query Morningstar. If no response, it will query Coinmarketcap.
- * 1. IEX -- NASDAQ/NYSE/NYSEARCA
- * 2. Morningstar -- MUTF/OTCMKTS
- * 3. Coinmarketcap -- CRYPTO
- *
- * @param vpInfo Info*
- * @return vpInfo on success, NULL on error
- */
-void* api_store_check_info(void* vpInfo);
-
-void* api_store_misc_info(void* vpInfo);
-
-/**
- * Fills an Info_Array with check api data. Primarily used for "check" command.
- * @param portfolio_data Info_Array
- * @param pString portfolio data
- */
-void* api_info_array_store_check_data(void* vpPortfolio_Data);
-
-/**
* Queries IEX, AlphaVantage, and Coinmarketcap to store api data in pInfo_Array. data_level will
* determine the level of data stored. See iex_batch_store_data for more information on data_level.
* @param pInfo_Array the Info_Array