bfx-hf-ext-plugin-bitfinex
Version:
Bitfinex exchange plugin for the Honey Framework
34 lines (27 loc) • 624 B
JavaScript
const AOAdapter = require('./lib/ao_adapter')
const syncTradesRange = require('./lib/models/trade/sync_range')
const syncCandlesRange = require('./lib/models/candle/sync_range')
const auditCandleGaps = require('./lib/models/candle/audit_gaps')
module.exports = {
AOAdapter,
schema: {
Trade: {
schemaExchangeData: {
id: Number
},
methods: {
syncRange: syncTradesRange
}
},
Candle: {
schemaExchangeData: {
type: String
},
methods: {
syncRange: syncCandlesRange,
auditGaps: auditCandleGaps
}
}
}
}