Open amit-kukadia opened 4 years ago
I don't know if there's any readily available solutions, however, manual mapping is unnecessary, if you follow the specs from https://github.com/ccxt/ccxt/wiki/Manual#markets, the mapping of base/quote symbols can be automated to a certain extent.
Also, I've heard of some proprietary solutions targeting the aspect of token info unification, for example: https://truset.com
Following is the response I get from coingecko api. There is now way for me to know what 'zoc' corresponds to in CCXT if I need to place a trade or something. They provide other useful data on other endpoints which uses their internal id. Its the same case for other apis.
{ "id": "01coin", "symbol": "zoc", "name": "01coin" }, { "id": "02-token", "symbol": "o2t", "name": "O2 Token" }, { "id": "0xcert", "symbol": "zxc", "name": "0xcert" },
https://www.blocktap.io/ uses the same symbols I think.
Blocktap.io, a free data analytics platform, uses CCXWS to provide real time data.
And CCXWS uses CCXT names. But I am looking for more data points than they provide.
@amit-kukadia we are pilot testing a new endpoint https://api.coingecko.com/api/v3/coins/list?include_platform=true which will return contract addresses that can help with identifying the tokens with a more open standard. It is still beta, but you get roughly the idea on where we are headed. But i am not sure how this will fit with ccxt if its helpful in any way.
For future readers - this is very tricky and hard to have such mappings and maintain it, but possible ways at this moment:
ZZZ
named coin from exchange-X. then you request coins data from aggregator (CoinMarketCap or CoinGecko) and there you find all coins with ZZZ
title (there could be several) then you get their unique-ids and get price for those coins against USD, and compare to price of ZZZ/USD
from ccxt, if the prices are around 5-10% same range, then very much probably they are same coins.
Features like average price, marketcap, full name for coin, token supply, token icon and other information related to token not implemented by CCXT or the implementation is kind of patchy. And I would assume those features are nowhere on the roadmap, even for CCXT pro.
Those are provided by many other companies, and many of them use their own symbols and mapping them with CCXT symbols would be very tedious.
I would like to know if any one is aware of any such API providers which readily integrate with CCXT symbols. Some companies must be using CCXT under the hood to a certain extent.
Atleast the individual currency symbol should be same. The pairs can be different.