From 1002ce1e1003d391f3bb742f94f36b55810e0f77 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Thu, 24 Aug 2023 15:13:18 -0400 Subject: [PATCH] kraken.broker: one last fix to `Position.cumsize`.. --- piker/brokers/kraken/broker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/piker/brokers/kraken/broker.py b/piker/brokers/kraken/broker.py index 74bd7562..25a30346 100644 --- a/piker/brokers/kraken/broker.py +++ b/piker/brokers/kraken/broker.py @@ -407,7 +407,7 @@ def trades2pps( # included? account='kraken.' + acctid, symbol=p.mkt.fqme, - size=p.size, + size=p.cumsize, avg_price=p.ppu, currency='', )