kraken: `norm_trade()` now much accept an optional symcache
parent
4436342d33
commit
c00cf41541
|
@ -35,7 +35,7 @@ from piker.accounting import (
|
||||||
# MktPair,
|
# MktPair,
|
||||||
)
|
)
|
||||||
from piker.data import (
|
from piker.data import (
|
||||||
# SymbologyCache,
|
SymbologyCache,
|
||||||
Struct,
|
Struct,
|
||||||
)
|
)
|
||||||
from .api import (
|
from .api import (
|
||||||
|
@ -55,6 +55,7 @@ def norm_trade(
|
||||||
# processing from `.accounting`, this will be the table loaded
|
# processing from `.accounting`, this will be the table loaded
|
||||||
# into `SymbologyCache.pairs`.
|
# into `SymbologyCache.pairs`.
|
||||||
pairs: dict[str, Struct],
|
pairs: dict[str, Struct],
|
||||||
|
symcache: SymbologyCache | None = None,
|
||||||
|
|
||||||
) -> Transaction:
|
) -> Transaction:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue