hyperquant 0.86__py3-none-any.whl → 0.87__py3-none-any.whl
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.
hyperquant/broker/coinw.py
CHANGED
|
@@ -348,16 +348,16 @@ class Coinw:
|
|
|
348
348
|
ws_ref: dict[str, pybotters.ws.WebSocketApp] = {"app": ws_app}
|
|
349
349
|
|
|
350
350
|
async def monitor() -> None:
|
|
351
|
+
poll_interval = 1.0
|
|
351
352
|
while True:
|
|
352
|
-
await asyncio.sleep(
|
|
353
|
+
await asyncio.sleep(poll_interval)
|
|
353
354
|
last_update = self.store.book.last_update
|
|
354
355
|
if not last_update:
|
|
355
356
|
continue
|
|
356
357
|
if time.time() - last_update < stale_timeout:
|
|
357
358
|
continue
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
)
|
|
359
|
+
|
|
360
|
+
logger.warning(f"CoinW订单簿超过{stale_timeout:.1f}秒未更新,正在重连。")
|
|
361
361
|
try:
|
|
362
362
|
current = ws_ref["app"]
|
|
363
363
|
if current.current_ws and not current.current_ws.closed:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: hyperquant
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.87
|
|
4
4
|
Summary: A minimal yet hyper-efficient backtesting framework for quantitative trading
|
|
5
5
|
Project-URL: Homepage, https://github.com/yourusername/hyperquant
|
|
6
6
|
Project-URL: Issues, https://github.com/yourusername/hyperquant/issues
|
|
@@ -6,7 +6,7 @@ hyperquant/logkit.py,sha256=nUo7nx5eONvK39GOhWwS41zNRL756P2J7-5xGzwXnTY,8462
|
|
|
6
6
|
hyperquant/notikit.py,sha256=x5yAZ_tAvLQRXcRbcg-VabCaN45LUhvlTZnUqkIqfAA,3596
|
|
7
7
|
hyperquant/broker/auth.py,sha256=xNZEQP0LRRV9BkT2uXBJ-vFfeahUnRVq1bjIT6YbQu8,10089
|
|
8
8
|
hyperquant/broker/bitget.py,sha256=X_S0LKZ7FZAEb6oEMr1vdGP1fondzK74BhmNTpRDSEA,9488
|
|
9
|
-
hyperquant/broker/coinw.py,sha256=
|
|
9
|
+
hyperquant/broker/coinw.py,sha256=lRbxthAmIncTDcYm0VxZ-753HAj5_d5slwX-8EOHXyY,15854
|
|
10
10
|
hyperquant/broker/edgex.py,sha256=TqUO2KRPLN_UaxvtLL6HnA9dAQXC1sGxOfqTHd6W5k8,18378
|
|
11
11
|
hyperquant/broker/hyperliquid.py,sha256=7MxbI9OyIBcImDelPJu-8Nd53WXjxPB5TwE6gsjHbto,23252
|
|
12
12
|
hyperquant/broker/lbank.py,sha256=98M5wmSoeHwbBYMA3rh25zqLb6fQKVaEmwqALF5nOvY,22181
|
|
@@ -26,6 +26,6 @@ hyperquant/datavison/_util.py,sha256=92qk4vO856RqycO0YqEIHJlEg-W9XKapDVqAMxe6rbw
|
|
|
26
26
|
hyperquant/datavison/binance.py,sha256=3yNKTqvt_vUQcxzeX4ocMsI5k6Q6gLZrvgXxAEad6Kc,5001
|
|
27
27
|
hyperquant/datavison/coinglass.py,sha256=PEjdjISP9QUKD_xzXNzhJ9WFDTlkBrRQlVL-5pxD5mo,10482
|
|
28
28
|
hyperquant/datavison/okx.py,sha256=yg8WrdQ7wgWHNAInIgsWPM47N3Wkfr253169IPAycAY,6898
|
|
29
|
-
hyperquant-0.
|
|
30
|
-
hyperquant-0.
|
|
31
|
-
hyperquant-0.
|
|
29
|
+
hyperquant-0.87.dist-info/METADATA,sha256=kKBv8ig72O_aDeRHobCeo3MJOKIxClr5UQwQOOO1x38,4317
|
|
30
|
+
hyperquant-0.87.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
31
|
+
hyperquant-0.87.dist-info/RECORD,,
|
|
File without changes
|