datahub_binary 1.4.10__cp312-cp312-win_amd64.whl → 1.4.12__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/datahub.pyi +7 -5
- datahub.cp312-win_amd64.pyd +0 -0
- {datahub_binary-1.4.10.dist-info → datahub_binary-1.4.12.dist-info}/METADATA +1 -1
- {datahub_binary-1.4.10.dist-info → datahub_binary-1.4.12.dist-info}/RECORD +6 -6
- {datahub_binary-1.4.10.dist-info → datahub_binary-1.4.12.dist-info}/WHEEL +1 -1
- {datahub_binary-1.4.10.dist-info → datahub_binary-1.4.12.dist-info}/top_level.txt +0 -0
datahub/datahub.pyi
CHANGED
@@ -6,7 +6,6 @@ from .dbo.sr import StarRocks as StarRocks
|
|
6
6
|
from .protos.client_msg import BarMatrix as BarMatrix, MsgType as MsgType
|
7
7
|
from .setting import Setting as Setting
|
8
8
|
from .utils.logger import logger as logger
|
9
|
-
from _typeshed import Incomplete
|
10
9
|
from dataclasses import dataclass
|
11
10
|
from datetime import date, datetime, time
|
12
11
|
from pydantic import BaseModel
|
@@ -47,14 +46,14 @@ class RsTopic:
|
|
47
46
|
predictor: str
|
48
47
|
|
49
48
|
class DataHub:
|
50
|
-
setting:
|
49
|
+
setting: Setting
|
51
50
|
def __init__(self, setting: Setting) -> None: ...
|
52
51
|
@property
|
53
|
-
def calendar(self): ...
|
52
|
+
def calendar(self) -> Calendar: ...
|
54
53
|
@property
|
55
|
-
def starrocks(self): ...
|
54
|
+
def starrocks(self) -> StarRocks: ...
|
56
55
|
@property
|
57
|
-
def postgres(self): ...
|
56
|
+
def postgres(self) -> Postgres: ...
|
58
57
|
@property
|
59
58
|
def redis(self): ...
|
60
59
|
def post_task(self, task: CronTask) -> dict[str, Any]: ...
|
@@ -64,8 +63,10 @@ class DataHub:
|
|
64
63
|
def get_indicator_info(self, indicators: Sequence[str] = (), types: Sequence[str] = ()) -> pl.DataFrame: ...
|
65
64
|
def get_factor_info(self, factors: Sequence[str] = (), types: Sequence[str] = ()) -> pl.DataFrame: ...
|
66
65
|
def get_seq_factor_info(self, resample_type: str, factors: Sequence[str] = ()) -> pl.DataFrame: ...
|
66
|
+
def get_future_seq_factor_info(self, resample_type: str, factors: Sequence[str] = ()) -> pl.DataFrame: ...
|
67
67
|
def get_seq_y_info(self, resample_type: str, factors: Sequence[str] = ()) -> pl.DataFrame: ...
|
68
68
|
def get_seq_factor_stat(self, start_time: datetime, end_time: datetime, stat_type: str, factors: Sequence[str] = (), instruments: Sequence[str] = ()) -> pl.DataFrame: ...
|
69
|
+
def get_future_seq_factor_stat(self, start_time: datetime, end_time: datetime, stat_type: str, factors: Sequence[str] = (), instruments: Sequence[str] = ()) -> pl.DataFrame: ...
|
69
70
|
def get_seq_y_stat(self, start_time: datetime, end_time: datetime, stat_type: str, factors: Sequence[str] = (), instruments: Sequence[str] = ()) -> pl.DataFrame: ...
|
70
71
|
def get_indicator_data(self, start_time: datetime, end_time: datetime | None = None, indicators: Sequence[str] = (), instruments: Sequence[str] = (), types: Sequence[str] = ()) -> pl.DataFrame: ...
|
71
72
|
def get_instrument_list(self, trade_date: date, indicators: Sequence[str] = ()) -> Sequence[str]: ...
|
@@ -75,6 +76,7 @@ class DataHub:
|
|
75
76
|
def get_universe(self, trade_date: date, universe: str | None = None) -> pl.DataFrame: ...
|
76
77
|
def get_indicator_matrix(self, trade_time: datetime, indicators: Sequence[str], instrument_ids: Sequence[str], expire_days: int = 1) -> BarDataMatrix: ...
|
77
78
|
def get_seq_factor_data(self, start_time: datetime, end_time: datetime, factors: Sequence[str] = (), instruments: Sequence[str] = ()) -> pl.DataFrame: ...
|
79
|
+
def get_future_seq_factor_data(self, start_time: datetime, end_time: datetime, factors: Sequence[str] = (), instruments: Sequence[str] = ()) -> pl.DataFrame: ...
|
78
80
|
def get_indicator_matrix_list(self, start_date: date, end_date: date, indicators: Sequence[str], instrument_ids: Sequence[str], expire_days: int = 1) -> list[BarDataMatrix]: ...
|
79
81
|
def get_risk_factor_matrix(self, version: str, trade_time: datetime, factors: Sequence[str], instrument_ids: Sequence[str]) -> BarDataMatrix: ...
|
80
82
|
def read_indicator_matrix(self, start_time: datetime | None = None, topic: str = ..., block: int = 0) -> Iterator[BarDataMatrix]: ...
|
datahub.cp312-win_amd64.pyd
CHANGED
Binary file
|
@@ -1,8 +1,8 @@
|
|
1
|
-
datahub.cp312-win_amd64.pyd,sha256=
|
1
|
+
datahub.cp312-win_amd64.pyd,sha256=JGBfzi2Br1wYb2nuM29N0IFDpyrCw5Mmc0HsJ2QtMUQ,1818624
|
2
2
|
datahub.pyi,sha256=IXQ1dWxIq3itkkoYNJiPuRMWksWE1_4XVpjRYjy9tnQ,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=-Vog5xmJspXLudDbNp_zaCTSv43q8LG-QNDh0AeYq9o,9213
|
6
6
|
datahub/setting.pyi,sha256=u6gYjjF6r1thSpp2XNMvg_1JUcqB64dRTkNoHlOoKUQ,889
|
7
7
|
datahub/ats/client_sdk.pyi,sha256=wwYRrVlM_qnpGhUifS-xgBAwoUDgQgFAC6TkTq8CLX8,3263
|
8
8
|
datahub/dbo/database.pyi,sha256=O8Gp0Os3tzznLa6hdmCaXnq7Iw4xAAkW4YcjK0jUSUY,1024
|
@@ -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.4.
|
29
|
-
datahub_binary-1.4.
|
30
|
-
datahub_binary-1.4.
|
31
|
-
datahub_binary-1.4.
|
28
|
+
datahub_binary-1.4.12.dist-info/METADATA,sha256=H0ESKf4B4qWD87-H37Ath2zg1JtOtGMELQPp2xr5nk0,7841
|
29
|
+
datahub_binary-1.4.12.dist-info/WHEEL,sha256=tWCxmH9d_GUc87O5UyoepLtMKV1B60gTHo4Fs15C0qE,97
|
30
|
+
datahub_binary-1.4.12.dist-info/top_level.txt,sha256=J0rzqYfZghMgpObWaPGhQtV88I-KXrgArDvi_ddf6ZA,8
|
31
|
+
datahub_binary-1.4.12.dist-info/RECORD,,
|
File without changes
|