UNPKG

bot18

Version:

A high-frequency cryptocurrency trading bot by Zenbot creator @carlos8f

20 lines (16 loc) 440 B
/* eslint-env mocha */ 'use strict' const { TradingTicker } = require('../../../lib/models') const testModel = require('../../helpers/test_model') describe('Trading Ticker model', () => { testModel({ model: TradingTicker, values: { symbol: 'tBTCUSD' }, orderedFields: [ 'symbol', 'bid', 'bidSize', 'ask', 'askSize', 'dailyChange', 'dailyChangePerc', 'lastPrice', 'volume', 'high', 'low' ] }) })