aboutsummarylogtreecommitdiffstats
path: root/api.c
diff options
context:
space:
mode:
Diffstat (limited to 'api.c')
-rw-r--r--api.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/api.c b/api.c
index 77cbe41835ac..ba3c8d83b18e 100644
--- a/api.c
+++ b/api.c
@@ -158,6 +158,8 @@ String* api_iex_get_data_string(char** symbol_array, size_t len,
strcpy(endpoints, "quote,chart,company,stats,peers,news,earnings&range=5y");
else if (data_level == DATA_LEVEL_CHECK)
strcpy(endpoints, "quote,chart");
+ else if (data_level == DATA_LEVEL_GRAPH)
+ strcpy(endpoints, "quote,chart&range=5y");
else if (data_level == DATA_LEVEL_MISC)
strcpy(endpoints, "company,stats,peers,news,earnings&range=5y");
else strcpy(endpoints, "news");