🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

github.com/speculationfund/eccrawler

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/speculationfund/eccrawler

v0.0.0-20171228123407-9211cdfe2414
Source
Go
Version published
Created
Source

eccrawler

Go package of crawler api to retrieve realtime data from crytocurrency exchange center

The data sources

  • coinbase
  • bittrex
  • localbitcoin
  • cex
  • kraken
  • bitstamp
  • coincheck

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

FAQs

Package last updated on 28 Dec 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts