mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-29 20:53:54 +00:00
20 lines
691 B
Python
20 lines
691 B
Python
import argparse
|
|
import webbrowser
|
|
|
|
# ---------------------------------------------------- UNUSUAL WHALES ----------------------------------------------------
|
|
def unusual_whales(l_args):
|
|
parser = argparse.ArgumentParser(prog='uwhales',
|
|
description='''Good website for SPACs research. [Source: www.unusualwhales.com]''')
|
|
|
|
try:
|
|
(ns_parser, l_unknown_args) = parser.parse_known_args(l_args)
|
|
|
|
if l_unknown_args:
|
|
print(f"The following args couldn't be interpreted: {l_unknown_args}")
|
|
|
|
webbrowser.open(f"https://unusualwhales.com/spacs")
|
|
print("")
|
|
|
|
except SystemExit:
|
|
print("")
|
|
return |