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

Positioning system design discussion #478

Closed
6 tasks done
goodboy opened this issue Mar 3, 2023 · 1 comment
Closed
6 tasks done

Positioning system design discussion #478

goodboy opened this issue Mar 3, 2023 · 1 comment
Labels
accounting prolly positioning: the accounting of "what/when (is) owned" clearing auction and mm tech: EMS, OMS, algo-trading config ledger trade, accounts and other user focal event history tracking, management and storage

Comments

@goodboy
Copy link
Contributor

goodboy commented Mar 3, 2023

After landing the (very exciting) pair of patch sets in #462 and soon #470
this is yet-another-follow-up issue, with todos surrounding our pps.toml format, file management, and general position tracking service architecture.


We currently have a variety of follow up issues and bugs:
accounting prolly positioning: the accounting of "what/when (is) owned"

Some ideas that came out of the above mentioned patch sets include:

=> now all detailed in the newer #510

  • we probably in the longer run need a new sub-service (actor-daemon): ledgerd
  • changing our pps.toml .clears table-field format and name:
  • there are a variety of order mode pane UI bugs particularly to do
    with limit adjustments as discussed in order mode pane UI bugs.. #479
  • we should probably consider breaking up the singleton pps.toml
    into multiple files, likely broken up by broker and possibly by
    account
    => lands with Rekt pps? problem? => piker.accounting #489
    • this would also solve the data race issue with multiple
      brokerd's trying to write to a common file by instead expecting
      each actor-process to manage its own <brokername>_pps.toml
      file, allowing for distribution over multiple hosts as well as
      isolation between position state tracking if we were to route
      orders for a single pair through multiple brokers.

NEW MktPair struct format

As per the draft type that will land in
https://github.com/pikers/piker/pull/470/files#diff-2ea622b63a72576d8a27f1a2ab910591a350d29e7b6e0b9a055e49ae66626f12R137,
we want a much simplified and better suited for our fqsn market
addresing schema detailed in #467.

likely i will write up some further details on how to refine this
prototype and use throughout the rest of piker's subsystems..here 😂

^Again see #489

@goodboy goodboy added clearing auction and mm tech: EMS, OMS, algo-trading config ledger trade, accounts and other user focal event history tracking, management and storage accounting prolly positioning: the accounting of "what/when (is) owned" labels Mar 3, 2023
@goodboy
Copy link
Contributor Author

goodboy commented May 24, 2023

Bleh ended up moving pretty much all this content into new issues as mentioned above 😂

@goodboy goodboy closed this as completed May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accounting prolly positioning: the accounting of "what/when (is) owned" clearing auction and mm tech: EMS, OMS, algo-trading config ledger trade, accounts and other user focal event history tracking, management and storage
Projects
None yet
Development

No branches or pull requests

1 participant