bitfinex

package
v0.0.0-...-47e4bc2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BitfinexCrawler

type BitfinexCrawler struct {
	// contains filtered or unexported fields
}

func NewBitfinexCrawler

func NewBitfinexCrawler() BitfinexCrawler

func (BitfinexCrawler) ConfigFromEnv

func (b BitfinexCrawler) ConfigFromEnv() bool

func (BitfinexCrawler) CrawlerTask

func (b BitfinexCrawler) CrawlerTask(trades chan<- Trade, quit <-chan bool, wg *sync.WaitGroup)

type Trade

type Trade struct {
	ID        uint64
	Timestamp uint64
	Pair      string
	Amount    float64
	Price     float64
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL