builders

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 27, 2018 License: GPL-3.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Closes

type Closes map[types.Address]float64

type Depths added in v1.1.0

type Depths map[types.Address]types.Int

type MarketsBuilder

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

func NewMarketsBuilder

func NewMarketsBuilder(repo repositories.TokenRepository) MarketsBuilder

func (*MarketsBuilder) Build

func (mb *MarketsBuilder) Build(
	tokens []types.Address,
	vols Volumes,
	closes Closes,
	depths Depths,
	asks types.Prices,
	bids types.Prices,
) []types.Market

type Volumes

type Volumes map[types.Address]types.Int

Jump to

Keyboard shortcuts

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