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

Send mid-point data in a map #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Send mid-point data in a map #2

wants to merge 2 commits into from

Conversation

divyakoshy
Copy link

Update implementation to send mid-point data as a map of token-pairs with its respective prices.

@divyakoshy divyakoshy requested review from jazg and tok-kkk August 10, 2018 02:00
@divyakoshy divyakoshy self-assigned this Aug 10, 2018
prices map[currencyPair]float64 // Map of a currency pair to its latest price
cmcIDs map[string]int32 // Map of a token symbol to its CMC ID
pairCodes map[currencyPair]uint64 // Map of a currency pair to its pair-code
prices map[uint64]uint64 // Map of a currency pair to its latest price
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you update the prices comment to make it clear it's now a map of the pair-code to its latest price?

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