fundingtrade

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 Execution

type Execution FundingTrade

type FundingTrade

type FundingTrade struct {
	ID         int64
	Symbol     string
	MTSCreated int64
	OfferID    int64
	Amount     float64
	Rate       float64
	Period     int64
	Maker      int64
}

func FromRaw

func FromRaw(raw []interface{}) (ft *FundingTrade, err error)

type HistoricalSnapshot

type HistoricalSnapshot Snapshot

func HistoricalSnapshotFromRaw

func HistoricalSnapshotFromRaw(raw []interface{}) (HistoricalSnapshot, error)

type Snapshot

type Snapshot struct {
	Snapshot []*FundingTrade
}

func SnapshotFromRaw

func SnapshotFromRaw(raw []interface{}) (snap *Snapshot, err error)

type Update

type Update FundingTrade

Jump to

Keyboard shortcuts

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