refactor: move config validator from coin utils to ccxt common
This commit is contained in:
parent
0c0ca09b4e
commit
047b5752b7
3 changed files with 9 additions and 9 deletions
|
|
@ -1,8 +1,8 @@
|
|||
const _ = require('lodash/fp')
|
||||
const ccxt = require('ccxt')
|
||||
|
||||
const { toUnit, isConfigValid } = require('../../coin-utils')
|
||||
const { buildMarket, ALL } = require('../common/ccxt')
|
||||
const { toUnit } = require('../../coin-utils')
|
||||
const { buildMarket, ALL, isConfigValid } = require('../common/ccxt')
|
||||
const { ORDER_TYPES } = require('./consts')
|
||||
|
||||
const DEFAULT_PRICE_PRECISION = 2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue