tradeexecution

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 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 TradeExecution

type TradeExecution struct {
	ID         int64
	Pair       string
	MTS        int64
	OrderID    int64
	ExecAmount float64
	ExecPrice  float64
	OrderType  string
	OrderPrice float64
	Maker      int
}

TradeExecution represents the first message receievd for a trade on the private data feed.

func FromRaw

func FromRaw(raw []interface{}) (te *TradeExecution, err error)

Jump to

Keyboard shortcuts

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