From 45b97bf6c31f77d128b23d559fef445e359a96b9 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Mon, 19 Sep 2022 16:10:37 -0400 Subject: [PATCH] Make fill msg `.action: str` optional for `kraken` --- piker/clearing/_messages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/piker/clearing/_messages.py b/piker/clearing/_messages.py index f8fd6937..af666f5a 100644 --- a/piker/clearing/_messages.py +++ b/piker/clearing/_messages.py @@ -261,10 +261,10 @@ class BrokerdFill(Struct): time_ns: int # order exeuction related - action: str size: float price: float + action: Optional[str] = None broker_details: dict = {} # meta-data (eg. commisions etc.) # brokerd timestamp required for order mode arrow placement on x-axis