Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BugFix] FMP - Fix missing exchange choices in equity.screener #7008

Merged
merged 6 commits into from
Jan 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
182 changes: 163 additions & 19 deletions openbb_platform/openbb/assets/reference.json
Original file line number Diff line number Diff line change
Expand Up @@ -1434,7 +1434,7 @@
},
{
"name": "counter_currencies",
"type": "Union[List[str], str]",
"type": "Union[str, List[str]]",
"description": "An optional list of counter currency symbols to filter for. None returns all.",
"default": null,
"optional": true,
Expand Down Expand Up @@ -2006,17 +2006,25 @@
"optional": false,
"choices": null
},
{
"name": "contract_size",
"type": "List[Union[int, float]]",
"description": "Number of underlying units per contract.",
"default": "",
"optional": true,
"choices": null
},
{
"name": "open_interest",
"type": "List[int]",
"type": "List[Union[int, float]]",
"description": "Open interest on the contract.",
"default": "",
"optional": true,
"choices": null
},
{
"name": "volume",
"type": "List[int]",
"type": "List[Union[int, float]]",
"description": "The trading volume.",
"default": "",
"optional": true,
Expand All @@ -2040,7 +2048,7 @@
},
{
"name": "last_trade_size",
"type": "List[int]",
"type": "List[Union[int, float]]",
"description": "Last trade size of the option.",
"default": "",
"optional": true,
Expand Down Expand Up @@ -2072,7 +2080,7 @@
},
{
"name": "bid_size",
"type": "List[int]",
"type": "List[Union[int, float]]",
"description": "Bid size for the option.",
"default": "",
"optional": true,
Expand Down Expand Up @@ -2104,7 +2112,7 @@
},
{
"name": "ask_size",
"type": "List[int]",
"type": "List[Union[int, float]]",
"description": "Ask size for the option.",
"default": "",
"optional": true,
Expand Down Expand Up @@ -2216,7 +2224,7 @@
},
{
"name": "close_size",
"type": "List[int]",
"type": "List[Union[int, float]]",
"description": "The closing trade size for the option that day.",
"default": "",
"optional": true,
Expand All @@ -2240,7 +2248,7 @@
},
{
"name": "close_bid_size",
"type": "List[int]",
"type": "List[Union[int, float]]",
"description": "The closing bid size for the option that day.",
"default": "",
"optional": true,
Expand All @@ -2264,7 +2272,7 @@
},
{
"name": "close_ask_size",
"type": "List[int]",
"type": "List[Union[int, float]]",
"description": "The closing ask size for the option that day.",
"default": "",
"optional": true,
Expand Down Expand Up @@ -12190,23 +12198,23 @@
},
{
"name": "analyst_ids",
"type": "Union[Union[List[str], str], List[Union[List[str], str]]]",
"type": "Union[Union[str, List[str]], List[Union[str, List[str]]]]",
"description": "Comma-separated list of analyst (person) IDs. Omitting will bring back all available analysts. Multiple items allowed for provider(s): benzinga.",
"default": null,
"optional": true,
"choices": null
},
{
"name": "firm_ids",
"type": "Union[Union[List[str], str], List[Union[List[str], str]]]",
"type": "Union[Union[str, List[str]], List[Union[str, List[str]]]]",
"description": "Comma-separated list of firm IDs. Multiple items allowed for provider(s): benzinga.",
"default": null,
"optional": true,
"choices": null
},
{
"name": "fields",
"type": "Union[Union[List[str], str], List[Union[List[str], str]]]",
"type": "Union[Union[str, List[str]], List[Union[str, List[str]]]]",
"description": "Comma-separated list of fields to include in the response. See https://docs.benzinga.io/benzinga-apis/calendar/get-ratings to learn about the available fields. Multiple items allowed for provider(s): benzinga.",
"default": null,
"optional": true,
Expand Down Expand Up @@ -30341,11 +30349,26 @@
},
{
"name": "sector",
"type": "Literal['consumer_cyclical', 'energy', 'technology', 'industrials', 'financial_services', 'basic_materials', 'communication_services', 'consumer_defensive', 'healthcare', 'real_estate', 'utilities', 'industrial_goods', 'financial', 'services', 'conglomerates']",
"type": "Literal['consumer_cyclical', 'energy', 'technology', 'industrials', 'financial_services', 'basic_materials', 'communication_services', 'consumer_defensive', 'healthcare', 'real_estate', 'utilities', 'industrial_goods', 'financial', 'services']",
"description": "Filter by sector.",
"default": null,
"optional": true,
"choices": null
"choices": [
"consumer_cyclical",
"energy",
"technology",
"industrials",
"financial_services",
"basic_materials",
"communication_services",
"consumer_defensive",
"healthcare",
"real_estate",
"utilities",
"industrial_goods",
"financial",
"services"
]
},
{
"name": "industry",
Expand All @@ -30369,7 +30392,64 @@
"description": "Filter by exchange.",
"default": null,
"optional": true,
"choices": null
"choices": [
"amex",
"ams",
"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",
"mutual_fund",
"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"
]
},
{
"name": "limit",
Expand Down Expand Up @@ -31673,7 +31753,64 @@
"description": "The market to fetch data for.",
"default": "nasdaq",
"optional": true,
"choices": null
"choices": [
"amex",
"ams",
"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",
"mutual_fund",
"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"
]
}
],
"intrinio": [
Expand Down Expand Up @@ -32267,7 +32404,14 @@
"description": "The exchange code the ETF trades on.",
"default": null,
"optional": true,
"choices": null
"choices": [
"AMEX",
"NYSE",
"NASDAQ",
"ETF",
"TSX",
"EURONEXT"
]
},
{
"name": "is_active",
Expand Down Expand Up @@ -41109,8 +41253,8 @@
"name": "source",
"type": "str",
"description": "Source of the news article",
"default": "",
"optional": false,
"default": null,
"optional": true,
"choices": null
}
]
Expand Down
Loading
Loading