Refactored some exchange code
This commit is contained in:
parent
54a231ab60
commit
134eaaa518
20 changed files with 141 additions and 643 deletions
11
lib/plugins/exchange/consts.js
Normal file
11
lib/plugins/exchange/consts.js
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
|
||||
const ORDER_TYPES = {
|
||||
MARKET: 'market',
|
||||
LIMIT: 'limit'
|
||||
}
|
||||
const DECIMAL_PRECISION = {
|
||||
PRICE: 2,
|
||||
DEFAULT_AMOUNT: 8
|
||||
}
|
||||
|
||||
module.exports = { ORDER_TYPES, DECIMAL_PRECISION }
|
||||
Loading…
Add table
Add a link
Reference in a new issue