KomodoPlatform / komodo-defi-framework

This is the official Komodo DeFi Framework repository
https://komodoplatform.com/en/docs/komodo-defi-framework/
107 stars 94 forks source link

Price infromation for charts (and not only charts) #678

Open tonymorony opened 4 years ago

tonymorony commented 4 years ago

Part of https://github.com/KomodoPlatform/atomicDEX-API/issues/654

After discussion with @yurii-khi @Milerius and @naezith we've decided that this endpoint is a good example of infromation which we'll need for candlestick graphs:

https://docs.cryptowat.ch/rest-api/markets/price#market-price https://api.cryptowat.ch/markets/binance/kmdbtc/ohlc

example of desired response will be like a:

{ 
  timestamp: 1435708800000, 
  volume: 123456789,
  open: 690, 
  high: 694,
  low: 599,
  close: 660 
}

The current plan is to use cryptowat.ch data, and then when we'll reach relay nodes implementation part on adex-api development roadmap we'll just make it by analogy. So this issue is just to keep it in mind as part of future plans mostly.


Cipi:

it would be best to use the same terminology and provide (if possible) the same data as known APIs, like Binance:

https://github.com/binance-exchange/binance-official-api-docs/blob/master/rest-api.md

tonymorony commented 4 years ago

Documentation to make API for exchange listing on CMC/Coingecko/{tracker_name}:

CMC "Ideal API Endpoint Samples" : https://docs.google.com/document/d/1S4urpzUnO2t7DmS_1dc4EL4tgnnbTObPYXvDeBnukCg/edit

CoinGecko Crypto Exchange API Standards: https://docs.google.com/document/d/1v27QFoQq1SKT3Priq3aqPgB70Xd_PnDzbOCiuoCyixw/edit

binance api ref: https://github.com/binance-exchange/binance-official-api-docs/blob/master/rest-api.md

cross-ref: https://github.com/KomodoPlatform/atomicDEX-API/issues/654