-
Notifications
You must be signed in to change notification settings - Fork 45
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
update liquidity/price info #286
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
…oken and do the update.
As written on Slack maybe it's better to use price as categorization for all that, including pool liquidity. We have to also consider the exchange assets. So within the DDO we could have price: {
type: 'pool',
address: '0xxxx' // the pool/exchange address
value: 10 // the price which is either pool price of fixed price
} And we could extend that with also adding But for now current implementation would be enough to query Aquarius and order results based on |
using this query then for assets list on market front-page, think that's how to sort by that in ElasticSearch: const query = {
page: 1,
offset: 20,
query: {},
sort: { dtPrice: 1 }
} |
No description provided.