Skip to content
This repository has been archived by the owner on Apr 30, 2020. It is now read-only.

miaolz123/stockdb

Repository files navigation

StockDB

Travis Go Report Card Github All Releases Docker Pulls

                 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...

Admin Demo

Instllation

You can install StockDB from Docker, Binary or Source.

Docker (recommend)

$ 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.

Binary

Download StockDB binary file from this page and run it.

Source

$ git clone https://github.com/miaolz123/stockdb.git
$ cd stockdb
$ go get && go build

Documentation

Read Documentation

Contributing

Contributions are not accepted in principle until the basic infrastructure is complete.

However, the ISSUE is welcome.

License

Copyright (c) 2017 miaolz123 by MIT