hyperquant 0.64__tar.gz → 0.65__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.
- {hyperquant-0.64 → hyperquant-0.65}/PKG-INFO +1 -1
- {hyperquant-0.64 → hyperquant-0.65}/pyproject.toml +1 -1
- {hyperquant-0.64 → hyperquant-0.65}/src/hyperquant/broker/lbank.py +6 -1
- {hyperquant-0.64 → hyperquant-0.65}/uv.lock +1 -1
- {hyperquant-0.64 → hyperquant-0.65}/.gitignore +0 -0
- {hyperquant-0.64 → hyperquant-0.65}/.python-version +0 -0
- {hyperquant-0.64 → hyperquant-0.65}/README.md +0 -0
- {hyperquant-0.64 → hyperquant-0.65}/apis.json +0 -0
- {hyperquant-0.64 → hyperquant-0.65}/backtest_tmp.py +0 -0
- {hyperquant-0.64 → hyperquant-0.65}/data/alpine_smoke.log +0 -0
- {hyperquant-0.64 → hyperquant-0.65}/data/logs/notikit.log +0 -0
- {hyperquant-0.64 → hyperquant-0.65}/data/logs/test_order_sync.log +0 -0
- {hyperquant-0.64 → hyperquant-0.65}/data/records_swap.csv +0 -0
- {hyperquant-0.64 → hyperquant-0.65}/data/records_swapc.csv +0 -0
- {hyperquant-0.64 → hyperquant-0.65}/deals.json +0 -0
- {hyperquant-0.64 → hyperquant-0.65}/pub.sh +0 -0
- {hyperquant-0.64 → hyperquant-0.65}/requirements-dev.lock +0 -0
- {hyperquant-0.64 → hyperquant-0.65}/requirements.lock +0 -0
- {hyperquant-0.64 → hyperquant-0.65}/src/hyperquant/__init__.py +0 -0
- {hyperquant-0.64 → hyperquant-0.65}/src/hyperquant/broker/auth.py +0 -0
- {hyperquant-0.64 → hyperquant-0.65}/src/hyperquant/broker/edgex.py +0 -0
- {hyperquant-0.64 → hyperquant-0.65}/src/hyperquant/broker/hyperliquid.py +0 -0
- {hyperquant-0.64 → hyperquant-0.65}/src/hyperquant/broker/lib/hpstore.py +0 -0
- {hyperquant-0.64 → hyperquant-0.65}/src/hyperquant/broker/lib/hyper_types.py +0 -0
- {hyperquant-0.64 → hyperquant-0.65}/src/hyperquant/broker/models/edgex.py +0 -0
- {hyperquant-0.64 → hyperquant-0.65}/src/hyperquant/broker/models/hyperliquid.py +0 -0
- {hyperquant-0.64 → hyperquant-0.65}/src/hyperquant/broker/models/lbank.py +0 -0
- {hyperquant-0.64 → hyperquant-0.65}/src/hyperquant/broker/models/ourbit.py +0 -0
- {hyperquant-0.64 → hyperquant-0.65}/src/hyperquant/broker/ourbit.py +0 -0
- {hyperquant-0.64 → hyperquant-0.65}/src/hyperquant/broker/ws.py +0 -0
- {hyperquant-0.64 → hyperquant-0.65}/src/hyperquant/core.py +0 -0
- {hyperquant-0.64 → hyperquant-0.65}/src/hyperquant/datavison/_util.py +0 -0
- {hyperquant-0.64 → hyperquant-0.65}/src/hyperquant/datavison/binance.py +0 -0
- {hyperquant-0.64 → hyperquant-0.65}/src/hyperquant/datavison/coinglass.py +0 -0
- {hyperquant-0.64 → hyperquant-0.65}/src/hyperquant/datavison/okx.py +0 -0
- {hyperquant-0.64 → hyperquant-0.65}/src/hyperquant/db.py +0 -0
- {hyperquant-0.64 → hyperquant-0.65}/src/hyperquant/draw.py +0 -0
- {hyperquant-0.64 → hyperquant-0.65}/src/hyperquant/logkit.py +0 -0
- {hyperquant-0.64 → hyperquant-0.65}/src/hyperquant/notikit.py +0 -0
- {hyperquant-0.64 → hyperquant-0.65}/tests/test_draw.py +0 -0
- {hyperquant-0.64 → hyperquant-0.65}/tests/test_edgex.py +0 -0
- {hyperquant-0.64 → hyperquant-0.65}/tests/test_lbank.py +0 -0
- {hyperquant-0.64 → hyperquant-0.65}/tests/test_ourbit.py +0 -0
- {hyperquant-0.64 → hyperquant-0.65}/tests/tmp.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: hyperquant
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.65
|
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
|
@@ -102,4 +102,9 @@ class Lbank:
|
|
102
102
|
self.store.register_book_channel(str(y), symbol)
|
103
103
|
y += 1
|
104
104
|
|
105
|
-
|
105
|
+
# Rate limit: max 5 subscriptions per second
|
106
|
+
for i in range(0, len(send_jsons), 5):
|
107
|
+
batch = send_jsons[i:i+5]
|
108
|
+
await asyncio.gather(*(sub(send_json) for send_json in batch))
|
109
|
+
if i + 5 < len(send_jsons):
|
110
|
+
await asyncio.sleep(0.1)
|
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
|