bitshares / bitshares/bitshares-ui
Price Labels in Quote Currency.
- Dominant language
- JavaScript
- Stars
- 520
- Forks
- 575
- Avg merge
- 12h 7m
- Merged PRs (30d)
- 5
Description
**PROBLEM**
Market prices for BASE ASSETS are traditionally labeled in QUOTE CURRENCY
ie.
I want to buy a hammer at the hardware store:
`Price is $12.`
I want to buy bitcoin in a centralized exchange usd market:
`Price is 3900.00 USD`
The dex is labeled labeled (Base/Quote), so price for bitcoin market, priced in us dollars looks like:
`3900 BTC / USD`
A price is mathematically calculated in the opposite (Quote/Base):
`3900 USD / 1 BTC`
This creates some confusion.
**SOLUTION**
I think the ideal would be to list prices strictly in quote currency, so the price in btc/usd market would be simply
`3900 USD`
h/t @ Xelda https://t.me/BitSharesDEX/365921
Contributor guide
Research direction
No file, test, or entry point is identified in the issue. Start by locating the market price-label rendering in the BitShares UI and trace how base/quote assets are displayed; done means the BTC/USD example and other markets consistently show the price in quote currency without breaking existing market views.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- blockchain, frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100