btgsolutions-dataservices-python-client 4.2.1__tar.gz → 4.3.0__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.
Files changed (49) hide show
  1. {btgsolutions_dataservices_python_client-4.2.1/btgsolutions_dataservices_python_client.egg-info → btgsolutions_dataservices_python_client-4.3.0}/PKG-INFO +1 -1
  2. {btgsolutions_dataservices_python_client-4.2.1 → btgsolutions_dataservices_python_client-4.3.0}/btgsolutions_dataservices/__init__.py +1 -1
  3. {btgsolutions_dataservices_python_client-4.2.1 → btgsolutions_dataservices_python_client-4.3.0}/btgsolutions_dataservices/rest/public_sources.py +5 -2
  4. {btgsolutions_dataservices_python_client-4.2.1 → btgsolutions_dataservices_python_client-4.3.0/btgsolutions_dataservices_python_client.egg-info}/PKG-INFO +1 -1
  5. {btgsolutions_dataservices_python_client-4.2.1 → btgsolutions_dataservices_python_client-4.3.0}/LICENSE +0 -0
  6. {btgsolutions_dataservices_python_client-4.2.1 → btgsolutions_dataservices_python_client-4.3.0}/MANIFEST.in +0 -0
  7. {btgsolutions_dataservices_python_client-4.2.1 → btgsolutions_dataservices_python_client-4.3.0}/README.md +0 -0
  8. {btgsolutions_dataservices_python_client-4.2.1 → btgsolutions_dataservices_python_client-4.3.0}/btgsolutions_dataservices/config.py +0 -0
  9. {btgsolutions_dataservices_python_client-4.2.1 → btgsolutions_dataservices_python_client-4.3.0}/btgsolutions_dataservices/exceptions.py +0 -0
  10. {btgsolutions_dataservices_python_client-4.2.1 → btgsolutions_dataservices_python_client-4.3.0}/btgsolutions_dataservices/rest/__init__.py +0 -0
  11. {btgsolutions_dataservices_python_client-4.2.1 → btgsolutions_dataservices_python_client-4.3.0}/btgsolutions_dataservices/rest/alternative_data_catalog.py +0 -0
  12. {btgsolutions_dataservices_python_client-4.2.1 → btgsolutions_dataservices_python_client-4.3.0}/btgsolutions_dataservices/rest/alternative_data_companies.py +0 -0
  13. {btgsolutions_dataservices_python_client-4.2.1 → btgsolutions_dataservices_python_client-4.3.0}/btgsolutions_dataservices/rest/alternative_data_funds.py +0 -0
  14. {btgsolutions_dataservices_python_client-4.2.1 → btgsolutions_dataservices_python_client-4.3.0}/btgsolutions_dataservices/rest/alternative_data_macro_markets.py +0 -0
  15. {btgsolutions_dataservices_python_client-4.2.1 → btgsolutions_dataservices_python_client-4.3.0}/btgsolutions_dataservices/rest/alternative_data_metadata.py +0 -0
  16. {btgsolutions_dataservices_python_client-4.2.1 → btgsolutions_dataservices_python_client-4.3.0}/btgsolutions_dataservices/rest/alternative_data_ownership.py +0 -0
  17. {btgsolutions_dataservices_python_client-4.2.1 → btgsolutions_dataservices_python_client-4.3.0}/btgsolutions_dataservices/rest/alternative_data_people.py +0 -0
  18. {btgsolutions_dataservices_python_client-4.2.1 → btgsolutions_dataservices_python_client-4.3.0}/btgsolutions_dataservices/rest/authenticator.py +0 -0
  19. {btgsolutions_dataservices_python_client-4.2.1 → btgsolutions_dataservices_python_client-4.3.0}/btgsolutions_dataservices/rest/book_scope.py +0 -0
  20. {btgsolutions_dataservices_python_client-4.2.1 → btgsolutions_dataservices_python_client-4.3.0}/btgsolutions_dataservices/rest/broker_analytics.py +0 -0
  21. {btgsolutions_dataservices_python_client-4.2.1 → btgsolutions_dataservices_python_client-4.3.0}/btgsolutions_dataservices/rest/broker_reference.py +0 -0
  22. {btgsolutions_dataservices_python_client-4.2.1 → btgsolutions_dataservices_python_client-4.3.0}/btgsolutions_dataservices/rest/bulk_data.py +0 -0
  23. {btgsolutions_dataservices_python_client-4.2.1 → btgsolutions_dataservices_python_client-4.3.0}/btgsolutions_dataservices/rest/company_data.py +0 -0
  24. {btgsolutions_dataservices_python_client-4.2.1 → btgsolutions_dataservices_python_client-4.3.0}/btgsolutions_dataservices/rest/corporate_events.py +0 -0
  25. {btgsolutions_dataservices_python_client-4.2.1 → btgsolutions_dataservices_python_client-4.3.0}/btgsolutions_dataservices/rest/dataservices_catalog.py +0 -0
  26. {btgsolutions_dataservices_python_client-4.2.1 → btgsolutions_dataservices_python_client-4.3.0}/btgsolutions_dataservices/rest/hfn.py +0 -0
  27. {btgsolutions_dataservices_python_client-4.2.1 → btgsolutions_dataservices_python_client-4.3.0}/btgsolutions_dataservices/rest/historical_candles.py +0 -0
  28. {btgsolutions_dataservices_python_client-4.2.1 → btgsolutions_dataservices_python_client-4.3.0}/btgsolutions_dataservices/rest/historical_candles_crypto.py +0 -0
  29. {btgsolutions_dataservices_python_client-4.2.1 → btgsolutions_dataservices_python_client-4.3.0}/btgsolutions_dataservices/rest/intraday_candles.py +0 -0
  30. {btgsolutions_dataservices_python_client-4.2.1 → btgsolutions_dataservices_python_client-4.3.0}/btgsolutions_dataservices/rest/intraday_tick_data.py +0 -0
  31. {btgsolutions_dataservices_python_client-4.2.1 → btgsolutions_dataservices_python_client-4.3.0}/btgsolutions_dataservices/rest/quotes.py +0 -0
  32. {btgsolutions_dataservices_python_client-4.2.1 → btgsolutions_dataservices_python_client-4.3.0}/btgsolutions_dataservices/rest/reference_data.py +0 -0
  33. {btgsolutions_dataservices_python_client-4.2.1 → btgsolutions_dataservices_python_client-4.3.0}/btgsolutions_dataservices/rest/stock_loan.py +0 -0
  34. {btgsolutions_dataservices_python_client-4.2.1 → btgsolutions_dataservices_python_client-4.3.0}/btgsolutions_dataservices/rest/ticker_last_event.py +0 -0
  35. {btgsolutions_dataservices_python_client-4.2.1 → btgsolutions_dataservices_python_client-4.3.0}/btgsolutions_dataservices/rest/ticker_last_event_polling.py +0 -0
  36. {btgsolutions_dataservices_python_client-4.2.1 → btgsolutions_dataservices_python_client-4.3.0}/btgsolutions_dataservices/websocket/__init__.py +0 -0
  37. {btgsolutions_dataservices_python_client-4.2.1 → btgsolutions_dataservices_python_client-4.3.0}/btgsolutions_dataservices/websocket/broker_analytics.py +0 -0
  38. {btgsolutions_dataservices_python_client-4.2.1 → btgsolutions_dataservices_python_client-4.3.0}/btgsolutions_dataservices/websocket/hfn_websocket_client.py +0 -0
  39. {btgsolutions_dataservices_python_client-4.2.1 → btgsolutions_dataservices_python_client-4.3.0}/btgsolutions_dataservices/websocket/market_data_feed.py +0 -0
  40. {btgsolutions_dataservices_python_client-4.2.1 → btgsolutions_dataservices_python_client-4.3.0}/btgsolutions_dataservices/websocket/market_data_websocket_client.py +0 -0
  41. {btgsolutions_dataservices_python_client-4.2.1 → btgsolutions_dataservices_python_client-4.3.0}/btgsolutions_dataservices/websocket/websocket_default_functions.py +0 -0
  42. {btgsolutions_dataservices_python_client-4.2.1 → btgsolutions_dataservices_python_client-4.3.0}/btgsolutions_dataservices_python_client.egg-info/SOURCES.txt +0 -0
  43. {btgsolutions_dataservices_python_client-4.2.1 → btgsolutions_dataservices_python_client-4.3.0}/btgsolutions_dataservices_python_client.egg-info/dependency_links.txt +0 -0
  44. {btgsolutions_dataservices_python_client-4.2.1 → btgsolutions_dataservices_python_client-4.3.0}/btgsolutions_dataservices_python_client.egg-info/requires.txt +0 -0
  45. {btgsolutions_dataservices_python_client-4.2.1 → btgsolutions_dataservices_python_client-4.3.0}/btgsolutions_dataservices_python_client.egg-info/top_level.txt +0 -0
  46. {btgsolutions_dataservices_python_client-4.2.1 → btgsolutions_dataservices_python_client-4.3.0}/pyproject.toml +0 -0
  47. {btgsolutions_dataservices_python_client-4.2.1 → btgsolutions_dataservices_python_client-4.3.0}/requirements.txt +0 -0
  48. {btgsolutions_dataservices_python_client-4.2.1 → btgsolutions_dataservices_python_client-4.3.0}/setup.cfg +0 -0
  49. {btgsolutions_dataservices_python_client-4.2.1 → btgsolutions_dataservices_python_client-4.3.0}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: btgsolutions_dataservices_python_client
3
- Version: 4.2.1
3
+ Version: 4.3.0
4
4
  Summary: Python package containing several classes and data for extracting and manipulating market and trading data.
5
5
  Home-page: https://github.com/BTG-Pactual-Solutions/btgsolutions-dataservices-python-client
6
6
  Author: BTG Solutions Data Services powered by BTG Pactual Solutions
@@ -1,4 +1,4 @@
1
- __version__ = "4.2.1"
1
+ __version__ = "4.3.0"
2
2
 
3
3
  from .websocket import *
4
4
  from .rest import *
@@ -80,7 +80,7 @@ class PublicSources:
80
80
  return pd.DataFrame(response.json())
81
81
  self._raise_error(response)
82
82
 
83
- def get_share_repurchase(self, start_date:str, end_date:str, asset:Optional[str]=None, raw_data:bool=False):
83
+ def get_share_repurchase(self, start_date:str, end_date:str, asset:Optional[str]=None, date_field:Optional[str]=None, raw_data:bool=False):
84
84
 
85
85
  """
86
86
  This method returns a list of share repurchase transactions filtered by period (reference_date) and/or asset.
@@ -99,9 +99,12 @@ class PublicSources:
99
99
  raw_data: bool
100
100
  If false, returns data in a dataframe. If true, returns raw data.
101
101
  Field is not required. Default: False.
102
+ date_field: str
103
+ Specific data field to filter.
104
+ Field is not required. Example: "delivery_date". Default: None.
102
105
  """
103
106
 
104
- url = f"{url_api_v1}/public-sources/share-repurchase?start_date={start_date}&end_date={end_date}" + (f"&asset={asset}" if asset else "")
107
+ url = f"{url_api_v1}/public-sources/share-repurchase?start_date={start_date}&end_date={end_date}" + (f"&asset={asset}" if asset else "") + (f"&date_field={date_field}" if date_field else "")
105
108
 
106
109
  response = requests.request("GET", url, headers=self._headers)
107
110
  if response.status_code == 200:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: btgsolutions_dataservices_python_client
3
- Version: 4.2.1
3
+ Version: 4.3.0
4
4
  Summary: Python package containing several classes and data for extracting and manipulating market and trading data.
5
5
  Home-page: https://github.com/BTG-Pactual-Solutions/btgsolutions-dataservices-python-client
6
6
  Author: BTG Solutions Data Services powered by BTG Pactual Solutions