mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 12:40:35 +00:00
Add newsfilter to research web pages
This commit is contained in:
12
res_menu.py
12
res_menu.py
@@ -28,6 +28,7 @@ def print_research():
|
||||
print(" fintel www.fintel.com")
|
||||
print(" zacks www.zacks.com")
|
||||
print(" macrotrends www.macrotrends.net")
|
||||
print(" newsfilter www.newsfilter.io")
|
||||
print("")
|
||||
print(" resources www.tradinganalysisresources.com")
|
||||
print("")
|
||||
@@ -42,7 +43,7 @@ def res_menu(s_ticker):
|
||||
res_parser.add_argument('cmd', choices=['help', 'q', 'quit',
|
||||
'macroaxis', 'yahoo', 'finviz', 'marketwatch', 'fool', 'businessinsider',
|
||||
'fmp', 'fidelity', 'tradingview', 'marketchameleon', 'stockrow', 'barchart',
|
||||
'grufity', 'fintel', 'zacks', 'macrotrends', 'resources'])
|
||||
'grufity', 'fintel', 'zacks', 'macrotrends', 'newsfilter', 'resources'])
|
||||
|
||||
print_research()
|
||||
|
||||
@@ -214,6 +215,15 @@ def res_menu(s_ticker):
|
||||
print("")
|
||||
return
|
||||
|
||||
# ------------------------------------------------------------------------------------------------------------
|
||||
elif ns_known_args.cmd == 'newsfilter':
|
||||
try:
|
||||
webbrowser.open(f"https://newsfilter.io/search?query={s_ticker}")
|
||||
print("")
|
||||
except SystemExit:
|
||||
print("")
|
||||
return
|
||||
|
||||
# ------------------------------------------------------------------------------------------------------------
|
||||
elif ns_known_args.cmd == 'resources':
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user