Skip to content

Commit

Permalink
Minor fix when combining data and market stream strategies (data stre…
Browse files Browse the repository at this point in the history
…am doesn't create market with marketBook)
  • Loading branch information
liampauling committed Feb 8, 2021
1 parent 3b819f5 commit 373c568
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
+++++++++++++++++++

Expand Down
2 changes: 1 addition & 1 deletion flumine/__version__.py
Original file line number Diff line number Diff line change
@@ -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"
2 changes: 1 addition & 1 deletion flumine/markets/market.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 373c568

Please sign in to comment.