mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-12-01 13:44:16 +00:00
Removes exchange option from stocks/load (#4673)
* Added fixes * Added fixes
This commit is contained in:
@@ -1171,13 +1171,6 @@ class StockBaseController(BaseController, metaclass=ABCMeta):
|
||||
help="Load weekly data",
|
||||
dest="weekly",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--exchange",
|
||||
dest="exchange",
|
||||
action="store_true",
|
||||
default=False,
|
||||
help="Show exchange information.",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--performance",
|
||||
dest="performance",
|
||||
@@ -1225,11 +1218,6 @@ class StockBaseController(BaseController, metaclass=ABCMeta):
|
||||
or (not is_df and not df_stock_candidate)
|
||||
):
|
||||
self.stock = df_stock_candidate
|
||||
if ns_parser.exchange:
|
||||
self.add_info = stocks_helper.additional_info_about_ticker(
|
||||
ns_parser.ticker
|
||||
)
|
||||
console.print(self.add_info)
|
||||
if (
|
||||
ns_parser.interval == 1440
|
||||
and not ns_parser.weekly
|
||||
|
||||
@@ -82,7 +82,7 @@ load -h
|
||||
Prints the dialogue on the screen:
|
||||
|
||||
```console
|
||||
usage: load [-t TICKER] [-s START] [-e END] [-i {1,5,15,30,60}] [-p] [-f FILEPATH] [-m] [-w] [--exchange] [--performance] [-h] [--export EXPORT]
|
||||
usage: load [-t TICKER] [-s START] [-e END] [-i {1,5,15,30,60}] [-p] [-f FILEPATH] [-m] [-w] [--performance] [-h] [--export EXPORT]
|
||||
[--sheet-name SHEET_NAME [SHEET_NAME ...]] [--source {YahooFinance,AlphaVantage,Polygon,EODHD,Intrinio}]
|
||||
|
||||
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
|
||||
@@ -101,7 +101,6 @@ optional arguments:
|
||||
Path to load custom file. (default: None)
|
||||
-m, --monthly Load monthly data (default: False)
|
||||
-w, --weekly Load weekly data (default: False)
|
||||
--exchange Show exchange information. (default: False)
|
||||
--performance Show performance information. (default: False)
|
||||
-h, --help show this help message (default: False)
|
||||
--export EXPORT Export raw data into csv, json, xlsx (default: )
|
||||
|
||||
Reference in New Issue
Block a user