pikers / piker

(e2e) foss trading for non-tinas
GNU Affero General Public License v3.0
102 stars 17 forks source link

Explicitly write `pps.toml` on exit for `ib` and `kraken` #475

Closed goodboy closed 1 year ago

goodboy commented 1 year ago

As per the default setting change to .pp.open_pps() to not write the TOML file on close, this adjusts the ib and kraken backends to set the write flag explicitly and indeed update the pps file on teardown.

Further, this includes the removal of the trades history record-limit since there seems to be no particular reason to halt on the last 10 transactions, though eventually we should probably expose this through the brokers.toml?