Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Retrieve order partial filled values from Relay #59

Open
JoaoCampos89 opened this issue May 8, 2019 · 0 comments
Open

Retrieve order partial filled values from Relay #59

JoaoCampos89 opened this issue May 8, 2019 · 0 comments
Labels
improvement 📈 New feature or request

Comments

@JoaoCampos89
Copy link

Right now, the relay does not retrieve the partially filled value of each order on the orderbook. This is necessary to the UX to not display the full amount on the orderbook or to show to the user that they have less balance locked on the order, as the order was already filled.

Three approaches can be done here to help solve this:

  • Add the partial value on the meta object of signed orders using orderWatcher
  • Create an endpoint that retrieves the partially filled order values, this helps to create an endpoint for market history
  • Create a Post endpoint where we post the order that was filled from frontend, and then it calls orderWatcher for that specific order hash.
@dekz dekz added improvement 📈 New feature or request and removed enhancement labels Jul 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
improvement 📈 New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants
@dekz @JoaoCampos89 and others