Gather Bitcoin Data
Package for gathering data from Bitcoin Markets including preparation for insertion into a mongodb database. As there aren't any databases available for depths from markets, this module allows to create such a database.
Warning: This module is a work in progress and might not work as advertised!
Usage Example
const BtcDataGatherer = ; let gatherer = ;; { gatherer; //for conversionrates go get a api key at openexchangerates.org and enter into config.json //(https://openexchangerates.org/api/latest.json?app_id=somekeyforyourapp") //doConversionRates();//do conversionRates initially to allow proper standardization //setInterval(doConversionRates, 86400000); //get and set conversionRates every 24hrs ; ; //gathering data every 2 seconds} //gets and sets conversionRates //this is needed for successful standardization of incoming data { gatherer ;} { let timestamp = Date; gatherer; //for successful standardization queueing timestamps is required for proper //order in returned data arrays. gatherer //gets all the data from all markets and their specified methods f.e. depth }