change id to 'piker-paper'

explicit_write_pps_on_exit
algorandpa 2023-01-29 18:50:54 -05:00 committed by jaredgoldman
parent 3028a8b1f8
commit 5bb93ccc5f
1 changed files with 1 additions and 1 deletions

View File

@ -286,7 +286,7 @@ class PaperBoi(Struct):
ledger.update(self._trade_ledger) ledger.update(self._trade_ledger)
# Write to pps toml # Write to pps toml
with open_pps(self.broker, 'paper-id') as table: with open_pps(self.broker, 'piker-paper') as table:
table.update_from_trans(self._txn_dict) table.update_from_trans(self._txn_dict)
# save pps in local state # save pps in local state
self._positions.update(table.pps) self._positions.update(table.pps)