massive 2.9.1__tar.gz → 2.9.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {massive-2.9.1 → massive-2.9.2}/PKG-INFO +1 -1
- {massive-2.9.1 → massive-2.9.2}/massive/__init__.py +2 -2
- {massive-2.9.1 → massive-2.9.2}/massive/rest/base.py +1 -1
- {massive-2.9.1 → massive-2.9.2}/massive/websocket/models/__init__.py +1 -0
- {massive-2.9.1 → massive-2.9.2}/massive/websocket/models/common.py +1 -0
- {massive-2.9.1 → massive-2.9.2}/massive/websocket/models/models.py +26 -0
- {massive-2.9.1 → massive-2.9.2}/pyproject.toml +3 -3
- {massive-2.9.1 → massive-2.9.2}/LICENSE +0 -0
- {massive-2.9.1 → massive-2.9.2}/massive/certs.py +0 -0
- {massive-2.9.1 → massive-2.9.2}/massive/exceptions.py +0 -0
- {massive-2.9.1 → massive-2.9.2}/massive/logging.py +0 -0
- {massive-2.9.1 → massive-2.9.2}/massive/modelclass.py +0 -0
- {massive-2.9.1 → massive-2.9.2}/massive/rest/__init__.py +0 -0
- {massive-2.9.1 → massive-2.9.2}/massive/rest/aggs.py +0 -0
- {massive-2.9.1 → massive-2.9.2}/massive/rest/benzinga.py +0 -0
- {massive-2.9.1 → massive-2.9.2}/massive/rest/economy.py +0 -0
- {massive-2.9.1 → massive-2.9.2}/massive/rest/etf_global.py +0 -0
- {massive-2.9.1 → massive-2.9.2}/massive/rest/financials.py +0 -0
- {massive-2.9.1 → massive-2.9.2}/massive/rest/futures.py +0 -0
- {massive-2.9.1 → massive-2.9.2}/massive/rest/indicators.py +0 -0
- {massive-2.9.1 → massive-2.9.2}/massive/rest/models/__init__.py +0 -0
- {massive-2.9.1 → massive-2.9.2}/massive/rest/models/aggs.py +0 -0
- {massive-2.9.1 → massive-2.9.2}/massive/rest/models/benzinga.py +0 -0
- {massive-2.9.1 → massive-2.9.2}/massive/rest/models/common.py +0 -0
- {massive-2.9.1 → massive-2.9.2}/massive/rest/models/conditions.py +0 -0
- {massive-2.9.1 → massive-2.9.2}/massive/rest/models/contracts.py +0 -0
- {massive-2.9.1 → massive-2.9.2}/massive/rest/models/dividends.py +0 -0
- {massive-2.9.1 → massive-2.9.2}/massive/rest/models/economy.py +0 -0
- {massive-2.9.1 → massive-2.9.2}/massive/rest/models/etf_global.py +0 -0
- {massive-2.9.1 → massive-2.9.2}/massive/rest/models/exchanges.py +0 -0
- {massive-2.9.1 → massive-2.9.2}/massive/rest/models/financials.py +0 -0
- {massive-2.9.1 → massive-2.9.2}/massive/rest/models/futures.py +0 -0
- {massive-2.9.1 → massive-2.9.2}/massive/rest/models/indicators.py +0 -0
- {massive-2.9.1 → massive-2.9.2}/massive/rest/models/markets.py +0 -0
- {massive-2.9.1 → massive-2.9.2}/massive/rest/models/quotes.py +0 -0
- {massive-2.9.1 → massive-2.9.2}/massive/rest/models/request.py +0 -0
- {massive-2.9.1 → massive-2.9.2}/massive/rest/models/snapshot.py +0 -0
- {massive-2.9.1 → massive-2.9.2}/massive/rest/models/splits.py +0 -0
- {massive-2.9.1 → massive-2.9.2}/massive/rest/models/summaries.py +0 -0
- {massive-2.9.1 → massive-2.9.2}/massive/rest/models/tickers.py +0 -0
- {massive-2.9.1 → massive-2.9.2}/massive/rest/models/tmx.py +0 -0
- {massive-2.9.1 → massive-2.9.2}/massive/rest/models/trades.py +0 -0
- {massive-2.9.1 → massive-2.9.2}/massive/rest/quotes.py +0 -0
- {massive-2.9.1 → massive-2.9.2}/massive/rest/reference.py +0 -0
- {massive-2.9.1 → massive-2.9.2}/massive/rest/snapshot.py +0 -0
- {massive-2.9.1 → massive-2.9.2}/massive/rest/summaries.py +0 -0
- {massive-2.9.1 → massive-2.9.2}/massive/rest/tmx.py +0 -0
- {massive-2.9.1 → massive-2.9.2}/massive/rest/trades.py +0 -0
- {massive-2.9.1 → massive-2.9.2}/massive/rest/vX.py +0 -0
- {massive-2.9.1 → massive-2.9.2}/massive/websocket/__init__.py +0 -0
|
@@ -374,6 +374,31 @@ class FairMarketValue:
|
|
|
374
374
|
)
|
|
375
375
|
|
|
376
376
|
|
|
377
|
+
@modelclass
|
|
378
|
+
class OptionsAdmin:
|
|
379
|
+
"OptionsAdmin contains an OPRA administrative message, such as a FLEX trade report, for a given options exchange. The message is the raw OPRA text, kept as-is since its format varies by exchange. The timestamp is the SIP timestamp in Unix nanoseconds, and retransmission is only set (True) on retransmitted messages."
|
|
380
|
+
|
|
381
|
+
event_type: Optional[Union[str, EventType]] = None
|
|
382
|
+
id: Optional[str] = None
|
|
383
|
+
exchange: Optional[int] = None
|
|
384
|
+
message: Optional[str] = None
|
|
385
|
+
timestamp: Optional[int] = None
|
|
386
|
+
sequence_number: Optional[int] = None
|
|
387
|
+
retransmission: Optional[bool] = None
|
|
388
|
+
|
|
389
|
+
@staticmethod
|
|
390
|
+
def from_dict(d):
|
|
391
|
+
return OptionsAdmin(
|
|
392
|
+
event_type=d.get("ev", None),
|
|
393
|
+
id=d.get("i", None),
|
|
394
|
+
exchange=d.get("x", None),
|
|
395
|
+
message=d.get("m", None),
|
|
396
|
+
timestamp=d.get("t", None),
|
|
397
|
+
sequence_number=d.get("q", None),
|
|
398
|
+
retransmission=d.get("rt", None),
|
|
399
|
+
)
|
|
400
|
+
|
|
401
|
+
|
|
377
402
|
@modelclass
|
|
378
403
|
class FuturesTrade:
|
|
379
404
|
event_type: Optional[str] = None
|
|
@@ -470,6 +495,7 @@ WebSocketMessage = NewType(
|
|
|
470
495
|
IndexValue,
|
|
471
496
|
LaunchpadValue,
|
|
472
497
|
FairMarketValue,
|
|
498
|
+
OptionsAdmin,
|
|
473
499
|
FuturesTrade,
|
|
474
500
|
FuturesQuote,
|
|
475
501
|
FuturesAgg,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "massive"
|
|
3
|
-
version = "2.9.
|
|
3
|
+
version = "2.9.2"
|
|
4
4
|
description = "Official Massive (formerly Polygon.io) REST and Websocket client."
|
|
5
5
|
authors = ["massive.com"]
|
|
6
6
|
license = "MIT"
|
|
@@ -36,9 +36,9 @@ types-urllib3 = "^1.26.25"
|
|
|
36
36
|
Sphinx = "^8.1.3"
|
|
37
37
|
sphinx-rtd-theme = "^3.1.0"
|
|
38
38
|
# keep this in sync with docs/requirements.txt for readthedocs.org
|
|
39
|
-
sphinx-autodoc-typehints = "^
|
|
39
|
+
sphinx-autodoc-typehints = "^3.0.1"
|
|
40
40
|
types-certifi = "^2021.10.8"
|
|
41
|
-
types-setuptools = "^84.
|
|
41
|
+
types-setuptools = "^84.2.0"
|
|
42
42
|
pook = "^2.1.6"
|
|
43
43
|
orjson = "^3.11.6"
|
|
44
44
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|