Skip to content

Commit

Permalink
Fix delete query in BinanceDatastore (#170)
Browse files Browse the repository at this point in the history
  • Loading branch information
MtkN1 committed Jul 29, 2022
1 parent f054e09 commit 89a0442
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pybotters/models/binance.py
Expand Up @@ -330,7 +330,7 @@ def _onmessage(self, item: Item) -> None:

def _onresponse(self, symbol: Optional[str], data: list[Item]) -> None:
if symbol is not None:
self._delete(self.find({"symbol": symbol}))
self._delete(self.find({"s": symbol}))
else:
self._clear()
for item in data:
Expand Down

0 comments on commit 89a0442

Please sign in to comment.