From c00cf41541398bf56f8cacdbb4632f0456ac7624 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Wed, 26 Jul 2023 12:40:58 -0400 Subject: [PATCH] kraken: `norm_trade()` now much accept an optional symcache --- piker/brokers/kraken/ledger.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/piker/brokers/kraken/ledger.py b/piker/brokers/kraken/ledger.py index 2dac90d9..6515568f 100644 --- a/piker/brokers/kraken/ledger.py +++ b/piker/brokers/kraken/ledger.py @@ -35,7 +35,7 @@ from piker.accounting import ( # MktPair, ) from piker.data import ( - # SymbologyCache, + SymbologyCache, Struct, ) from .api import ( @@ -55,6 +55,7 @@ def norm_trade( # processing from `.accounting`, this will be the table loaded # into `SymbologyCache.pairs`. pairs: dict[str, Struct], + symcache: SymbologyCache | None = None, ) -> Transaction: