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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: reportify-sdk
3
- Version: 0.2.5
3
+ Version: 0.2.6
4
4
  Summary: Python SDK for Reportify API - Financial data and document search
5
5
  Author-email: Reportify <support@reportify.cn>
6
6
  License-Expression: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "reportify-sdk"
7
- version = "0.2.5"
7
+ version = "0.2.6"
8
8
  description = "Python SDK for Reportify API - Financial data and document search"
9
9
  readme = "README.md"
10
10
  license = "MIT"
@@ -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 index_funds(self, symbol: str) -> pd.DataFrame:
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.index_funds("000300")
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.index_funds("000016")
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)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: reportify-sdk
3
- Version: 0.2.5
3
+ Version: 0.2.6
4
4
  Summary: Python SDK for Reportify API - Financial data and document search
5
5
  Author-email: Reportify <support@reportify.cn>
6
6
  License-Expression: MIT
File without changes
File without changes
File without changes