mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-25 10:42:58 +00:00
Improve historical price command from screener menu
This commit is contained in:
@@ -58,7 +58,7 @@ class ScreenerController:
|
||||
print("")
|
||||
print(f"PRESET: {self.preset}")
|
||||
print("")
|
||||
print(" historical view historical price of stocks that meet preset")
|
||||
print(" historical view historical price")
|
||||
print(" overview overview information")
|
||||
print(" valuation valuation information")
|
||||
print(" financial financial information")
|
||||
|
||||
@@ -158,7 +158,11 @@ def historical(other_args: List[str], preset_loaded: str):
|
||||
for parsed_stock in l_parsed_stocks:
|
||||
l_stocks.remove(parsed_stock)
|
||||
|
||||
plt.title(f"Screener Historical Price using {preset_loaded} preset")
|
||||
if ns_parser.signal:
|
||||
plt.title(f"Screener Historical Price using {finviz_view.d_signals[ns_parser.signal]} signal")
|
||||
else:
|
||||
plt.title(f"Screener Historical Price using {preset_loaded} preset")
|
||||
|
||||
plt.xlabel("Time")
|
||||
plt.ylabel("Share Price ($)")
|
||||
plt.legend(l_leg)
|
||||
|
||||
Reference in New Issue
Block a user