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

include publishers slightly ahead of current slot in aggregation #73

Closed
jhunsaker opened this issue Oct 2, 2021 · 1 comment
Closed
Assignees

Comments

@jhunsaker
Copy link
Contributor

No description provided.

@jhunsaker jhunsaker self-assigned this Oct 2, 2021
@jhunsaker
Copy link
Contributor Author

{
  "exponent": -2,
  "quotes": [
    {
      "price": 3887,
      "conf": 1,
      "slot_diff": 2
    },
    {
      "price": 4193,
      "conf": 307,
      "slot_diff": -2
    },
    {
      "price": 3889,
      "conf": 6,
      "slot_diff": 2
    }
  ]
}

produces

{"exponent":-2,"price":4193,"conf":307,"status":"trading"}

slot_diff = 1 doesn't replicate as code in test_qset is adding 1 to the slot

@jayantk jayantk closed this as completed Mar 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants