From 2ee11f65f02682e245acfdea473b61274bcf00a5 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Wed, 14 Jun 2023 18:56:56 -0400 Subject: [PATCH] binance: facepalm, always lower case venue token.. --- piker/brokers/binance/feed.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/piker/brokers/binance/feed.py b/piker/brokers/binance/feed.py index 8505d76f..7a0a80b3 100644 --- a/piker/brokers/binance/feed.py +++ b/piker/brokers/binance/feed.py @@ -288,8 +288,7 @@ async def get_mkt_info( # NOTE: see the `FutesPair.bs_fqme: str` implementation # to understand the reverse market info lookup below. - venue: str = venue or 'spot' - mkt_mode: str = venue or 'spot' + mkt_mode = venue = venue.lower() or 'spot' _atype: str = '' if ( venue