hyperquant 0.55__py3-none-any.whl → 0.57__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.
@@ -134,6 +134,7 @@ class Orders(DataStore):
134
134
  def _fmt(self, order:dict):
135
135
  return {
136
136
  "order_id": order.get("orderId"),
137
+ "position_id": order.get("positionId"),
137
138
  "symbol": order.get("symbol"),
138
139
  "price": order.get("price"),
139
140
  "vol": order.get("vol"),
@@ -213,6 +214,7 @@ class Detail(DataStore):
213
214
  "contract_sz": detail.get("cs"),
214
215
  "minv": detail.get("minV"),
215
216
  "maxv": detail.get("maxV")
217
+ "online_time": detail.get("tcd")
216
218
  }
217
219
  )
218
220
  self._update(data_to_insert)
@@ -403,8 +405,8 @@ class OurbitSwapDataStore(DataStoreCollection):
403
405
  "io": ["binance", "mexc"], # 交易所列表
404
406
  "contract_sz": 1,
405
407
  "minv": 1,
406
- "maxv": 10000
407
-
408
+ "maxv": 10000,
409
+ "online_time": 1625247600000 # 上线时间
408
410
  }
409
411
  ]
410
412
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hyperquant
3
- Version: 0.55
3
+ Version: 0.57
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
@@ -11,11 +11,11 @@ hyperquant/broker/ws.py,sha256=umRzxwCaZaRIgIq4YY-AuA0wCXFT0uOBmQbIXFY8CK0,1555
11
11
  hyperquant/broker/lib/hpstore.py,sha256=LnLK2zmnwVvhEbLzYI-jz_SfYpO1Dv2u2cJaRAb84D8,8296
12
12
  hyperquant/broker/lib/hyper_types.py,sha256=HqjjzjUekldjEeVn6hxiWA8nevAViC2xHADOzDz9qyw,991
13
13
  hyperquant/broker/models/hyperliquid.py,sha256=c4r5739ibZfnk69RxPjQl902AVuUOwT8RNvKsMtwXBY,9459
14
- hyperquant/broker/models/ourbit.py,sha256=-AfOZ4kKuP-uOwrCFNhFEBOHnHLcI2aaCuzvWp5iRWM,41808
14
+ hyperquant/broker/models/ourbit.py,sha256=Br1vRCxfBidQ9x_GOM9BiUJBQQnDkTQdwJKgB4Vy660,41978
15
15
  hyperquant/datavison/_util.py,sha256=92qk4vO856RqycO0YqEIHJlEg-W9XKapDVqAMxe6rbw,533
16
16
  hyperquant/datavison/binance.py,sha256=3yNKTqvt_vUQcxzeX4ocMsI5k6Q6gLZrvgXxAEad6Kc,5001
17
17
  hyperquant/datavison/coinglass.py,sha256=PEjdjISP9QUKD_xzXNzhJ9WFDTlkBrRQlVL-5pxD5mo,10482
18
18
  hyperquant/datavison/okx.py,sha256=yg8WrdQ7wgWHNAInIgsWPM47N3Wkfr253169IPAycAY,6898
19
- hyperquant-0.55.dist-info/METADATA,sha256=AiTXdmBCVQep-_n2vBfWohJ6Ag2Pko8yQKrcSn8cl50,4317
20
- hyperquant-0.55.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
21
- hyperquant-0.55.dist-info/RECORD,,
19
+ hyperquant-0.57.dist-info/METADATA,sha256=VJH0CnWYBXcMQxR04L40VW8M4-fzIs2L0vWITKby1SA,4317
20
+ hyperquant-0.57.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
21
+ hyperquant-0.57.dist-info/RECORD,,