blinktrade / BlinkTradeJS

BlinkTrade JavaScript SDK and CLI
GNU General Public License v3.0
122 stars 46 forks source link

ticker dont work with BTCBRL #62

Closed itxtoledo closed 5 years ago

itxtoledo commented 5 years ago

do

blinktrade.ticker().then(ticker => {
  console.log(ticker);
});

output this:

{
  high: 0,
  vol: 0,
  buy: 0,
  last: 0,
  low: 0,
  pair: 'BTCBRL',
  vol_brl: 0
}
cesardeazevedo commented 5 years ago

Hi, are you using the BitCambio brokerId 11?

const blinktrade = new BlinkTradeRest({ brokerId: 11, prod: true })

Let me know

itxtoledo commented 5 years ago

This works fine, thx