restore spacing
parent
41bb0445e0
commit
6126c4f438
|
@ -541,12 +541,15 @@ class PpTable(Struct):
|
||||||
self,
|
self,
|
||||||
trans: dict[str, Transaction],
|
trans: dict[str, Transaction],
|
||||||
cost_scalar: float = 2,
|
cost_scalar: float = 2,
|
||||||
|
|
||||||
) -> dict[str, Position]:
|
) -> dict[str, Position]:
|
||||||
|
|
||||||
pps = self.pps
|
pps = self.pps
|
||||||
updated: dict[str, Position] = {}
|
updated: dict[str, Position] = {}
|
||||||
|
|
||||||
# lifo update all pps from records
|
# lifo update all pps from records
|
||||||
for tid, t in trans.items():
|
for tid, t in trans.items():
|
||||||
|
|
||||||
pp = pps.setdefault(
|
pp = pps.setdefault(
|
||||||
t.bsuid,
|
t.bsuid,
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue