UNPKG

bot18

Version:

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

17 lines (14 loc) 401 B
/* eslint-env mocha */ 'use strict' const { Trade } = require('../../../lib/models') const testModel = require('../../helpers/test_model') describe('Trade model', () => { testModel({ model: Trade, boolFields: ['maker'], orderedFields: [ 'id', 'pair', 'mtsCreate', 'orderID', 'execAmount', 'execPrice', 'orderType', 'orderPrice', 'maker', 'fee', 'feeCurrency' ] }) })