exchanges

package module
v0.0.0-...-e2245cf Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

README

go-exchanges

GoDoc

Golang client for cryptocurrency exchanges.

Support

Currently only Poloniex exchange is supported but contributions are welcome.

Exchanges

Exchange Stream REST Planned
Poloniex
GDAX
Bitfinex trades

Streaming

Streaming clients should be always self-healing and rely on heartbeats to indicate state of connection.

License

                             Apache License
                       Version 2.0, January 2004
                    http://www.apache.org/licenses/

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Stream

type Stream interface {
	// Subscribe - Subscribe to currency pair exchanges.
	Subscribe(*currency.Pair) error

	// Events - Channel of orderbook.
	Events() <-chan *orderbook.Event

	// Errors - Channel of errors.
	Errors() <-chan error

	// Close - Closes a stream.
	Close() error
}

Stream - Exchange stream.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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