Refactored some exchange code

This commit is contained in:
José Oliveira 2021-01-21 11:08:20 +00:00 committed by Josh Harvey
parent 54a231ab60
commit 134eaaa518
20 changed files with 141 additions and 643 deletions

View 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 }