C50Index / c50-tracker

Live Cryptocurrency Index Tracker
http://tracker.c50index.com
0 stars 1 forks source link

Research new data sources #3

Open kuczmama opened 5 years ago

kuczmama commented 5 years ago

https://github.com/dursk/bitcoin-price-api

kuczmama commented 5 years ago

Exchanges to Add

Fields Type Description
CHANNEL_ID integer Channel ID
BID float Price of last highest bid
BID_SIZE float Size of the last highest bid
ASK float Price of last lowest ask
ASK_SIZE float Size of the last lowest ask
DAILY_CHANGE float Amount that the last price has changed since yesterday
DAILY_CHANGE_PERC float Amount that the price has changed expressed in percentage terms
LAST_PRICE float Price of the last trade.
VOLUME float Daily volume
HIGH float Daily high
LOW float Daily low
const wss = new WebSocket('wss://api.bitfinex.com/ws/')
wss.send(JSON.stringify({
  "event": "subscribe",
  "channel": "book",
  "symbol": "fUSD",
  "prec": "P0",
  "freq": "F0",
  "len": 25
}))