mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-28 12:13:11 +00:00
* redefined CalendarDividend standard model * fix nasdaq calendar dividend model * removed Filings standard model * add DiscoveryFilings standard model * fix fmp calendar dividend and discovery filing models * add cik description in standard model utils * redefine CompanyFilings standard model * fix fmp company filings model * fix sec company filings model * remove regulators/sec/filings command * redefine InsiderTrading standard model * fix fmp insider trading model * redefine InstitutionalOwnership standard model * fix fmp institutional ownership model * redefine KeyMetrics standard model * fix fmp key metrics model * fix fmp market snapshots model * add attributes standard model and commands * redefine EquityInfo standard model * remove SearchFinancialAttributes standard model file * add new intrinio endpoints * linting * pass standard model description test * fix tests? w/@montezdesousa * pass fmp fetcher tests * re-record sec company filings test * pass intrinio fetcher tests * re-record intrinio insider trading test * index integration test * regulators integration test * equity integration test * fix same owner name in intrinio instituional ownership * re-record intrinio insider training * crypto price historical integration test reduce end_date
161 lines
2.0 KiB
Python
161 lines
2.0 KiB
Python
"""FMP Literal Definitions."""
|
|
|
|
from typing import Literal
|
|
|
|
SECTORS = Literal[
|
|
"Consumer Cyclical",
|
|
"Energy",
|
|
"Technology",
|
|
"Industrials",
|
|
"Financial Services",
|
|
"Basic Materials",
|
|
"Communication Services",
|
|
"Consumer Defensive",
|
|
"Healthcare",
|
|
"Real Estate",
|
|
"Utilities",
|
|
"Industrial Goods",
|
|
"Financial",
|
|
"Services",
|
|
"Conglomerates",
|
|
]
|
|
|
|
EXCHANGES = Literal[
|
|
"amex",
|
|
"ase",
|
|
"asx",
|
|
"ath",
|
|
"bme",
|
|
"bru",
|
|
"bud",
|
|
"bue",
|
|
"cai",
|
|
"cnq",
|
|
"cph",
|
|
"dfm",
|
|
"doh",
|
|
"etf",
|
|
"euronext",
|
|
"hel",
|
|
"hkse",
|
|
"ice",
|
|
"iob",
|
|
"ist",
|
|
"jkt",
|
|
"jnb",
|
|
"jpx",
|
|
"kls",
|
|
"koe",
|
|
"ksc",
|
|
"kuw",
|
|
"lse",
|
|
"mex",
|
|
"nasdaq",
|
|
"neo",
|
|
"nse",
|
|
"nyse",
|
|
"nze",
|
|
"osl",
|
|
"otc",
|
|
"pnk",
|
|
"pra",
|
|
"ris",
|
|
"sao",
|
|
"sau",
|
|
"set",
|
|
"sgo",
|
|
"shh",
|
|
"shz",
|
|
"six",
|
|
"sto",
|
|
"tai",
|
|
"tlv",
|
|
"tsx",
|
|
"two",
|
|
"vie",
|
|
"wse",
|
|
"xetra",
|
|
]
|
|
|
|
MARKETS = Literal[
|
|
"AMEX",
|
|
"AMS",
|
|
"ASE",
|
|
"ASX",
|
|
"ATH",
|
|
"BME",
|
|
"BRU",
|
|
"BUD",
|
|
"BUE",
|
|
"CAI",
|
|
"CNQ",
|
|
"CPH",
|
|
"DFM",
|
|
"DOH",
|
|
"DUS",
|
|
"ETF",
|
|
"EURONEXT",
|
|
"HEL",
|
|
"HKSE",
|
|
"ICE",
|
|
"IOB",
|
|
"IST",
|
|
"JKT",
|
|
"JNB",
|
|
"JPX",
|
|
"KLS",
|
|
"KOE",
|
|
"KSC",
|
|
"KUW",
|
|
"LSE",
|
|
"MEX",
|
|
"MIL",
|
|
"NASDAQ",
|
|
"NEO",
|
|
"NSE",
|
|
"NYSE",
|
|
"NZE",
|
|
"OSL",
|
|
"OTC",
|
|
"PNK",
|
|
"PRA",
|
|
"RIS",
|
|
"SAO",
|
|
"SAU",
|
|
"SES",
|
|
"SET",
|
|
"SGO",
|
|
"SHH",
|
|
"SHZ",
|
|
"SIX",
|
|
"STO",
|
|
"TAI",
|
|
"TLV",
|
|
"TSX",
|
|
"TWO",
|
|
"VIE",
|
|
"WSE",
|
|
"XETRA",
|
|
]
|
|
|
|
TRANSACTION_TYPES = Literal[
|
|
"A-Award",
|
|
"C-Conversion",
|
|
"D-Return",
|
|
"E-ExpireShort",
|
|
"F-InKind",
|
|
"G-Gift",
|
|
"H-ExpireLong",
|
|
"I-Discretionary",
|
|
"J-Other",
|
|
"L-Small",
|
|
"M-Exempt",
|
|
"O-OutOfTheMoney",
|
|
"P-Purchase",
|
|
"S-Sale",
|
|
"U-Tender",
|
|
"W-Will",
|
|
"X-InTheMoney",
|
|
"Z-Trust",
|
|
]
|