question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Implement one common set of currencies through all exchanges for easier merge data between them

See original GitHub issue

There exists a gap between currency sets in different exchanges. Same coins have different symbols in different exchanges. Sometimes in code can be found parts of converters, but they are not full. It is impossible to identify is this coin same on not with some other from another exchange. E.g.

Bitfinex:

  • IOT
  • DSH
  • YYW (coin YOYOW) etc.

Binance:

  • IOTA
  • DASH
  • YOYO (coin YOYOW)

It will be valuable to have consistent API through all exchanges, converting data to common currency sets in one place. Or to have some util with mappings, (exchange definition) -> (common definition) and back. Also it must be optional I think. Thanks.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:3
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
badgerwithaguncommented, Mar 30, 2019

@gregoreficint - Bitmex has more than one contract for a currency pair at any given time. XBTH19 is only one of the BTC/USD tracking contracts available right now - the quarterly one. I can’t remember which other BTC contracts there are. Possibly a monthly and an annual. The point is that it’s not enough to say ‘BTC/USD’ and a date; you also need to know the timeframe of the contract.

That said, it might potentially be useful to know what, for example, the quarterly BTC contract was on a particular date, I guess.

1reaction
cympcommented, Jul 26, 2018

There is some code like that in some modules, here for example with DASH and QTUM. I don’t like this too much, I would prefer to have it configured into json config, and have a more general place in the code where these conversion are done given what is found in the local json.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is Blockchain Technology? - IBM
Blockchain overview. Blockchain defined: Blockchain is a shared, immutable ledger that facilitates the process of recording transactions and tracking assets in ...
Read more >
29.4 Exchange Rate Policies – Principles of Economics
A final approach to exchange rate policy is for a nation to choose a common currency shared with one or more nations is...
Read more >
Multicurrency Management - Dynamics GP - Microsoft Learn
You can use Multicurrency Management to set up an unlimited number of currency IDs, rate types, and exchange rate tables. After setting up ......
Read more >
Blockchain Facts: What Is It, How It Works, and How It Can Be ...
One key difference between a typical database and a blockchain is how the ... in the past, where those who kept Bitcoin on...
Read more >
Back to Basics - PPP Versus the Market: Which Weight Matters?
But each country reports its data in its own currency. ... To derive these weights, one converts the GDP of a country in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found