trade

package
v0.0.0-...-a7768ee Latest Latest
Warning

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

Go to latest
Published: May 26, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Trade

type Trade struct {
	ID       uint64
	Symbol   string
	Price    decimal.Decimal
	Quantity decimal.Decimal
	TakerID  uint64
	MakerID  uint64
}

Trade .

func (*Trade) Serialize

func (t *Trade) Serialize() *oceanbookpb.Trade

Serialize returns protobuf encoded trade.

Jump to

Keyboard shortcuts

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