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