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

dazaar: add support for live streams #17

Merged
merged 2 commits into from Sep 22, 2020

Conversation

robertkowalski
Copy link
Contributor

@robertkowalski robertkowalski commented Aug 14, 2020

Description:

dazaar: add support for live streams

Breaking changes:

We could make the new backtesting flag mandatory, right now we use a fallback for it. Probably good to remove at a later point.

So right now no breaking changes.

New features:

  • possibility to add a custom submit order function which is not tied to a websocket
  • adds an explicit backtesting flag to remove ambiguity

Fixes:

  • [ ]

PR status:

  • Version bumped
  • Change-log updated
  • Tests added or updated
  • Documentation updated


let o
if (liveStream) {
await submitOrder(state, orderParams)
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldnt we use o = await submitOrder(state, orderParams) if its a livestream?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

true, but just if its not a custom function which was always the case for me... hmm... thinking...

Copy link
Contributor

@JacobPlaster JacobPlaster left a comment

Choose a reason for hiding this comment

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

LGTM!

@robertkowalski robertkowalski merged commit 0d121ef into bitfinexcom:master Sep 22, 2020
@robertkowalski robertkowalski deleted the streams-support branch September 22, 2020 12:01
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

Successfully merging this pull request may close these issues.

None yet

2 participants