Depreciate the sia menu

This commit is contained in:
jeroen
2023-02-23 16:06:44 +01:00
parent 9e480cf811
commit f4daa9104b
2 changed files with 14 additions and 8 deletions

View File

@@ -123,7 +123,6 @@ en:
stocks/th: trading hours, check open markets
stocks/options: options menu, chains, open interest, greeks, parity
stocks/disc: discover trending stocks, map, sectors, high short interest
stocks/sia: sector and industry analysis, companies per sector, quick ratio per industry and country
stocks/dps: dark pool and short data, darkpool, short interest, ftd
stocks/scr: screener stocks, overview/performance, using preset filters
stocks/ins: insider trading, latest penny stock buys, top officer purchases

View File

@@ -128,7 +128,6 @@ class StocksController(StockBaseController):
mt.add_menu("th")
mt.add_menu("options")
mt.add_menu("disc")
mt.add_menu("sia")
mt.add_menu("dps")
mt.add_menu("scr")
mt.add_menu("ins")
@@ -618,13 +617,21 @@ class StocksController(StockBaseController):
@log_start_end(log=logger)
def call_sia(self, _):
"""Process ins command."""
from openbb_terminal.stocks.sector_industry_analysis.sia_controller import (
SectorIndustryAnalysisController,
)
"""Process sia command."""
# from openbb_terminal.stocks.sector_industry_analysis.sia_controller import (
# SectorIndustryAnalysisController,
# )
self.queue = self.load_class(
SectorIndustryAnalysisController, self.ticker, self.queue
# self.queue = self.load_class(
# SectorIndustryAnalysisController, self.ticker, self.queue
# )
# TODO: Get rid of the call_dd on the next release since it has been deprecated.
console.print(
"The sia (Sector & Industry Analysis) menu is currently inactive as the functionality is "
"better represented through the stocks/sia, stocks/fa and routines functionalities. "
"Improvements to this menu is on the projects list."
)
@log_start_end(log=logger)