Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Mar 1, 2023

Conversation

goodboy
Copy link
Contributor

@goodboy goodboy commented Mar 1, 2023

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?

@goodboy goodboy added clearing auction and mm tech: EMS, OMS, algo-trading broker-backend `brokerd`/`datad` related backend tech ledger trade, accounts and other user focal event history tracking, management and storage labels Mar 1, 2023
@goodboy goodboy requested review from guilledk and jaredgoldman March 1, 2023 22:38
@goodboy goodboy force-pushed the explicit_write_pps_on_exit branch from 1d0c307 to 569df45 Compare March 1, 2023 22:40
Copy link
Contributor

@jaredgoldman jaredgoldman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lurkin gurd buddy



@cm
def open_ledger(
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh right, and i have no idea what the heck this was from lul

@goodboy goodboy merged commit 269a04b into master Mar 1, 2023
@goodboy goodboy deleted the explicit_write_pps_on_exit branch March 1, 2023 22:47
@goodboy goodboy mentioned this pull request Mar 10, 2023
51 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
broker-backend `brokerd`/`datad` related backend tech clearing auction and mm tech: EMS, OMS, algo-trading ledger trade, accounts and other user focal event history tracking, management and storage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants