Skip to content

Instantly share code, notes, and snippets.

@dbose
dbose / gist:22d0ae47e8d5ac7cf392c7237a99b424
Created April 7, 2021 11:42
DCA to BTC / ETH portfolio
const BTCMarkets = require('btc-markets')
const async = require('async')
const _ = require('lodash')
const schedule = require('node-schedule')
const winston = require('winston')
const os = require('os')
const log = winston.createLogger({
transports: [
new (winston.transports.File)({