summaryrefslogtreecommitdiffstats
path: root/openbb_platform/openbb/assets/reference.json
diff options
context:
space:
mode:
Diffstat (limited to 'openbb_platform/openbb/assets/reference.json')
-rw-r--r--openbb_platform/openbb/assets/reference.json33
1 files changed, 30 insertions, 3 deletions
diff --git a/openbb_platform/openbb/assets/reference.json b/openbb_platform/openbb/assets/reference.json
index 0c01282e9c1..0b586facb6f 100644
--- a/openbb_platform/openbb/assets/reference.json
+++ b/openbb_platform/openbb/assets/reference.json
@@ -1199,7 +1199,7 @@
},
{
"name": "provider",
- "type": "Literal['intrinio']",
+ "type": "Literal['intrinio', 'yfinance']",
"description": "The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'intrinio' if there is no default.",
"default": "intrinio",
"optional": true
@@ -1214,7 +1214,8 @@
"optional": true,
"choices": null
}
- ]
+ ],
+ "yfinance": []
},
"returns": {
"OBBject": [
@@ -1225,7 +1226,7 @@
},
{
"name": "provider",
- "type": "Optional[Literal['intrinio']]",
+ "type": "Optional[Literal['intrinio', 'yfinance']]",
"description": "Provider name."
},
{
@@ -1601,6 +1602,32 @@
"optional": true,
"choices": null
}
+ ],
+ "yfinance": [
+ {
+ "name": "dte",
+ "type": "int",
+ "description": "Days to expiration.",
+ "default": null,
+ "optional": true,
+ "choices": null
+ },
+ {
+ "name": "in_the_money",
+ "type": "bool",
+ "description": "Whether the option is in the money.",
+ "default": null,
+ "optional": true,
+ "choices": null
+ },
+ {
+ "name": "last_trade_timestamp",
+ "type": "datetime",
+ "description": "Timestamp for when the option was last traded.",
+ "default": null,
+ "optional": true,
+ "choices": null
+ }
]
},
"model": "OptionsChains"