Changes between Version 2 and Version 3 of Collector modules


Ignore:
Timestamp:
May 16, 2016, 8:25:11 PM (8 years ago)
Author:
Genuise
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Collector modules

    v2 v3  
    22
    33We discussed list of modules affected.
     4* collector/bin/collector.js - entry point for collector process
     5* server/lib/config.js - constants {{{enabledCurrencies}}}, {{{streamAPIModes}}} the latter intended to be used in {{{exchangeAPIObj.init}}} method
     6* server/lib/depthAPI.js - all actual configuration of exchange objects defined here. Every exchange is represented by its exchange object instance. Module is responsible for creating instances and provides hash storage for them. Orderbooks accessed from collector structures through public method by exchange string tickers. Trades on the other hand broadcasted thru central event emitter object defined in {{events}} module. Trades messages source is every exchange instance. Collector structures register listeners for trades messages.
     7
    48
    59Collector side: