fix Base/Quote currency ordering in global symbol conversion #515
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #500
Global symbols list the base currency first (e.g. BTC) and quote/conversion currency
second (e.g. USD). Global symbols are of the form BASE-QUOTE. BASE-QUOTE is read as
1 BASE is worth y QUOTE.
Examples:
On 1/25/2020,
- BTC-USD: $8,371; 1 BTC (base) is worth $8,371 USD (quote)
- ETH-BTC: 0.01934; 1 ETH is worth 0.01934 BTC
- EUR-USD: 1.2; 1 EUR worth 1.2 USD
Pull Request Changes: