btgsolutions-dataservices-python-client 2.11.7__tar.gz → 2.11.8__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.
- {btgsolutions_dataservices_python_client-2.11.7/btgsolutions_dataservices_python_client.egg-info → btgsolutions_dataservices_python_client-2.11.8}/PKG-INFO +1 -1
- {btgsolutions_dataservices_python_client-2.11.7 → btgsolutions_dataservices_python_client-2.11.8}/btgsolutions_dataservices/websocket/market_data_feed.py +8 -0
- {btgsolutions_dataservices_python_client-2.11.7 → btgsolutions_dataservices_python_client-2.11.8/btgsolutions_dataservices_python_client.egg-info}/PKG-INFO +1 -1
- {btgsolutions_dataservices_python_client-2.11.7 → btgsolutions_dataservices_python_client-2.11.8}/setup.py +1 -1
- {btgsolutions_dataservices_python_client-2.11.7 → btgsolutions_dataservices_python_client-2.11.8}/LICENSE +0 -0
- {btgsolutions_dataservices_python_client-2.11.7 → btgsolutions_dataservices_python_client-2.11.8}/MANIFEST.in +0 -0
- {btgsolutions_dataservices_python_client-2.11.7 → btgsolutions_dataservices_python_client-2.11.8}/README.md +0 -0
- {btgsolutions_dataservices_python_client-2.11.7 → btgsolutions_dataservices_python_client-2.11.8}/btgsolutions_dataservices/__init__.py +0 -0
- {btgsolutions_dataservices_python_client-2.11.7 → btgsolutions_dataservices_python_client-2.11.8}/btgsolutions_dataservices/config.py +0 -0
- {btgsolutions_dataservices_python_client-2.11.7 → btgsolutions_dataservices_python_client-2.11.8}/btgsolutions_dataservices/exceptions.py +0 -0
- {btgsolutions_dataservices_python_client-2.11.7 → btgsolutions_dataservices_python_client-2.11.8}/btgsolutions_dataservices/rest/__init__.py +0 -0
- {btgsolutions_dataservices_python_client-2.11.7 → btgsolutions_dataservices_python_client-2.11.8}/btgsolutions_dataservices/rest/authenticator.py +0 -0
- {btgsolutions_dataservices_python_client-2.11.7 → btgsolutions_dataservices_python_client-2.11.8}/btgsolutions_dataservices/rest/bulk_data.py +0 -0
- {btgsolutions_dataservices_python_client-2.11.7 → btgsolutions_dataservices_python_client-2.11.8}/btgsolutions_dataservices/rest/company_data.py +0 -0
- {btgsolutions_dataservices_python_client-2.11.7 → btgsolutions_dataservices_python_client-2.11.8}/btgsolutions_dataservices/rest/corporate_events.py +0 -0
- {btgsolutions_dataservices_python_client-2.11.7 → btgsolutions_dataservices_python_client-2.11.8}/btgsolutions_dataservices/rest/hfn.py +0 -0
- {btgsolutions_dataservices_python_client-2.11.7 → btgsolutions_dataservices_python_client-2.11.8}/btgsolutions_dataservices/rest/historical_candles.py +0 -0
- {btgsolutions_dataservices_python_client-2.11.7 → btgsolutions_dataservices_python_client-2.11.8}/btgsolutions_dataservices/rest/intraday_candles.py +0 -0
- {btgsolutions_dataservices_python_client-2.11.7 → btgsolutions_dataservices_python_client-2.11.8}/btgsolutions_dataservices/rest/intraday_tick_data.py +0 -0
- {btgsolutions_dataservices_python_client-2.11.7 → btgsolutions_dataservices_python_client-2.11.8}/btgsolutions_dataservices/rest/public_sources.py +0 -0
- {btgsolutions_dataservices_python_client-2.11.7 → btgsolutions_dataservices_python_client-2.11.8}/btgsolutions_dataservices/rest/quotes.py +0 -0
- {btgsolutions_dataservices_python_client-2.11.7 → btgsolutions_dataservices_python_client-2.11.8}/btgsolutions_dataservices/rest/reference_data.py +0 -0
- {btgsolutions_dataservices_python_client-2.11.7 → btgsolutions_dataservices_python_client-2.11.8}/btgsolutions_dataservices/rest/ticker_last_event.py +0 -0
- {btgsolutions_dataservices_python_client-2.11.7 → btgsolutions_dataservices_python_client-2.11.8}/btgsolutions_dataservices/websocket/__init__.py +0 -0
- {btgsolutions_dataservices_python_client-2.11.7 → btgsolutions_dataservices_python_client-2.11.8}/btgsolutions_dataservices/websocket/hfn_websocket_client.py +0 -0
- {btgsolutions_dataservices_python_client-2.11.7 → btgsolutions_dataservices_python_client-2.11.8}/btgsolutions_dataservices/websocket/market_data_websocket_client.py +0 -0
- {btgsolutions_dataservices_python_client-2.11.7 → btgsolutions_dataservices_python_client-2.11.8}/btgsolutions_dataservices/websocket/websocket_default_functions.py +0 -0
- {btgsolutions_dataservices_python_client-2.11.7 → btgsolutions_dataservices_python_client-2.11.8}/btgsolutions_dataservices_python_client.egg-info/SOURCES.txt +0 -0
- {btgsolutions_dataservices_python_client-2.11.7 → btgsolutions_dataservices_python_client-2.11.8}/btgsolutions_dataservices_python_client.egg-info/dependency_links.txt +0 -0
- {btgsolutions_dataservices_python_client-2.11.7 → btgsolutions_dataservices_python_client-2.11.8}/btgsolutions_dataservices_python_client.egg-info/requires.txt +0 -0
- {btgsolutions_dataservices_python_client-2.11.7 → btgsolutions_dataservices_python_client-2.11.8}/btgsolutions_dataservices_python_client.egg-info/top_level.txt +0 -0
- {btgsolutions_dataservices_python_client-2.11.7 → btgsolutions_dataservices_python_client-2.11.8}/pyproject.toml +0 -0
- {btgsolutions_dataservices_python_client-2.11.7 → btgsolutions_dataservices_python_client-2.11.8}/requirements.txt +0 -0
- {btgsolutions_dataservices_python_client-2.11.7 → btgsolutions_dataservices_python_client-2.11.8}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: btgsolutions-dataservices-python-client
|
|
3
|
-
Version: 2.11.
|
|
3
|
+
Version: 2.11.8
|
|
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
|
|
@@ -175,6 +175,11 @@ class MarketDataFeed:
|
|
|
175
175
|
self.head_message_count = 0
|
|
176
176
|
self.head_avg_latency = 0
|
|
177
177
|
|
|
178
|
+
self.instruments = []
|
|
179
|
+
|
|
180
|
+
def set_instruments(self, instruments: List[str]):
|
|
181
|
+
self.instruments = instruments
|
|
182
|
+
|
|
178
183
|
def _ws_client_process(self, server_message_queue: multiprocessing.Queue, client_message_queue: multiprocessing.Queue, log_queue: multiprocessing.Queue, log_level: int):
|
|
179
184
|
|
|
180
185
|
logger = logging.getLogger("client")
|
|
@@ -221,6 +226,9 @@ class MarketDataFeed:
|
|
|
221
226
|
|
|
222
227
|
def on_open(ws):
|
|
223
228
|
logger.info(f"On Open | Connection open")
|
|
229
|
+
if self.instruments:
|
|
230
|
+
logger.info(f"On Open | Subscribing to {len(self.instruments)} instruments")
|
|
231
|
+
self.subscribe(self.instruments)
|
|
224
232
|
self.on_open()
|
|
225
233
|
self.__nro_reconnect_retries = 0
|
|
226
234
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: btgsolutions-dataservices-python-client
|
|
3
|
-
Version: 2.11.
|
|
3
|
+
Version: 2.11.8
|
|
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
|
|
@@ -22,7 +22,7 @@ description = "Python package containing several classes and data for extracting
|
|
|
22
22
|
|
|
23
23
|
setup(
|
|
24
24
|
name='btgsolutions-dataservices-python-client',
|
|
25
|
-
version='2.11.
|
|
25
|
+
version='2.11.8',
|
|
26
26
|
description=description,
|
|
27
27
|
long_description=long_description,
|
|
28
28
|
long_description_content_type='text/markdown',
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|