kraken.broker: one last fix to `Position.cumsize`..

ib_py311_fixes
Tyler Goodlet 2023-08-24 15:13:18 -04:00
parent 546049b62f
commit 1002ce1e10
1 changed files with 1 additions and 1 deletions

View File

@ -407,7 +407,7 @@ def trades2pps(
# included? # included?
account='kraken.' + acctid, account='kraken.' + acctid,
symbol=p.mkt.fqme, symbol=p.mkt.fqme,
size=p.size, size=p.cumsize,
avg_price=p.ppu, avg_price=p.ppu,
currency='', currency='',
) )