hyperquant 0.36__tar.gz → 0.37__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.36 → hyperquant-0.37}/PKG-INFO +1 -1
- {hyperquant-0.36 → hyperquant-0.37}/pyproject.toml +1 -1
- {hyperquant-0.36 → hyperquant-0.37}/src/hyperquant/broker/ourbit.py +3 -2
- {hyperquant-0.36 → hyperquant-0.37}/uv.lock +1 -1
- {hyperquant-0.36 → hyperquant-0.37}/.gitignore +0 -0
- {hyperquant-0.36 → hyperquant-0.37}/.python-version +0 -0
- {hyperquant-0.36 → hyperquant-0.37}/README.md +0 -0
- {hyperquant-0.36 → hyperquant-0.37}/data/logs/notikit.log +0 -0
- {hyperquant-0.36 → hyperquant-0.37}/pub.sh +0 -0
- {hyperquant-0.36 → hyperquant-0.37}/requirements-dev.lock +0 -0
- {hyperquant-0.36 → hyperquant-0.37}/requirements.lock +0 -0
- {hyperquant-0.36 → hyperquant-0.37}/src/hyperquant/__init__.py +0 -0
- {hyperquant-0.36 → hyperquant-0.37}/src/hyperquant/broker/auth.py +0 -0
- {hyperquant-0.36 → hyperquant-0.37}/src/hyperquant/broker/hyperliquid.py +0 -0
- {hyperquant-0.36 → hyperquant-0.37}/src/hyperquant/broker/lib/hpstore.py +0 -0
- {hyperquant-0.36 → hyperquant-0.37}/src/hyperquant/broker/lib/hyper_types.py +0 -0
- {hyperquant-0.36 → hyperquant-0.37}/src/hyperquant/broker/models/hyperliquid.py +0 -0
- {hyperquant-0.36 → hyperquant-0.37}/src/hyperquant/broker/models/ourbit.py +0 -0
- {hyperquant-0.36 → hyperquant-0.37}/src/hyperquant/broker/ws.py +0 -0
- {hyperquant-0.36 → hyperquant-0.37}/src/hyperquant/core.py +0 -0
- {hyperquant-0.36 → hyperquant-0.37}/src/hyperquant/datavison/_util.py +0 -0
- {hyperquant-0.36 → hyperquant-0.37}/src/hyperquant/datavison/binance.py +0 -0
- {hyperquant-0.36 → hyperquant-0.37}/src/hyperquant/datavison/coinglass.py +0 -0
- {hyperquant-0.36 → hyperquant-0.37}/src/hyperquant/datavison/okx.py +0 -0
- {hyperquant-0.36 → hyperquant-0.37}/src/hyperquant/db.py +0 -0
- {hyperquant-0.36 → hyperquant-0.37}/src/hyperquant/draw.py +0 -0
- {hyperquant-0.36 → hyperquant-0.37}/src/hyperquant/logkit.py +0 -0
- {hyperquant-0.36 → hyperquant-0.37}/src/hyperquant/notikit.py +0 -0
- {hyperquant-0.36 → hyperquant-0.37}/test.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: hyperquant
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.37
|
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
|
@@ -138,9 +138,10 @@ class OurbitSwap:
|
|
138
138
|
cs = self.store.detail.find({"symbol": symbol})[0].get("contract_sz")
|
139
139
|
size = max(int(usdt_amount / cs / price), 1)
|
140
140
|
|
141
|
-
price
|
141
|
+
if price is not None:
|
142
|
+
price = self.fmt_price(symbol, price)
|
142
143
|
|
143
|
-
|
144
|
+
|
144
145
|
leverage = min(max_lev, leverage)
|
145
146
|
|
146
147
|
data = {
|
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
|