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

Create a Dune Analytics list for orders #312

Closed
Rafanator opened this issue Mar 25, 2021 · 8 comments
Closed

Create a Dune Analytics list for orders #312

Rafanator opened this issue Mar 25, 2021 · 8 comments
Assignees

Comments

@Rafanator
Copy link
Contributor

Create a Dune Analytics list that shows all orders

The first iteration should have the following columns:

| Price | Amount | Sum | My Size %

  • Price -> determines the price level of the bids in one row
  • Amount -> Shows the amount that is being bid at that given row
  • Sum -> Shows the cumulative amount at that bid price, adding the amount of all higher bids form previous rows
  • My Size % (maybe not possible for Dune Analytics) -> Shows the % of the Amount that the bid of the user has

Possible button location

Marked with the red rectangle:
Screenshot 2021-03-25 at 15 11 20

References to orderbook lists

A few images for inspiration.

Binance:
Screenshot 2021-03-25 at 14 55 33

dYdX:
Screenshot 2021-03-25 at 15 14 37

@cmagan Let me know if you think this would be enough.

@cmagan
Copy link
Contributor

cmagan commented Mar 26, 2021

I really like the idea of a bid table.
I would even suggest to throw the chart into a modal and display the table as default.
It is important to have control over the decimal place similar to how its dome with exchange orderbook
This will help to handle the table when there are thousands of bids

@josojo
Copy link
Contributor

josojo commented Mar 30, 2021

I marked the feature with high prio, but we should only implement it in the froont-end, once we have dune dashboards

@hpmaxi hpmaxi self-assigned this Apr 5, 2021
@cmagan
Copy link
Contributor

cmagan commented Apr 9, 2021

initial thought for layout including both chart and orderbook
image

@cmagan
Copy link
Contributor

cmagan commented Apr 9, 2021

actually will create new issue for that

@Rafanator
Copy link
Contributor Author

Rafanator commented Apr 9, 2021

I don't like it in the same page, too crowded, would strongly prefer to have it as a toggle.

@gabitoesmiapodo What do you think?

@gabitoesmiapodo
Copy link
Contributor

gabitoesmiapodo commented Apr 9, 2021

I don't like it in the same page, too crowded, would strongly prefer to have it as a toggle.

@gabitoesmiapodo What do you think?

I'm inclined to think that it will be too crowded, yeah. But it will depend on how many columns there are in the table, among other things. It may look OK with 4 columns, but if we add more later (and that's what usually happens...) we will run into trouble.

The form could be narrower, though, we don't need it to be too wide.

Anyways: what's the most important data the users need to have available all the time to take decisions? Do they need to compare data from the chart and the table? Do they need to compare this data against the data at the top of the section (Auction Details)?

If that's the case, that's what should be available for the users all the time, and maybe we need to put the form on a toggle, or to use a different layout.

We could even do something like:

1st row: Auction Details (we will probably add more info in #152)
2nd row: Place Order (form) / Your Orders (table).
3rd row: Chart / Dune Table.

@josojo
Copy link
Contributor

josojo commented Apr 13, 2021

One example;
https://duneanalytics.com/gnosis.protocol/Gnosis-Auction-Boson-Sale?DECIMALS_DIFF=12

@cmalfesi
Copy link

Done at the moment. Alex will create a ticket with next to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants