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

pricelist handlePriceChange only accepts updates if source is 'bptf' #1540

Open
joekiller opened this issue Apr 22, 2023 · 0 comments
Open
Labels
bug Something isn't working

Comments

@joekiller
Copy link
Collaborator

joekiller commented Apr 22, 2023

Describe the bug

When using a custom pricer the websocket based updates must have a source of 'bptf' to be accepted by handlePriceChange

if (data.source !== 'bptf') {

I'm unsure if this is guarding updates from elsewhere or what.

To Reproduce

Steps to reproduce the behavior:

  1. make Websocket updates have a different source
  2. no price update
  3. ...

Expected behavior

A custom pricer websocket price update is applied.

Screenshots and logs

Additional context

Version: old as custom pricer

@joekiller joekiller added the bug Something isn't working label Apr 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant