kraken: `norm_trade()` now much accept an optional symcache

account_tests
Tyler Goodlet 2023-07-26 12:40:58 -04:00
parent 4436342d33
commit c00cf41541
1 changed files with 2 additions and 1 deletions

View File

@ -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: