python: fix lint

This commit is contained in:
なるみ 2022-04-13 18:13:54 +08:00
parent 794255836b
commit bf6dfad4a3
2 changed files with 2 additions and 8 deletions

View File

@ -6,12 +6,6 @@ import bbgo_pb2
from typing import List
# message Depth {
# string exchange = 1;
# string symbol = 2;
# repeated PriceVolume asks = 3;
# repeated PriceVolume bids = 4;
# }
@dataclass
class Depth:
exchange: str
@ -39,4 +33,4 @@ class PriceVolume:
return cls(
price=float(obj.price),
volume=float(obj.volume),
)
)

View File

@ -1,6 +1,6 @@
import click
import grpc
import bbgo_pb2
import bbgo_pb2_grpc
from bbgo import MarketService