oxarchive 0.4.5__tar.gz → 0.4.6__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.
- {oxarchive-0.4.5 → oxarchive-0.4.6}/PKG-INFO +1 -1
- {oxarchive-0.4.5 → oxarchive-0.4.6}/oxarchive/__init__.py +1 -1
- {oxarchive-0.4.5 → oxarchive-0.4.6}/oxarchive/websocket.py +3 -2
- {oxarchive-0.4.5 → oxarchive-0.4.6}/pyproject.toml +1 -1
- {oxarchive-0.4.5 → oxarchive-0.4.6}/.gitignore +0 -0
- {oxarchive-0.4.5 → oxarchive-0.4.6}/README.md +0 -0
- {oxarchive-0.4.5 → oxarchive-0.4.6}/oxarchive/client.py +0 -0
- {oxarchive-0.4.5 → oxarchive-0.4.6}/oxarchive/exchanges.py +0 -0
- {oxarchive-0.4.5 → oxarchive-0.4.6}/oxarchive/http.py +0 -0
- {oxarchive-0.4.5 → oxarchive-0.4.6}/oxarchive/resources/__init__.py +0 -0
- {oxarchive-0.4.5 → oxarchive-0.4.6}/oxarchive/resources/funding.py +0 -0
- {oxarchive-0.4.5 → oxarchive-0.4.6}/oxarchive/resources/instruments.py +0 -0
- {oxarchive-0.4.5 → oxarchive-0.4.6}/oxarchive/resources/openinterest.py +0 -0
- {oxarchive-0.4.5 → oxarchive-0.4.6}/oxarchive/resources/orderbook.py +0 -0
- {oxarchive-0.4.5 → oxarchive-0.4.6}/oxarchive/resources/trades.py +0 -0
- {oxarchive-0.4.5 → oxarchive-0.4.6}/oxarchive/types.py +0 -0
|
@@ -311,8 +311,9 @@ class OxArchiveWs:
|
|
|
311
311
|
url = f"{self.options.ws_url}?apiKey={self.options.api_key}"
|
|
312
312
|
|
|
313
313
|
try:
|
|
314
|
-
# Increase max_size
|
|
315
|
-
|
|
314
|
+
# Increase max_size to 50MB for large Lighter orderbook data with high granularity
|
|
315
|
+
# Lighter tick data with full depth (~3700 levels) can exceed 14MB per message
|
|
316
|
+
self._ws = await ws_connect(url, max_size=50 * 1024 * 1024)
|
|
316
317
|
self._reconnect_attempts = 0
|
|
317
318
|
self._set_state("connected")
|
|
318
319
|
|
|
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
|