g00d-guy / stockdb

A database solution to manage stock ticker & OHLC record

Home Page:http://docs.stockdb.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A database solution to manage stock ticker & OHLC record

http://docs.stockdb.org

License:MIT License


Languages

Language:Go 55.3%Language:JavaScript 38.7%Language:CSS 5.3%Language:Smarty 0.6%Language:Shell 0.2%Language:Makefile 0.1%