datahub_binary 1.7.1__cp312-cp312-win_amd64.whl → 1.7.3__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/ats/client_sdk.pyi +4 -0
- datahub/datahub.pyi +1 -0
- datahub/dbo/sr.pyi +1 -0
- datahub.cp312-win_amd64.pyd +0 -0
- {datahub_binary-1.7.1.dist-info → datahub_binary-1.7.3.dist-info}/METADATA +1 -1
- {datahub_binary-1.7.1.dist-info → datahub_binary-1.7.3.dist-info}/RECORD +8 -8
- {datahub_binary-1.7.1.dist-info → datahub_binary-1.7.3.dist-info}/WHEEL +1 -1
- {datahub_binary-1.7.1.dist-info → datahub_binary-1.7.3.dist-info}/top_level.txt +0 -0
datahub/ats/client_sdk.pyi
CHANGED
|
@@ -71,7 +71,11 @@ class BaseStrategy:
|
|
|
71
71
|
def on_cancel_pending_confirm(self, order: client_msg.CancelPendingConfirm): ...
|
|
72
72
|
def on_cancel_reject(self, order: client_msg.CancelReject): ...
|
|
73
73
|
def on_qry_lock_record_rsp(self, rsp: client_msg.QryLockRecordRsp): ...
|
|
74
|
+
def on_lock_sbl_rsp(self, rsp: client_msg.LockSblRsp): ...
|
|
75
|
+
def on_qry_lock_position_rsp(self, rsp: client_msg.QryLockPositionRsp): ...
|
|
74
76
|
def calc(self) -> None: ...
|
|
77
|
+
def lock_sbl_req(self, instrument_id: str, sbl_id: str, lock_qty: int) -> str: ...
|
|
78
|
+
def qry_lock_position_req(self) -> None: ...
|
|
75
79
|
def qry_lock_record_req(self) -> None: ...
|
|
76
80
|
def proxy(self) -> None: ...
|
|
77
81
|
def run(self) -> None: ...
|
datahub/datahub.pyi
CHANGED
|
@@ -105,6 +105,7 @@ class DataHub:
|
|
|
105
105
|
def upsert_from_file(self, database: str, table: str, file_path: str): ...
|
|
106
106
|
def get_blacklist(self, blacklist_ids: Sequence[str], end_date: date = None) -> pl.DataFrame: ...
|
|
107
107
|
def get_sbl_list(self, brokers: Sequence[str] = (), sbl_ids: Sequence[str] = (), start_date: date | None = None, end_date: date | None = None) -> pl.DataFrame: ...
|
|
108
|
+
def get_index_weight(self, start_date: date, end_date: date, index_ids: Sequence[str] = (), instruments: Sequence[str] = ()) -> pl.DataFrame: ...
|
|
108
109
|
|
|
109
110
|
class Calendar:
|
|
110
111
|
def __init__(self, datahub: DataHub) -> None: ...
|
datahub/dbo/sr.pyi
CHANGED
|
@@ -53,6 +53,7 @@ class StarRocks(Database):
|
|
|
53
53
|
def get_resample_lob(self, resample_type: str, start_date: date, end_date: date, instruments: Sequence[str] = ()) -> pl.DataFrame: ...
|
|
54
54
|
def get_last_seq_snapshot(self, end_time: datetime, instruments: Sequence[str] = (), is_filter_limit: bool = False) -> pl.DataFrame: ...
|
|
55
55
|
def get_predictor_basket_series(self, start_date: date, end_date: date, predictors: Sequence[int] = (), instruments: Sequence[str] = ()) -> pl.DataFrame: ...
|
|
56
|
+
def get_index_weight(self, start_date: date, end_date: date, index_ids: Sequence[str] = (), instruments: Sequence[str] = ()) -> pl.DataFrame: ...
|
|
56
57
|
def get_loads(self, label: str) -> pl.DataFrame: ...
|
|
57
58
|
def stream_load(self, database: str, table: str, file_path: str): ...
|
|
58
59
|
def broker_load_parquet(self, database: str, table: str, fields: Sequence[str], file_path: str, timeout: int = 3600, label: str | None = None, is_sync: bool = False) -> str: ...
|
datahub.cp312-win_amd64.pyd
CHANGED
|
Binary file
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
datahub.cp312-win_amd64.pyd,sha256=
|
|
1
|
+
datahub.cp312-win_amd64.pyd,sha256=CL77oIVm6nIXfiEoow0RyoXEMfbYyzieuLiZcodfVKU,1844736
|
|
2
2
|
datahub.pyi,sha256=nmSoTvdNi_E6ZSrzqBmjDNQAAJB1o8lJQfsXNQvcLjM,1449
|
|
3
3
|
datahub/__init__.pyi,sha256=hX8D9Qd6uPjZiUBd6rIq7Llkt_H4l_RvRXsws3sdYbI,630
|
|
4
4
|
datahub/datacache.pyi,sha256=rVDkzr0nLn54RT6EkYMDBh41t788XfVFyL4XKTJ2eSM,3587
|
|
5
|
-
datahub/datahub.pyi,sha256=
|
|
5
|
+
datahub/datahub.pyi,sha256=vBISZrxMT6MzdBTLHya6OOGPgLlrRO1XNvOLc__OlyE,9567
|
|
6
6
|
datahub/setting.pyi,sha256=u6gYjjF6r1thSpp2XNMvg_1JUcqB64dRTkNoHlOoKUQ,889
|
|
7
|
-
datahub/ats/client_sdk.pyi,sha256=
|
|
7
|
+
datahub/ats/client_sdk.pyi,sha256=SU7f_2tOBAEScHhPXtYbGMEl2in5vsLpUvO9_RYTJuI,3794
|
|
8
8
|
datahub/dbo/database.pyi,sha256=O8Gp0Os3tzznLa6hdmCaXnq7Iw4xAAkW4YcjK0jUSUY,1024
|
|
9
9
|
datahub/dbo/pg.pyi,sha256=zSr5GAiPVwvqXSN6qctkUh1My7c2tMyGETJB0Ir1Uvo,871
|
|
10
10
|
datahub/dbo/redis_stream.pyi,sha256=B3DJ5GQ_gnGqaPAGwgHwvTAVubMz99mAaoS8EK_2VaQ,734
|
|
11
|
-
datahub/dbo/sr.pyi,sha256=
|
|
11
|
+
datahub/dbo/sr.pyi,sha256=gGpliAQSwdzSXQ9QWBIeFvHZz1ZXsV7uiuJQkLxJWjw,6370
|
|
12
12
|
datahub/protos/client_pb2.pyi,sha256=CZTEbNX3LduN31Ir1gNb4iK9GFEbP75kc4yeuAwg-dA,220830
|
|
13
13
|
datahub/protos/common_pb2.pyi,sha256=KCzIIakHr0iViKFNFcK1ZotkqcQuZ9_XTNIfvyvcSbM,32839
|
|
14
14
|
datahub/protos/management_pb2.pyi,sha256=DtHNxR31C1T4HTUWT7KSsFPMvHiq37u_3G3aO__McA8,23183
|
|
@@ -25,7 +25,7 @@ datahub/utils/monitor/__init__.pyi,sha256=EOwgf8CbJ4g3iUAaFoR6O-mYemJ9xjP42zlBj2
|
|
|
25
25
|
datahub/utils/monitor/base.pyi,sha256=n1dKYK73JJ_7QPkCWFc-6Aj_a16j2z_VBaQ9zkN9A3E,310
|
|
26
26
|
datahub/utils/monitor/feishu.pyi,sha256=GgvJXYeX3cPOQjqpV0GJUr_Ri1_cZe2-viRBkpe6O_g,402
|
|
27
27
|
datahub.build/.gitignore,sha256=aEiIwOuxfzdCmLZe4oB1JsBmCUxwG8x-u-HBCV9JT8E,1
|
|
28
|
-
datahub_binary-1.7.
|
|
29
|
-
datahub_binary-1.7.
|
|
30
|
-
datahub_binary-1.7.
|
|
31
|
-
datahub_binary-1.7.
|
|
28
|
+
datahub_binary-1.7.3.dist-info/METADATA,sha256=foAyKUavi8zBhz1vMTH4rUt6ui6qjB8RFGPJYJlx-PU,7842
|
|
29
|
+
datahub_binary-1.7.3.dist-info/WHEEL,sha256=HT5wMepVT3_fC8RyaY7h_bho8yBhlmmR1GN-7bjpAPw,97
|
|
30
|
+
datahub_binary-1.7.3.dist-info/top_level.txt,sha256=J0rzqYfZghMgpObWaPGhQtV88I-KXrgArDvi_ddf6ZA,8
|
|
31
|
+
datahub_binary-1.7.3.dist-info/RECORD,,
|
|
File without changes
|