Skip to content

Commit

Permalink
Merge pull request #3 from noranhe/main
Browse files Browse the repository at this point in the history
删除first_update
  • Loading branch information
vnpy committed Sep 7, 2021
2 parents 623c78f + 2f657be commit a4dbe0b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions vnpy_coinbase/coinbase_gateway.py
Expand Up @@ -739,8 +739,6 @@ def __init__(self, symbol: str, exchange: Exchange, gateway: BaseGateway) -> Non
gateway_name=gateway.gateway_name,
)

self.first_update: bool = False

def on_message(self, d: dict) -> None:
"""Websocket订单簿更新推送"""
if d["type"] == "l2update":
Expand Down

0 comments on commit a4dbe0b

Please sign in to comment.