datahub_binary 1.0.7__cp312-cp312-win_amd64.whl → 1.1.1__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.
- datahub/protos/client_pb2.pyi +57 -18
- datahub.cp312-win_amd64.pyd +0 -0
- {datahub_binary-1.0.7.dist-info → datahub_binary-1.1.1.dist-info}/METADATA +1 -1
- {datahub_binary-1.0.7.dist-info → datahub_binary-1.1.1.dist-info}/RECORD +6 -6
- {datahub_binary-1.0.7.dist-info → datahub_binary-1.1.1.dist-info}/WHEEL +1 -1
- {datahub_binary-1.0.7.dist-info → datahub_binary-1.1.1.dist-info}/top_level.txt +0 -0
datahub/protos/client_pb2.pyi
CHANGED
@@ -7,6 +7,15 @@ from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
7
7
|
|
8
8
|
DESCRIPTOR: _descriptor.FileDescriptor
|
9
9
|
|
10
|
+
class QuoteType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
11
|
+
__slots__ = ()
|
12
|
+
MD_SNAPSHOT: _ClassVar[QuoteType]
|
13
|
+
SIGNAL_SNAPSHOT: _ClassVar[QuoteType]
|
14
|
+
TICK: _ClassVar[QuoteType]
|
15
|
+
ETF_SNAPSHOT: _ClassVar[QuoteType]
|
16
|
+
ETF_TICK: _ClassVar[QuoteType]
|
17
|
+
PREDICTOR_MATRIX: _ClassVar[QuoteType]
|
18
|
+
|
10
19
|
class PosType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
11
20
|
__slots__ = ()
|
12
21
|
kPosTypeUndefined: _ClassVar[PosType]
|
@@ -34,6 +43,12 @@ class PosAccountType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
34
43
|
__slots__ = ()
|
35
44
|
kSec: _ClassVar[PosAccountType]
|
36
45
|
kCash: _ClassVar[PosAccountType]
|
46
|
+
MD_SNAPSHOT: QuoteType
|
47
|
+
SIGNAL_SNAPSHOT: QuoteType
|
48
|
+
TICK: QuoteType
|
49
|
+
ETF_SNAPSHOT: QuoteType
|
50
|
+
ETF_TICK: QuoteType
|
51
|
+
PREDICTOR_MATRIX: QuoteType
|
37
52
|
kPosTypeUndefined: PosType
|
38
53
|
kPosTypeSod: PosType
|
39
54
|
kPosTypeEod: PosType
|
@@ -338,24 +353,8 @@ class SubscribeReq(_message.Message):
|
|
338
353
|
__slots__ = ()
|
339
354
|
SUBSCRIBE: _ClassVar[SubscribeReq.SubscribeType]
|
340
355
|
UNSUBSCRIBE: _ClassVar[SubscribeReq.SubscribeType]
|
341
|
-
REQ: _ClassVar[SubscribeReq.SubscribeType]
|
342
356
|
SUBSCRIBE: SubscribeReq.SubscribeType
|
343
357
|
UNSUBSCRIBE: SubscribeReq.SubscribeType
|
344
|
-
REQ: SubscribeReq.SubscribeType
|
345
|
-
class QuoteType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
346
|
-
__slots__ = ()
|
347
|
-
MD_SNAPSHOT: _ClassVar[SubscribeReq.QuoteType]
|
348
|
-
SIGNAL_SNAPSHOT: _ClassVar[SubscribeReq.QuoteType]
|
349
|
-
TICK: _ClassVar[SubscribeReq.QuoteType]
|
350
|
-
ETF_SNAPSHOT: _ClassVar[SubscribeReq.QuoteType]
|
351
|
-
ETF_TICK: _ClassVar[SubscribeReq.QuoteType]
|
352
|
-
PREDICTOR_MATRIX: _ClassVar[SubscribeReq.QuoteType]
|
353
|
-
MD_SNAPSHOT: SubscribeReq.QuoteType
|
354
|
-
SIGNAL_SNAPSHOT: SubscribeReq.QuoteType
|
355
|
-
TICK: SubscribeReq.QuoteType
|
356
|
-
ETF_SNAPSHOT: SubscribeReq.QuoteType
|
357
|
-
ETF_TICK: SubscribeReq.QuoteType
|
358
|
-
PREDICTOR_MATRIX: SubscribeReq.QuoteType
|
359
358
|
MSG_TYPE_FIELD_NUMBER: _ClassVar[int]
|
360
359
|
SUB_TYPE_FIELD_NUMBER: _ClassVar[int]
|
361
360
|
QUOTE_TYPE_FIELD_NUMBER: _ClassVar[int]
|
@@ -364,11 +363,11 @@ class SubscribeReq(_message.Message):
|
|
364
363
|
LAST_TIMESTAMP_FIELD_NUMBER: _ClassVar[int]
|
365
364
|
msg_type: int
|
366
365
|
sub_type: SubscribeReq.SubscribeType
|
367
|
-
quote_type:
|
366
|
+
quote_type: QuoteType
|
368
367
|
instrument_id: str
|
369
368
|
request_id: str
|
370
369
|
last_timestamp: int
|
371
|
-
def __init__(self, msg_type: _Optional[int] = ..., sub_type: _Optional[_Union[SubscribeReq.SubscribeType, str]] = ..., quote_type: _Optional[_Union[
|
370
|
+
def __init__(self, msg_type: _Optional[int] = ..., sub_type: _Optional[_Union[SubscribeReq.SubscribeType, str]] = ..., quote_type: _Optional[_Union[QuoteType, str]] = ..., instrument_id: _Optional[str] = ..., request_id: _Optional[str] = ..., last_timestamp: _Optional[int] = ...) -> None: ...
|
372
371
|
|
373
372
|
class SubscribeRsp(_message.Message):
|
374
373
|
__slots__ = ("msg_type", "is_succ", "error_msg", "last_timestamp", "request_id")
|
@@ -384,6 +383,46 @@ class SubscribeRsp(_message.Message):
|
|
384
383
|
request_id: str
|
385
384
|
def __init__(self, msg_type: _Optional[int] = ..., is_succ: bool = ..., error_msg: _Optional[str] = ..., last_timestamp: _Optional[int] = ..., request_id: _Optional[str] = ...) -> None: ...
|
386
385
|
|
386
|
+
class QryQuoteReq(_message.Message):
|
387
|
+
__slots__ = ("msg_type", "quote_type", "instrument_id", "request_id", "last_timestamp")
|
388
|
+
MSG_TYPE_FIELD_NUMBER: _ClassVar[int]
|
389
|
+
QUOTE_TYPE_FIELD_NUMBER: _ClassVar[int]
|
390
|
+
INSTRUMENT_ID_FIELD_NUMBER: _ClassVar[int]
|
391
|
+
REQUEST_ID_FIELD_NUMBER: _ClassVar[int]
|
392
|
+
LAST_TIMESTAMP_FIELD_NUMBER: _ClassVar[int]
|
393
|
+
msg_type: int
|
394
|
+
quote_type: QuoteType
|
395
|
+
instrument_id: str
|
396
|
+
request_id: str
|
397
|
+
last_timestamp: int
|
398
|
+
def __init__(self, msg_type: _Optional[int] = ..., quote_type: _Optional[_Union[QuoteType, str]] = ..., instrument_id: _Optional[str] = ..., request_id: _Optional[str] = ..., last_timestamp: _Optional[int] = ...) -> None: ...
|
399
|
+
|
400
|
+
class QryQuoteRsp(_message.Message):
|
401
|
+
__slots__ = ("msg_type", "is_succ", "error_msg", "last_timestamp", "request_id", "is_last", "md_snapshot", "signal_snapshot", "etf_snapshot", "etf_tick", "bar_matrix")
|
402
|
+
MSG_TYPE_FIELD_NUMBER: _ClassVar[int]
|
403
|
+
IS_SUCC_FIELD_NUMBER: _ClassVar[int]
|
404
|
+
ERROR_MSG_FIELD_NUMBER: _ClassVar[int]
|
405
|
+
LAST_TIMESTAMP_FIELD_NUMBER: _ClassVar[int]
|
406
|
+
REQUEST_ID_FIELD_NUMBER: _ClassVar[int]
|
407
|
+
IS_LAST_FIELD_NUMBER: _ClassVar[int]
|
408
|
+
MD_SNAPSHOT_FIELD_NUMBER: _ClassVar[int]
|
409
|
+
SIGNAL_SNAPSHOT_FIELD_NUMBER: _ClassVar[int]
|
410
|
+
ETF_SNAPSHOT_FIELD_NUMBER: _ClassVar[int]
|
411
|
+
ETF_TICK_FIELD_NUMBER: _ClassVar[int]
|
412
|
+
BAR_MATRIX_FIELD_NUMBER: _ClassVar[int]
|
413
|
+
msg_type: int
|
414
|
+
is_succ: bool
|
415
|
+
error_msg: str
|
416
|
+
last_timestamp: int
|
417
|
+
request_id: str
|
418
|
+
is_last: bool
|
419
|
+
md_snapshot: _containers.RepeatedCompositeFieldContainer[MDSnapshot]
|
420
|
+
signal_snapshot: _containers.RepeatedCompositeFieldContainer[SignalSnapshot]
|
421
|
+
etf_snapshot: _containers.RepeatedCompositeFieldContainer[ETFQuoteSnapshot]
|
422
|
+
etf_tick: _containers.RepeatedCompositeFieldContainer[ETFQuoteTick]
|
423
|
+
bar_matrix: _containers.RepeatedCompositeFieldContainer[BarMatrix]
|
424
|
+
def __init__(self, msg_type: _Optional[int] = ..., is_succ: bool = ..., error_msg: _Optional[str] = ..., last_timestamp: _Optional[int] = ..., request_id: _Optional[str] = ..., is_last: bool = ..., md_snapshot: _Optional[_Iterable[_Union[MDSnapshot, _Mapping]]] = ..., signal_snapshot: _Optional[_Iterable[_Union[SignalSnapshot, _Mapping]]] = ..., etf_snapshot: _Optional[_Iterable[_Union[ETFQuoteSnapshot, _Mapping]]] = ..., etf_tick: _Optional[_Iterable[_Union[ETFQuoteTick, _Mapping]]] = ..., bar_matrix: _Optional[_Iterable[_Union[BarMatrix, _Mapping]]] = ...) -> None: ...
|
425
|
+
|
387
426
|
class StrategyControlReq(_message.Message):
|
388
427
|
__slots__ = ("msg_type", "strategy_id", "strategy_name", "control_type", "operate_type", "last_timestamp", "request_id")
|
389
428
|
class ControlType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
datahub.cp312-win_amd64.pyd
CHANGED
Binary file
|
@@ -1,6 +1,6 @@
|
|
1
|
-
datahub.cp312-win_amd64.pyd,sha256=
|
1
|
+
datahub.cp312-win_amd64.pyd,sha256=57InE_yqn556SHqR_kIf0RwQr52L24MbDWzfVByfd9U,1666048
|
2
2
|
datahub.pyi,sha256=8HXrC_9uuH03DtGCJIlr4-jb33B9rgHhs9ZZ4Q4li4A,1483
|
3
|
-
datahub/protos/client_pb2.pyi,sha256=
|
3
|
+
datahub/protos/client_pb2.pyi,sha256=uMugU0ooM5KhwMtLy1kLnQdK5GpCjMBTHSAnCBnpSsk,210416
|
4
4
|
datahub/protos/common_pb2.pyi,sha256=KCzIIakHr0iViKFNFcK1ZotkqcQuZ9_XTNIfvyvcSbM,32839
|
5
5
|
datahub/protos/management_pb2.pyi,sha256=DtHNxR31C1T4HTUWT7KSsFPMvHiq37u_3G3aO__McA8,23183
|
6
6
|
datahub/protos/position_pb2.pyi,sha256=wSZhWzGyKValoReHf1B8SYCJdxLOHFmfn8NWfQUIHsI,20169
|
@@ -10,7 +10,7 @@ datahub/protos/signal_pb2.pyi,sha256=HJxCtrEOlc1cBtH-ywFRvKItT0IiLyQVb0jzdkRF6mY
|
|
10
10
|
datahub/protos/strategy_pb2.pyi,sha256=JmRoiuRdyE_1m6qQxxBMAvLp2OngDSHxTYivkcZQ2PU,32767
|
11
11
|
datahub/protos/trade_pb2.pyi,sha256=YLZFMLEMR3q1fSQxgyR81BsVvYngNQPbKPKvLA7ktjs,49810
|
12
12
|
datahub.build/.gitignore,sha256=aEiIwOuxfzdCmLZe4oB1JsBmCUxwG8x-u-HBCV9JT8E,1
|
13
|
-
datahub_binary-1.
|
14
|
-
datahub_binary-1.
|
15
|
-
datahub_binary-1.
|
16
|
-
datahub_binary-1.
|
13
|
+
datahub_binary-1.1.1.dist-info/METADATA,sha256=Lh1XmONM0tHQcFvzhqcDuCNjmEiPwvfNGigYMPfT_EA,806
|
14
|
+
datahub_binary-1.1.1.dist-info/WHEEL,sha256=SU2_HBufUwluHzNLWf6ucTrUi8P63d1DtFFyF9d3EYc,96
|
15
|
+
datahub_binary-1.1.1.dist-info/top_level.txt,sha256=J0rzqYfZghMgpObWaPGhQtV88I-KXrgArDvi_ddf6ZA,8
|
16
|
+
datahub_binary-1.1.1.dist-info/RECORD,,
|
File without changes
|