reportify-sdk 0.2.5__tar.gz → 0.2.6__tar.gz
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.
- {reportify_sdk-0.2.5/reportify_sdk.egg-info → reportify_sdk-0.2.6}/PKG-INFO +1 -1
- {reportify_sdk-0.2.5 → reportify_sdk-0.2.6}/pyproject.toml +1 -1
- {reportify_sdk-0.2.5 → reportify_sdk-0.2.6}/reportify_sdk/stock.py +3 -3
- {reportify_sdk-0.2.5 → reportify_sdk-0.2.6/reportify_sdk.egg-info}/PKG-INFO +1 -1
- {reportify_sdk-0.2.5 → reportify_sdk-0.2.6}/LICENSE +0 -0
- {reportify_sdk-0.2.5 → reportify_sdk-0.2.6}/README.md +0 -0
- {reportify_sdk-0.2.5 → reportify_sdk-0.2.6}/reportify_sdk/__init__.py +0 -0
- {reportify_sdk-0.2.5 → reportify_sdk-0.2.6}/reportify_sdk/client.py +0 -0
- {reportify_sdk-0.2.5 → reportify_sdk-0.2.6}/reportify_sdk/docs.py +0 -0
- {reportify_sdk-0.2.5 → reportify_sdk-0.2.6}/reportify_sdk/exceptions.py +0 -0
- {reportify_sdk-0.2.5 → reportify_sdk-0.2.6}/reportify_sdk/kb.py +0 -0
- {reportify_sdk-0.2.5 → reportify_sdk-0.2.6}/reportify_sdk/quant.py +0 -0
- {reportify_sdk-0.2.5 → reportify_sdk-0.2.6}/reportify_sdk/timeline.py +0 -0
- {reportify_sdk-0.2.5 → reportify_sdk-0.2.6}/reportify_sdk.egg-info/SOURCES.txt +0 -0
- {reportify_sdk-0.2.5 → reportify_sdk-0.2.6}/reportify_sdk.egg-info/dependency_links.txt +0 -0
- {reportify_sdk-0.2.5 → reportify_sdk-0.2.6}/reportify_sdk.egg-info/requires.txt +0 -0
- {reportify_sdk-0.2.5 → reportify_sdk-0.2.6}/reportify_sdk.egg-info/top_level.txt +0 -0
- {reportify_sdk-0.2.5 → reportify_sdk-0.2.6}/setup.cfg +0 -0
|
@@ -454,7 +454,7 @@ class StockModule:
|
|
|
454
454
|
response = self._post("/v1/stock/index-constituents", json={"symbol": symbol})
|
|
455
455
|
return self._to_dataframe(response)
|
|
456
456
|
|
|
457
|
-
def
|
|
457
|
+
def index_tracking_funds(self, symbol: str) -> pd.DataFrame:
|
|
458
458
|
"""
|
|
459
459
|
Get tracking funds of an index
|
|
460
460
|
|
|
@@ -466,11 +466,11 @@ class StockModule:
|
|
|
466
466
|
|
|
467
467
|
Example:
|
|
468
468
|
>>> # Get CSI 300 tracking funds
|
|
469
|
-
>>> funds = client.stock.
|
|
469
|
+
>>> funds = client.stock.index_tracking_funds("000300")
|
|
470
470
|
>>> print(funds[["short_name", "name", "symbol"]])
|
|
471
471
|
|
|
472
472
|
>>> # Get SSE 50 tracking funds
|
|
473
|
-
>>> funds = client.stock.
|
|
473
|
+
>>> funds = client.stock.index_tracking_funds("000016")
|
|
474
474
|
"""
|
|
475
475
|
response = self._post("/v1/stock/index-tracking-funds", json={"symbol": symbol})
|
|
476
476
|
return self._to_dataframe(response)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|