From f5064f3c5c9d0e0b1660ee3f6c397d1743a510da Mon Sep 17 00:00:00 2001 From: Graeme Holliday Date: Mon, 10 Jun 2024 17:27:17 -0500 Subject: [PATCH] fix candle bug --- docs/conf.py | 2 +- setup.py | 2 +- tastytrade/__init__.py | 2 +- tastytrade/streamer.py | 1 - 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index d7e0ce6..7ad35a2 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -9,7 +9,7 @@ project = 'tastytrade' copyright = '2024, Graeme Holliday' author = 'Graeme Holliday' -release = '7.5' +release = '7.6' # -- General configuration --------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration diff --git a/setup.py b/setup.py index 0ae9211..e236dc8 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ setup( name='tastytrade', - version='7.5', + version='7.6', description='An unofficial SDK for Tastytrade!', long_description=LONG_DESCRIPTION, long_description_content_type='text/x-rst', diff --git a/tastytrade/__init__.py b/tastytrade/__init__.py index a278696..4a3ae3c 100644 --- a/tastytrade/__init__.py +++ b/tastytrade/__init__.py @@ -2,7 +2,7 @@ API_URL = 'https://api.tastyworks.com' CERT_URL = 'https://api.cert.tastyworks.com' -VERSION = '7.5' +VERSION = '7.6' logger = logging.getLogger(__name__) logger.setLevel(logging.DEBUG) diff --git a/tastytrade/streamer.py b/tastytrade/streamer.py index 7f2f1db..fe6c473 100644 --- a/tastytrade/streamer.py +++ b/tastytrade/streamer.py @@ -649,7 +649,6 @@ async def unsubscribe_candle( :param extended_trading_hours: whether candle to unsubscribe from contains extended trading hours """ - await self._channel_request(EventType.CANDLE) message = { 'type': 'FEED_SUBSCRIPTION', 'channel': self._channels[EventType.CANDLE],