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

feat: websocket for sending position/trade updates #2143

Merged
merged 3 commits into from
Mar 10, 2024

Commits on Mar 10, 2024

  1. feat: position websocket

    Over this websocket we are sending updates about new trades. This means, if a user opens a new position or closes a position, an update is sent out over this websocket. The update includes an incremenatl change but also the total position state as reference. A client listening on this can then reason on this data.
    bonomat committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    6050c88 View commit details
    Browse the repository at this point in the history
  2. fix: on update, only keep orders which are open

    When receiving an order update, we only want to retain `open` orders. Expired, deleted, matched, etc are not of interested in the app anymore.
    bonomat committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    26690ae View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d552ea2 View commit details
    Browse the repository at this point in the history