diff --git a/HISTORY.rst b/HISTORY.rst index 5f7e3aed..d3190628 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -3,6 +3,13 @@ Release History --------------- +1.16.3 (2021-02-08) ++++++++++++++++++++ + +**Bug Fixes** + +- Minor fix when combining data and market stream strategies + 1.16.2 (2021-02-05) +++++++++++++++++++ diff --git a/flumine/__version__.py b/flumine/__version__.py index bbd9662e..31ba5d7a 100644 --- a/flumine/__version__.py +++ b/flumine/__version__.py @@ -1,6 +1,6 @@ __title__ = "flumine" __description__ = "Betfair trading framework" __url__ = "https://github.com/liampauling/flumine" -__version__ = "1.16.2" +__version__ = "1.16.3" __author__ = "Liam Pauling" __license__ = "MIT" diff --git a/flumine/markets/market.py b/flumine/markets/market.py index 036c78dc..d350458a 100644 --- a/flumine/markets/market.py +++ b/flumine/markets/market.py @@ -29,7 +29,7 @@ def __init__( self.blotter = Blotter(market_id) def __call__(self, market_book: MarketBook): - if market_book.version != self.market_book.version: + if self.market_book and market_book.version != self.market_book.version: self.update_market_catalogue = True self.market_book = market_book