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

[Release] Patch openbb-core for Websockets V14 #6997

Closed
wants to merge 7 commits into from
Closed
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
14 changes: 7 additions & 7 deletions openbb_platform/core/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion openbb_platform/core/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "openbb-core"
version = "1.3.7"
version = "1.3.8"
description = "OpenBB package with core functionality."
authors = ["OpenBB Team <hello@openbb.co>"]
license = "AGPL-3.0-only"
Expand Down
26 changes: 17 additions & 9 deletions openbb_platform/openbb/assets/reference.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"info": {
"title": "OpenBB Platform (Python)",
"description": "Investment research for everyone, anywhere.",
"core": "1.3.7",
"core": "1.3.8",
"extensions": {
"openbb_core_extension": [
"commodity@1.2.6",
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
18 changes: 10 additions & 8 deletions openbb_platform/openbb/package/derivatives_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,31 +100,33 @@ def chains(
Strike price of the contract.
option_type : List[str]
Call or Put.
open_interest : List[Optional[int]]
contract_size : List[Union[int, float]]
Number of underlying units per contract.
open_interest : List[Union[int, float]]
Open interest on the contract.
volume : List[Optional[int]]
volume : List[Union[int, float]]
The trading volume.
theoretical_price : List[Optional[float]]
Theoretical value of the option.
last_trade_price : List[Optional[float]]
Last trade price of the option.
last_trade_size : List[Optional[int]]
last_trade_size : List[Union[int, float]]
Last trade size of the option.
last_trade_time : List[Optional[datetime]]
The timestamp of the last trade.
tick : List[Optional[str]]
Whether the last tick was up or down in price.
bid : List[Optional[float]]
Current bid price for the option.
bid_size : List[Optional[int]]
bid_size : List[Union[int, float]]
Bid size for the option.
bid_time : List[Optional[datetime]]
The timestamp of the bid price.
bid_exchange : List[Optional[str]]
The exchange of the bid price.
ask : List[Optional[float]]
Current ask price for the option.
ask_size : List[Optional[int]]
ask_size : List[Union[int, float]]
Ask size for the option.
ask_time : List[Optional[datetime]]
The timestamp of the ask price.
Expand Down Expand Up @@ -152,19 +154,19 @@ def chains(
The lowest ask price for the option that day.
close : List[Optional[float]]
The close price.
close_size : List[Optional[int]]
close_size : List[Union[int, float]]
The closing trade size for the option that day.
close_time : List[Optional[datetime]]
The time of the closing price for the option that day.
close_bid : List[Optional[float]]
The closing bid price for the option that day.
close_bid_size : List[Optional[int]]
close_bid_size : List[Union[int, float]]
The closing bid size for the option that day.
close_bid_time : List[Optional[datetime]]
The time of the bid closing price for the option that day.
close_ask : List[Optional[float]]
The closing ask price for the option that day.
close_ask_size : List[Optional[int]]
close_ask_size : List[Union[int, float]]
The closing ask size for the option that day.
close_ask_time : List[Optional[datetime]]
The time of the ask closing price for the option that day.
Expand Down
Loading
Loading