HedgeTech 0.0.0__py3-none-any.whl → 0.1.0__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.
- HedgeTech/Auth/__AuthAsyncClient.py +150 -0
- HedgeTech/Auth/__AuthSyncClient.py +153 -0
- HedgeTech/Auth/__init__.py +2 -0
- HedgeTech/DataEngine/__init__.py +4 -0
- HedgeTech/DataEngine/__tse_ifb/__AsyncClient.py +1588 -0
- HedgeTech/DataEngine/__tse_ifb/__SyncClient.py +1542 -0
- HedgeTech/DataEngine/__tse_ifb/__init__.py +2 -0
- HedgeTech/DataEngine/__tse_ifb/__io_types/__init__.py +39 -0
- HedgeTech/DataEngine/__tse_ifb/__io_types/__requests.py +47 -0
- HedgeTech/DataEngine/__tse_ifb/__io_types/__response.py +1921 -0
- {hedgetech-0.0.0.dist-info → hedgetech-0.1.0.dist-info}/METADATA +170 -8
- hedgetech-0.1.0.dist-info/RECORD +16 -0
- HedgeTech/__init__.py +0 -0
- hedgetech-0.0.0.dist-info/RECORD +0 -7
- {hedgetech-0.0.0.dist-info → hedgetech-0.1.0.dist-info}/WHEEL +0 -0
- {hedgetech-0.0.0.dist-info → hedgetech-0.1.0.dist-info}/licenses/LICENSE +0 -0
- {hedgetech-0.0.0.dist-info → hedgetech-0.1.0.dist-info}/licenses/NOTICE +0 -0
- {hedgetech-0.0.0.dist-info → hedgetech-0.1.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
from .__requests import (
|
|
2
|
+
SymbolNames,
|
|
3
|
+
SymbolIsins,
|
|
4
|
+
)
|
|
5
|
+
|
|
6
|
+
from .__response import(
|
|
7
|
+
SecuritiesAndFunds,
|
|
8
|
+
StockFutures,
|
|
9
|
+
StockOptions,
|
|
10
|
+
TreasuryBonds,
|
|
11
|
+
Instruments,
|
|
12
|
+
|
|
13
|
+
BestLimitResponse,
|
|
14
|
+
OrderBookResponse,
|
|
15
|
+
AggregateResponse,
|
|
16
|
+
Institutional_vs_IndividualItemResponse,
|
|
17
|
+
ContractInfoResponse,
|
|
18
|
+
FundInfoResponse,
|
|
19
|
+
OHLCVLast1mResponse,
|
|
20
|
+
OverviewResponse,
|
|
21
|
+
|
|
22
|
+
OHLCVResponse,
|
|
23
|
+
CorporateActionResponse,
|
|
24
|
+
|
|
25
|
+
BestLimit_WS_symbolIsin,
|
|
26
|
+
BestLimit_WS_symbolName,
|
|
27
|
+
OrderBook_WS_symbolIsin,
|
|
28
|
+
OrderBook_WS_symbolName,
|
|
29
|
+
Aggregate_WS_symbolIsin,
|
|
30
|
+
Aggregate_WS_symbolName,
|
|
31
|
+
institutional_vs_individual_WS_symbolIsin,
|
|
32
|
+
institutional_vs_individual_WS_symbolName,
|
|
33
|
+
ContractInfo_WS_symbolIsin,
|
|
34
|
+
ContractInfo_WS_symbolName,
|
|
35
|
+
FundInfo_WS_symbolIsin,
|
|
36
|
+
FundInfo_WS_symbolName,
|
|
37
|
+
OHLCV_WS_symbolIsin,
|
|
38
|
+
OHLCV_WS_symbolName,
|
|
39
|
+
)
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# ========================================|======================================== #
|
|
2
|
+
# Imports #
|
|
3
|
+
# ========================================|======================================== #
|
|
4
|
+
|
|
5
|
+
from typing import (
|
|
6
|
+
List,
|
|
7
|
+
TypedDict
|
|
8
|
+
)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
# ========================================|======================================== #
|
|
12
|
+
# Class Definitions #
|
|
13
|
+
# ========================================|======================================== #
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class SymbolNames(TypedDict):
|
|
17
|
+
"""
|
|
18
|
+
Represents a collection of instrument symbol names for batch API requests.
|
|
19
|
+
|
|
20
|
+
Attributes:
|
|
21
|
+
symbol_names (List[str]): A list of instrument symbol names (strings) to be queried.
|
|
22
|
+
|
|
23
|
+
Example:
|
|
24
|
+
>>> symbols: SymbolNames = {"symbol_names": ["ETF001", "FUT002", "STK003"]}
|
|
25
|
+
>>> symbols["symbol_names"][0]
|
|
26
|
+
'ETF001'
|
|
27
|
+
"""
|
|
28
|
+
symbol_names: List[str]
|
|
29
|
+
|
|
30
|
+
# +--------------------------------------------------------------------------------------+ #
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
class SymbolIsins(TypedDict):
|
|
34
|
+
"""
|
|
35
|
+
Represents a collection of instrument ISIN identifiers for batch API requests.
|
|
36
|
+
|
|
37
|
+
Attributes:
|
|
38
|
+
symbol_isins (List[str]): A list of instrument ISIN codes (strings) to be queried.
|
|
39
|
+
|
|
40
|
+
Example:
|
|
41
|
+
>>> isins: SymbolIsins = {"symbol_isins": ["IR0001234567", "IR0009876543"]}
|
|
42
|
+
>>> isins["symbol_isins"][1]
|
|
43
|
+
'IR0009876543'
|
|
44
|
+
"""
|
|
45
|
+
symbol_isins: List[str]
|
|
46
|
+
|
|
47
|
+
# +--------------------------------------------------------------------------------------+ #
|