eccrawler
Go package of crawler api to retrieve realtime data from crytocurrency exchange center
The data sources
The target data
- Realtime price for each crytocurrency
- Market depth, see reference-1, reference-2
- Exchange fee
- Successful deal number
- Cumulative depth
Deployment
package main
import (
"github.com/SpeculationFund/eccrawler"
"fmt"
)
func main() {
// Init crawler processor
crawlersfactory := &crawlers.C_CrawlerFactory{}
cpu := crawlersfactory.CreateCPU()
result := make(chan interface{})
cpu.GetTickers(result)
for {
fmt.Println(<-result)
}
}
Getting Started (TO BE TESTED)
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Prerequisites
Install golang sudo apt install golang-go
Installing
git clone https://github.com/SpeculationFund/eccrawler.git
cd eccrawler
go build
go install
Running the tests
go test
Documentation
Build
cd github.com/SpeculationFund/eccrawler
go build
Logistics
Contributing
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository
Authors
See also the list of contributors who participated in this project.
Acknowledgments (TODO)
- Hat tip to anyone who's code was used
- Inspiration
- etc
License (open source only)
This project is licensed under the MIT License - see the LICENSE.md file for details