From 83fa0aad9e81fca664814710615ab652cdcefc23 Mon Sep 17 00:00:00 2001 From: didier Date: Sun, 11 Apr 2021 10:15:30 +0100 Subject: [PATCH] Add comment regarding loading from different market exchanges --- gamestonk_terminal/README.md | 2 +- gamestonk_terminal/main_helper.py | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/gamestonk_terminal/README.md b/gamestonk_terminal/README.md index 95f9d7ce905..4ab6d9c5790 100644 --- a/gamestonk_terminal/README.md +++ b/gamestonk_terminal/README.md @@ -23,7 +23,7 @@ The main menu allows the following commands: ``` load -t S_TICKER [-s S_START_DATE] [-i {1,5,15,30,60}] ``` - * Load stock ticker to perform analysis on. To load an Indian ticker use '.NS' at the end, e.g. 'SBIN.NS' + * Load stock ticker to perform analysis on. When the data source is 'yf', an Indian ticker can be loaded by using '.NS' at the end, e.g. 'SBIN.NS'. See available market in https://help.yahoo.com/kb/exchanges-data-providers-yahoo-finance-sln2310.html. * -s : The starting date (format YYYY-MM-DD) of the stock * -i : Intraday stock minutes * --source : Source of historical data. 'yf' and 'av' available. Default 'yf' diff --git a/gamestonk_terminal/main_helper.py b/gamestonk_terminal/main_helper.py index a0553d087d2..0481cb34ffc 100644 --- a/gamestonk_terminal/main_helper.py +++ b/gamestonk_terminal/main_helper.py @@ -119,8 +119,9 @@ def load(l_args, s_ticker, s_start, s_interval, df_stock): parser = argparse.ArgumentParser( add_help=False, prog="load", - description=""" Load a stock in order to perform analysis. - To load an Indian ticker use '.NS' at the end, e.g. 'SBIN.NS'. """, + description="Load stock ticker to perform analysis on. When the data source is 'yf', an Indian ticker can be" + " loaded by using '.NS' at the end, e.g. 'SBIN.NS'. See available market in" + " https://help.yahoo.com/kb/exchanges-data-providers-yahoo-finance-sln2310.html.", ) parser.add_argument( "-t",