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

Deepbook Summary Endpoint #20536

Merged
merged 11 commits into from
Dec 9, 2024
Merged

Deepbook Summary Endpoint #20536

merged 11 commits into from
Dec 9, 2024

Conversation

leecchh
Copy link
Contributor

@leecchh leecchh commented Dec 6, 2024

Description

  1. Deepbook Summary Endpoint: /summary

Sample response:
[{"trading_pairs":"WUSDC_USDC","quote_currency":"USDC","base_volume":3675177.5,"last_price":1.0,"lowest_price_24h":0.9999,"base_currency":"WUSDC","highest_bid":1.0,"highest_price_24h":1.0002,"price_change_percent_24h":-0.009999000099991662,"quote_volume":3675165.11285,"lowest_ask":1.0001},{"highest_price_24h":4.4748,"base_volume":48790.4,"lowest_price_24h":0.0033,"highest_bid":4.2293,"lowest_ask":4.2361,"trading_pairs":"SUI_AUSD","quote_currency":"AUSD","price_change_percent_24h":0.6522306287503277,"quote_volume":207421.6792,"last_price":4.25,"base_currency":"SUI"}]

  1. Volume query defaults to using quote asset

Test plan

How did you test the new or updated feature?

Tested locally using production data

Release notes

Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.

For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

  • Protocol:
  • Nodes (Validators and Full nodes):
  • Indexer: Deepbook Indexer
  • JSON-RPC:
  • GraphQL:
  • CLI:
  • Rust SDK:
  • REST API:

Copy link

vercel bot commented Dec 6, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sui-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 6, 2024 8:36pm
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
multisig-toolkit ⬜️ Ignored (Inspect) Visit Preview Dec 6, 2024 8:36pm
sui-kiosk ⬜️ Ignored (Inspect) Visit Preview Dec 6, 2024 8:36pm
sui-typescript-docs ⬜️ Ignored (Inspect) Visit Preview Dec 6, 2024 8:36pm

@leecchh leecchh temporarily deployed to sui-typescript-aws-kms-test-env December 6, 2024 19:25 — with GitHub Actions Inactive
@leecchh leecchh merged commit 1559f60 into tlee/assets Dec 9, 2024
49 checks passed
@leecchh leecchh deleted the tlee/summary branch December 9, 2024 14:53
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.

2 participants