Merge pull request #1829 from 1122455801/bitmex_0614
[Mod] bitmex_gateway增加持仓推送过滤
This commit is contained in:
commit
23792474b1
@ -661,6 +661,9 @@ class BitmexWebsocketApi(WebsocketClient):
|
||||
|
||||
def on_position(self, d):
|
||||
""""""
|
||||
if not d["currentQty"]:
|
||||
return
|
||||
|
||||
position = PositionData(
|
||||
symbol=d["symbol"],
|
||||
exchange=Exchange.BITMEX,
|
||||
|
Loading…
Reference in New Issue
Block a user