datahub_binary 1.9.0__cp312-cp312-win_amd64.whl → 1.9.2__cp312-cp312-win_amd64.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.
@@ -112,7 +112,7 @@ class Currency(_message.Message):
112
112
  def __init__(self, currency_id: _Optional[str] = ..., fx_rate_cny: _Optional[float] = ..., comments: _Optional[str] = ..., update_time: _Optional[str] = ...) -> None: ...
113
113
 
114
114
  class Instrument(_message.Message):
115
- __slots__ = ("instrument_id", "market", "security_id", "symbol", "instrument_type", "security_type", "lot_size", "price_tick", "contract_unit", "intraday_trading", "is_sub", "is_withdraw", "fund_etfpr_minnav", "withdraw_basket_volume", "long_posi_limit", "short_posi_limit", "intraday_open_limit", "max_up", "max_down", "underlying_instrument_id", "chain_codes", "fund_etfpr_estcash", "wind_market", "comments", "is_replace_price", "replace_price", "quote_currency_id", "settle_currency_id", "total_share", "posi_qty_ratio_limit", "price_cage", "instrument_sub_type", "min_size", "max_size", "list_date", "delist_date", "settle_date")
115
+ __slots__ = ("instrument_id", "market", "security_id", "symbol", "instrument_type", "security_type", "lot_size", "price_tick", "contract_unit", "intraday_trading", "is_sub", "is_withdraw", "fund_etfpr_minnav", "withdraw_basket_volume", "long_posi_limit", "short_posi_limit", "intraday_open_limit", "max_up", "max_down", "underlying_instrument_id", "chain_codes", "fund_etfpr_estcash", "wind_market", "comments", "is_replace_price", "replace_price", "quote_currency_id", "settle_currency_id", "total_share", "posi_qty_ratio_limit", "price_cage", "instrument_sub_type", "min_size", "max_size", "list_date", "delist_date", "settle_date", "trade_date", "external_info", "pre_close_price")
116
116
  INSTRUMENT_ID_FIELD_NUMBER: _ClassVar[int]
117
117
  MARKET_FIELD_NUMBER: _ClassVar[int]
118
118
  SECURITY_ID_FIELD_NUMBER: _ClassVar[int]
@@ -150,6 +150,9 @@ class Instrument(_message.Message):
150
150
  LIST_DATE_FIELD_NUMBER: _ClassVar[int]
151
151
  DELIST_DATE_FIELD_NUMBER: _ClassVar[int]
152
152
  SETTLE_DATE_FIELD_NUMBER: _ClassVar[int]
153
+ TRADE_DATE_FIELD_NUMBER: _ClassVar[int]
154
+ EXTERNAL_INFO_FIELD_NUMBER: _ClassVar[int]
155
+ PRE_CLOSE_PRICE_FIELD_NUMBER: _ClassVar[int]
153
156
  instrument_id: str
154
157
  market: str
155
158
  security_id: str
@@ -187,7 +190,10 @@ class Instrument(_message.Message):
187
190
  list_date: str
188
191
  delist_date: str
189
192
  settle_date: str
190
- def __init__(self, instrument_id: _Optional[str] = ..., market: _Optional[str] = ..., security_id: _Optional[str] = ..., symbol: _Optional[str] = ..., instrument_type: _Optional[str] = ..., security_type: _Optional[str] = ..., lot_size: _Optional[int] = ..., price_tick: _Optional[float] = ..., contract_unit: _Optional[float] = ..., intraday_trading: _Optional[int] = ..., is_sub: _Optional[int] = ..., is_withdraw: _Optional[int] = ..., fund_etfpr_minnav: _Optional[int] = ..., withdraw_basket_volume: _Optional[int] = ..., long_posi_limit: _Optional[int] = ..., short_posi_limit: _Optional[int] = ..., intraday_open_limit: _Optional[int] = ..., max_up: _Optional[float] = ..., max_down: _Optional[float] = ..., underlying_instrument_id: _Optional[str] = ..., chain_codes: _Optional[_Iterable[str]] = ..., fund_etfpr_estcash: _Optional[float] = ..., wind_market: _Optional[str] = ..., comments: _Optional[str] = ..., is_replace_price: _Optional[int] = ..., replace_price: _Optional[float] = ..., quote_currency_id: _Optional[str] = ..., settle_currency_id: _Optional[str] = ..., total_share: _Optional[int] = ..., posi_qty_ratio_limit: _Optional[float] = ..., price_cage: _Optional[float] = ..., instrument_sub_type: _Optional[str] = ..., min_size: _Optional[int] = ..., max_size: _Optional[int] = ..., list_date: _Optional[str] = ..., delist_date: _Optional[str] = ..., settle_date: _Optional[str] = ...) -> None: ...
193
+ trade_date: str
194
+ external_info: str
195
+ pre_close_price: float
196
+ def __init__(self, instrument_id: _Optional[str] = ..., market: _Optional[str] = ..., security_id: _Optional[str] = ..., symbol: _Optional[str] = ..., instrument_type: _Optional[str] = ..., security_type: _Optional[str] = ..., lot_size: _Optional[int] = ..., price_tick: _Optional[float] = ..., contract_unit: _Optional[float] = ..., intraday_trading: _Optional[int] = ..., is_sub: _Optional[int] = ..., is_withdraw: _Optional[int] = ..., fund_etfpr_minnav: _Optional[int] = ..., withdraw_basket_volume: _Optional[int] = ..., long_posi_limit: _Optional[int] = ..., short_posi_limit: _Optional[int] = ..., intraday_open_limit: _Optional[int] = ..., max_up: _Optional[float] = ..., max_down: _Optional[float] = ..., underlying_instrument_id: _Optional[str] = ..., chain_codes: _Optional[_Iterable[str]] = ..., fund_etfpr_estcash: _Optional[float] = ..., wind_market: _Optional[str] = ..., comments: _Optional[str] = ..., is_replace_price: _Optional[int] = ..., replace_price: _Optional[float] = ..., quote_currency_id: _Optional[str] = ..., settle_currency_id: _Optional[str] = ..., total_share: _Optional[int] = ..., posi_qty_ratio_limit: _Optional[float] = ..., price_cage: _Optional[float] = ..., instrument_sub_type: _Optional[str] = ..., min_size: _Optional[int] = ..., max_size: _Optional[int] = ..., list_date: _Optional[str] = ..., delist_date: _Optional[str] = ..., settle_date: _Optional[str] = ..., trade_date: _Optional[str] = ..., external_info: _Optional[str] = ..., pre_close_price: _Optional[float] = ...) -> None: ...
191
197
 
192
198
  class AlgoParams(_message.Message):
193
199
  __slots__ = ("algo_name", "begin_time", "end_time", "duration_seconds", "interval_seconds", "order_price_level", "shift_price_tick", "price_limit", "max_active_order_nums", "price_cage", "custom_param", "expire_time")
@@ -386,7 +392,7 @@ class Trade(_message.Message):
386
392
  def __init__(self, order_id: _Optional[str] = ..., cl_order_id: _Optional[str] = ..., order_date: _Optional[int] = ..., order_time: _Optional[int] = ..., trade_id: _Optional[str] = ..., trade_time: _Optional[int] = ..., order_type: _Optional[int] = ..., side: _Optional[int] = ..., position_effect: _Optional[int] = ..., owner_type: _Optional[int] = ..., security_id: _Optional[str] = ..., market: _Optional[str] = ..., security_type: _Optional[str] = ..., instrument_id: _Optional[str] = ..., appl_id: _Optional[str] = ..., contract_unit: _Optional[float] = ..., strategy_id: _Optional[int] = ..., strategy_name: _Optional[str] = ..., account_id: _Optional[str] = ..., investor_id: _Optional[str] = ..., business_type: _Optional[str] = ..., last_qty: _Optional[int] = ..., last_px: _Optional[float] = ..., last_amt: _Optional[float] = ..., match_place: _Optional[int] = ..., algo_type: _Optional[int] = ..., order_source: _Optional[str] = ..., attachment: _Optional[str] = ..., user_id: _Optional[str] = ..., counter_cl_order_id: _Optional[str] = ..., counter_order_id: _Optional[str] = ..., symbol: _Optional[str] = ..., parent_order_id: _Optional[str] = ..., basket_id: _Optional[str] = ...) -> None: ...
387
393
 
388
394
  class Fund(_message.Message):
389
- __slots__ = ("account_id", "investor_id", "currency_id", "sod", "balance", "frozen", "available", "intraday", "trans_in", "trans_out", "version")
395
+ __slots__ = ("account_id", "investor_id", "currency_id", "sod", "balance", "frozen", "available", "intraday", "trans_in", "trans_out", "version", "long_market_value", "short_market_value", "market_value")
390
396
  ACCOUNT_ID_FIELD_NUMBER: _ClassVar[int]
391
397
  INVESTOR_ID_FIELD_NUMBER: _ClassVar[int]
392
398
  CURRENCY_ID_FIELD_NUMBER: _ClassVar[int]
@@ -398,6 +404,9 @@ class Fund(_message.Message):
398
404
  TRANS_IN_FIELD_NUMBER: _ClassVar[int]
399
405
  TRANS_OUT_FIELD_NUMBER: _ClassVar[int]
400
406
  VERSION_FIELD_NUMBER: _ClassVar[int]
407
+ LONG_MARKET_VALUE_FIELD_NUMBER: _ClassVar[int]
408
+ SHORT_MARKET_VALUE_FIELD_NUMBER: _ClassVar[int]
409
+ MARKET_VALUE_FIELD_NUMBER: _ClassVar[int]
401
410
  account_id: str
402
411
  investor_id: str
403
412
  currency_id: str
@@ -409,7 +418,10 @@ class Fund(_message.Message):
409
418
  trans_in: float
410
419
  trans_out: float
411
420
  version: int
412
- def __init__(self, account_id: _Optional[str] = ..., investor_id: _Optional[str] = ..., currency_id: _Optional[str] = ..., sod: _Optional[float] = ..., balance: _Optional[float] = ..., frozen: _Optional[float] = ..., available: _Optional[float] = ..., intraday: _Optional[float] = ..., trans_in: _Optional[float] = ..., trans_out: _Optional[float] = ..., version: _Optional[int] = ...) -> None: ...
421
+ long_market_value: float
422
+ short_market_value: float
423
+ market_value: float
424
+ def __init__(self, account_id: _Optional[str] = ..., investor_id: _Optional[str] = ..., currency_id: _Optional[str] = ..., sod: _Optional[float] = ..., balance: _Optional[float] = ..., frozen: _Optional[float] = ..., available: _Optional[float] = ..., intraday: _Optional[float] = ..., trans_in: _Optional[float] = ..., trans_out: _Optional[float] = ..., version: _Optional[int] = ..., long_market_value: _Optional[float] = ..., short_market_value: _Optional[float] = ..., market_value: _Optional[float] = ...) -> None: ...
413
425
 
414
426
  class Position(_message.Message):
415
427
  __slots__ = ("account_id", "investor_id", "market", "security_id", "security_type", "symbol", "posi_side", "instrument_id", "sod", "balance", "available", "frozen", "buy_in", "sell_out", "trans_in", "trans_out", "trans_avl", "apply_avl", "cost_price", "realized_pnl", "version", "cost_amt", "intraday_trading", "buy_in_nodeal")
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: datahub_binary
3
- Version: 1.9.0
3
+ Version: 1.9.2
4
4
  Summary: A comprehensive Python library for data processing, integration, and management.
5
5
  Requires-Python: <3.13,>=3.10
6
6
  Description-Content-Type: text/markdown
@@ -1,4 +1,4 @@
1
- datahub.cp312-win_amd64.pyd,sha256=-m95udxX4_3X65OH2gr-rlYKEJEQM5ZyLmmR9-dDal4,1893376
1
+ datahub.cp312-win_amd64.pyd,sha256=-vggRQU9JvZgGMCQp9ofLEcXNv9ayp0LSsfJy7eMJv8,1893376
2
2
  datahub.pyi,sha256=biltT_CgztnMyL9mbp332i5vT7LUMws0bN6fdQ3WYH4,1555
3
3
  datahub/__init__.pyi,sha256=hX8D9Qd6uPjZiUBd6rIq7Llkt_H4l_RvRXsws3sdYbI,630
4
4
  datahub/datacache.pyi,sha256=Z2b3ktYv5t2y9Z1yXn0axbdoV06-GhjJhEIl_Ms-FjU,5044
@@ -11,7 +11,7 @@ datahub/dbo/redis_stream.pyi,sha256=geVI1BoTHRlxodS44MquM-FY_aJt27eDqmAKf2a4PyM,
11
11
  datahub/dbo/sr.pyi,sha256=WWslzbQ11sasBqORbba3U5IZsAYWCiG4jeZK_f5-FZg,28579
12
12
  datahub/protos/client_msg.pyi,sha256=ftmkInjCGv1DEt477f5dLmRuFdVzrJ40jbOFGr3ZrZU,4063
13
13
  datahub/protos/client_pb2.pyi,sha256=DCbERSx2ZKHyGn_0ClE_lBScMWi6RBqjCExpIuIq8ww,229745
14
- datahub/protos/common_pb2.pyi,sha256=KCzIIakHr0iViKFNFcK1ZotkqcQuZ9_XTNIfvyvcSbM,32839
14
+ datahub/protos/common_pb2.pyi,sha256=0xUOqWzJ8m_pOQhFEosdwljqZWRaVYz0-H_qmqAOmHs,33627
15
15
  datahub/protos/management_pb2.pyi,sha256=DtHNxR31C1T4HTUWT7KSsFPMvHiq37u_3G3aO__McA8,23183
16
16
  datahub/protos/position_pb2.pyi,sha256=6IhKEhVRSNfS3zPUI5X9iOVRpBRDSOAi2HsH3ls4jbw,32684
17
17
  datahub/protos/query_pb2.pyi,sha256=V6-yht8zbiCm02e7MTb1Ag_afoMnBFX1YsIETdom87I,15945
@@ -25,7 +25,7 @@ datahub/utils/sftp.pyi,sha256=w8S-cxJWMeWJ6--RjT95qVgng_IhwPImiyoqdCpOCQI,2107
25
25
  datahub/utils/monitor/__init__.pyi,sha256=EOwgf8CbJ4g3iUAaFoR6O-mYemJ9xjP42zlBj2KeA9c,76
26
26
  datahub/utils/monitor/base.pyi,sha256=n1dKYK73JJ_7QPkCWFc-6Aj_a16j2z_VBaQ9zkN9A3E,310
27
27
  datahub/utils/monitor/feishu.pyi,sha256=GgvJXYeX3cPOQjqpV0GJUr_Ri1_cZe2-viRBkpe6O_g,402
28
- datahub_binary-1.9.0.dist-info/METADATA,sha256=7LTiWCLBvbrrD71pYdd-OCDIEpuaZL2WujBUo3hLfH8,7903
29
- datahub_binary-1.9.0.dist-info/WHEEL,sha256=mktjIo72eqyqXY-lxdbITmUE47ZU2O9WYzyv0PnFKrU,96
30
- datahub_binary-1.9.0.dist-info/top_level.txt,sha256=J0rzqYfZghMgpObWaPGhQtV88I-KXrgArDvi_ddf6ZA,8
31
- datahub_binary-1.9.0.dist-info/RECORD,,
28
+ datahub_binary-1.9.2.dist-info/METADATA,sha256=sNpDjr_oy6TEg4XR4W1GJzT2Sf0f8MihlVKoDLpcy5g,7903
29
+ datahub_binary-1.9.2.dist-info/WHEEL,sha256=mktjIo72eqyqXY-lxdbITmUE47ZU2O9WYzyv0PnFKrU,96
30
+ datahub_binary-1.9.2.dist-info/top_level.txt,sha256=J0rzqYfZghMgpObWaPGhQtV88I-KXrgArDvi_ddf6ZA,8
31
+ datahub_binary-1.9.2.dist-info/RECORD,,