gmanroney / cryptoboard

Collects data from multiple cryptocurrency exchanges, transforms it and posts it into redis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Exchange: BITTREX

gmanroney opened this issue · comments

{
  "name": "bittrex",
  "docurl": "https://www.npmjs.com/package/node.bittrex.api",
  "wssurl": "???",
  "pairs": "BTCUSD, LTCUSD, LTCBTC, ETHUSD, ETHBTC, ETCUSD, ETCBTC, BFXUSD, BFXBTC, RRTUSD, RRTBTC, ZECUSD, ZECBTC",
  "active": "N"
}

General format of output is

{ MarketName: 'BTC-ETH',
Nounce: 97322,
Buys:
[ { Type: 1, Rate: 0.05349998, Quantity: 0 },
{ Type: 0, Rate: 0.05331, Quantity: 13.5344 },
{ Type: 0, Rate: 0.05301003, Quantity: 14.38764274 },
{ Type: 2, Rate: 0.053, Quantity: 24.36929234 },
{ Type: 0, Rate: 0.05033001, Quantity: 0.10796023 },
{ Type: 1, Rate: 0.050327, Quantity: 0 },
{ Type: 1, Rate: 0.05032473, Quantity: 0 } ],
Sells:
[ { Type: 0, Rate: 0.05349998, Quantity: 0.89460444 },
{ Type: 0, Rate: 0.05400466, Quantity: 10.74985874 },
{ Type: 1, Rate: 0.05408672, Quantity: 0 },
{ Type: 1, Rate: 0.05516448, Quantity: 0 } ],
Fills:
[ { OrderType: 'SELL',
Rate: 0.05349998,
Quantity: 0.1299218,
TimeStamp: '2017-12-31T23:18:31.03' },
{ OrderType: 'SELL',
Rate: 0.05349998,
Quantity: 0.1770782,
TimeStamp: '2017-12-31T23:18:30.903' } ] }

I really don't know how to go any further with this one. Also it seems like you need to send all of the symbols in one websocket request. Creating individual websocket requests as was the case for the others is not working here. Finally the number of crypto currencies are huge; not sure which ones to put in ...
https://bittrex.com/home/markets

screen shot 2018-01-01 at 01 07 09

  • Integrated API
  • Websocket working
  • Can send currency symbol and get result
  • All symbols sent as one single request
  • Cannot work out how to translate return
  • Did not create redis