diff options
-rw-r--r-- | curses_win.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/curses_win.c b/curses_win.c index dc1fc9aa2738..ef1a93100677 100644 --- a/curses_win.c +++ b/curses_win.c @@ -398,7 +398,7 @@ void peers_printw(WINDOW* window, const Info* symbol_info) { void graph_print(const char* symbol, const char* symbol2) { Info* symbol_info = api_info_init(), * symbol_info2 = NULL; strcpy(symbol_info->symbol, symbol); - api_info_store_data_batch(symbol_info, CHECK); + api_info_store_data_batch(symbol_info, ALL); if (symbol_info->api_provider == EMPTY) { api_info_destroy(&symbol_info); RET_MSG("Invalid symbol") @@ -407,7 +407,7 @@ void graph_print(const char* symbol, const char* symbol2) { if (symbol2 != NULL) { symbol_info2 = api_info_init(); strcpy(symbol_info2->symbol, symbol2); - api_info_store_data_batch(symbol_info2, CHECK); + api_info_store_data_batch(symbol_info2, ALL); if (symbol_info2->api_provider == EMPTY) { api_info_destroy(&symbol_info); api_info_destroy(&symbol_info2); @@ -629,4 +629,4 @@ double* graph_fill_empty(double* points, int size, int trading_days) { for (int i = 0; i < difference; i++) // Initialize newly allocated bytes as EMPTY points[i] = EMPTY; return points; -}
\ No newline at end of file +} |