Tick Logger captures and stores financial ticks (quotes).
This application is very plug-in oriented. You can simply use or implement an adapter for either receiving quotes (feeder plug-in) or storing them (store plug-in).
The web interface supplies 3 major features:
- Historical ticks graph - query an instrument for its past ticks.
- Live ticks graph - TBD.
- Statistics - TBD.
- Install NodeJS latest version from http://nodejs.org/
- Download the application to a new 'tick-logger' directory
- Open a terminal (command prompt) in the above directory
- Run:
npm install
- Run:
node app.js
- Open Google Chrome and browse to http://locahost:8080/
You can find Tick Logger's configuration at the 'config.js' file.
- httpPort - web interface port.
- sessionSecret - web session secret (default value must be changed).
This application is scalable via multiple instances and or servers. Each worker (node instance) receives a unique ID, which allows it to process a different set of instruments, thus insuring collision free parallel processing.
- localWorkerStartIndex - The starting ID number for this server node instances.
- localNumberOfWorkers - The number of node instances on this server.
- totalNumberOfWorkers - The sum of configured node instances across the servers.
Please note, the recommended amount of workers is the same as the number of the server's CPUs.
For example, when running the application on 3 servers, each with 8 workers, will create the following configurations:
Server No. | localWorkerStartIndex | localNumberOfWorkers | totalNumberOfWorkers |
---|---|---|---|
1 | 0 | 8 | 24 |
2 | 8 | 8 | 24 |
3 | 16 | 8 | 24 |
- queryStoreName - the name of the store to receive ticks data from.
- feeders - determines the sources for the ticks data.
- stores - determines where the ticks data will be stored.
The demo server is generating ticks for instrument names called Test_0 to Test_9 - please use these when inquiring for ticks.
URL: http://tick-logger.herokuapp.com/
- Stock Charts by HighCharts - http://www.highcharts.com/
- Stock Charts Directive by Barry Fitzgerald - https://github.com/pablojim/highcharts-ng
- The Allmighty Autocomplete Directive by justgoscha - https://github.com/JustGoscha/allmighty-autocomplete
- Statistics
- Live tick graph
TCP/Text feeder- FIX feeder
Redis storeClusteringServer scalability- Performance tests
- Performance tuning
- Authentication
- Support Firefox and maybe IE :)