ticker or OHLC record
+
|
+---------------------+---------------------+
| | |
| | |
| +---------v---------+ |
| |Collection Services| |
| +---------+---------+ |
| | |
| S |(store) |
| T | |
| O +------------v------------+ |
| C |InfluxDB OR ElasticSearch| |
| K +------------+------------+ |
| D | |
| B |(query) |
| | |
| +--------v--------+ |
| |Analysis Services| |
| +--------+--------+ |
| | |
| | |
+---------------------+---------------------+
|
v
multi-period OHLC record, market depth...
You can install StockDB from Docker, Binary or Source.
$ docker run --name=stockdb -d -p 18765:8765 -v stockdata:/var/lib/influxdb stockdb/stockdb
Then, StockDB is running at http://0.0.0.0:18765
.
Download StockDB binary file from this page and run it.
$ git clone https://github.com/miaolz123/stockdb.git
$ cd stockdb
$ go get && go build
Contributions are not accepted in principle until the basic infrastructure is complete.
However, the ISSUE is welcome.
Copyright (c) 2017 miaolz123 by MIT