From e4e368923d1e44534a19e23420b36407dd18f6c8 Mon Sep 17 00:00:00 2001 From: jaredgoldman Date: Tue, 28 Feb 2023 12:58:39 -0500 Subject: [PATCH] Add specific kwarg key to open_pps call when starting paperboi --- piker/clearing/_paper_engine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/piker/clearing/_paper_engine.py b/piker/clearing/_paper_engine.py index 14361c53..79ef55f4 100644 --- a/piker/clearing/_paper_engine.py +++ b/piker/clearing/_paper_engine.py @@ -530,7 +530,7 @@ async def trades_dialogue( ): - with open_pps(broker, 'paper', False) as table: + with open_pps(broker, 'paper', write_on_exit=False) as table: # save pps in local state _positions.update(table.pps)