Skip to content
A database solution to manage stock ticker & OHLC record
Branch: master
Clone or download
Pull request Compare This branch is 3 commits behind miaolz123:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
admin
alpine
example/golang
resource
stockdb
.gitignore
.travis.yml
Dockerfile
LICENSE
README.md
build.bat
config.go
driver.go
error.go
influxdb.go
init.go
log.go
realize.yaml
server.go
stockdb.go
stockdb.ini

README.md

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

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) 2016 miaolz123 by MIT

You can’t perform that action at this time.