mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-25 02:33:10 +00:00
update dd controller and README.
This commit is contained in:
@@ -26,6 +26,8 @@ This menu aims to help in due-diligence of a pre-loaded stock, and the usage of
|
||||
* company warnings according to Sean Seah book [Market Watch]
|
||||
* [dp](#dp)
|
||||
* dark pools (ATS) vs OTC data [FINRA]
|
||||
* [ftd](#ftd)
|
||||
* fails-to-deliver data [SEC]
|
||||
|
||||
## news <a name="news"></a>
|
||||
|
||||
@@ -170,4 +172,14 @@ Display barchart of dark pool (ATS) and OTC (Non ATS) data
|
||||
|
||||

|
||||
|
||||
## ftd <a name="ftd"></a>
|
||||
|
||||
```text
|
||||
usage: ftd [-n]
|
||||
```
|
||||
|
||||
The fails-to-deliver data collected by SEC. Fails to deliver on a given day are a cumulative number of all fails outstanding until that day, plus new fails that occur that day, less fails that settle that day. See <https://www.sec.gov/data/foiadocsfailsdatahtm>. [Source: SEC]
|
||||
|
||||
* -n : number of latest fails-to-deliver being printed. Default 10.
|
||||
|
||||
<img width="927" alt="ftd" src="TODO">
|
||||
|
||||
@@ -14,6 +14,7 @@ from gamestonk_terminal.due_diligence import quandl_view as q_view
|
||||
from gamestonk_terminal.due_diligence import reddit_view as r_view
|
||||
from gamestonk_terminal.due_diligence import news_view
|
||||
from gamestonk_terminal.due_diligence import finra_view
|
||||
from gamestonk_terminal.due_diligence import sec_view
|
||||
from gamestonk_terminal import feature_flags as gtff
|
||||
from gamestonk_terminal.helper_funcs import get_flair
|
||||
from gamestonk_terminal.menu import session
|
||||
@@ -39,6 +40,7 @@ class DueDiligenceController:
|
||||
"warnings",
|
||||
"sec",
|
||||
"dp",
|
||||
"ftd",
|
||||
]
|
||||
|
||||
def __init__(self, stock: DataFrame, ticker: str, start: str, interval: str):
|
||||
@@ -100,6 +102,7 @@ class DueDiligenceController:
|
||||
" warnings company warnings according to Sean Seah book [Market Watch]"
|
||||
)
|
||||
print(" dp dark pools (ATS) vs OTC data [FINRA]")
|
||||
print(" ftd fails-to-deliver data [SEC]")
|
||||
print("")
|
||||
|
||||
def switch(self, an_input: str):
|
||||
@@ -182,6 +185,10 @@ class DueDiligenceController:
|
||||
""" Process dp command """
|
||||
finra_view.dark_pool(other_args, self.ticker)
|
||||
|
||||
def call_ftd(self, other_args: List[str]):
|
||||
""" Process ftd command """
|
||||
sec_view.fails_to_deliver(other_args, self.ticker)
|
||||
|
||||
|
||||
def menu(stock: DataFrame, ticker: str, start: str, interval: str):
|
||||
"""Due Diligence Menu
|
||||
|
||||
Reference in New Issue
Block a user