Ensure quote last price is a `float`

master
Tyler Goodlet 2023-05-26 14:42:35 -04:00
parent 40c5f39f0d
commit 3b5bd8f43e
1 changed files with 1 additions and 1 deletions

View File

@ -563,7 +563,7 @@ class Router(Struct):
flume = feed.flumes[fqme]
first_quote: dict = flume.first_quote
book: DarkBook = self.get_dark_book(broker)
book.lasts[fqme]: float = first_quote['last']
book.lasts[fqme]: float = float(first_quote['last'])
async with self.maybe_open_brokerd_dialog(
brokermod=brokermod,