feat: bitfinex implementation

This commit is contained in:
Rafael Taranto 2024-04-02 17:56:37 +01:00
parent 80291637c0
commit 98c48ba853
6 changed files with 68 additions and 4 deletions

View file

@ -9,6 +9,7 @@ const binanceus = require('../exchange/binanceus')
const cex = require('../exchange/cex')
const bitpay = require('../ticker/bitpay')
const binance = require('../exchange/binance')
const bitfinex = require('../exchange/bitfinex')
const logger = require('../../logger')
const { BTC, BCH, DASH, ETH, LTC, ZEC, USDT, TRX, USDT_TRON, LN } = COINS
@ -24,7 +25,8 @@ const ALL = {
CRYPTO: [BTC, ETH, LTC, DASH, ZEC, BCH, USDT, USDT_TRON, TRX, LN],
FIAT: 'ALL_CURRENCIES'
},
binance: binance
binance: binance,
bitfinex: bitfinex
}
function buildMarket (fiatCode, cryptoCode, serviceName) {