Skip to content
/ stockdb Public
forked from miaolz123/stockdb

A database solution to manage stock ticker & OHLC record

License

Notifications You must be signed in to change notification settings

ct12/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

About

A database solution to manage stock ticker & OHLC record

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 53.9%
  • JavaScript 37.7%
  • CSS 5.1%
  • Dockerfile 2.5%
  • Smarty 0.5%
  • Shell 0.2%
  • Makefile 0.1%