movement

package
v0.0.0-...-4b447b9 Latest Latest
Warning

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

Go to latest
Published: May 23, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Movement

type Movement struct {
	Id                      int64
	Currency                string
	CurrencyName            string
	MTSStarted              int64
	MTSUpdated              int64
	Status                  string
	Amount                  float64
	Fees                    float64
	DestinationAddress      string
	TransactionId           string
	WithdrawTransactionNote string
}

func FromRaw

func FromRaw(raw []interface{}) (m *Movement, err error)

type MovementRequest

type MovementRequest struct {
	Start *int64 `json:"start,omitempty"`
	End   *int64 `json:"end,omitempty"`
}

CancelRequest represents an order cancel request. An order can be cancelled using the internal ID or a combination of Client ID (CID) and the daten for the given CID.

func (*MovementRequest) MarshalJSON

func (mr *MovementRequest) MarshalJSON() ([]byte, error)

MarshalJSON converts the order cancel object into the format required by the bitfinex websocket service.

func (*MovementRequest) ToJSON

func (mr *MovementRequest) ToJSON() ([]byte, error)

type Snapshot

type Snapshot struct {
	Snapshot []*Movement
}

func SnapshotFromRaw

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

Jump to

Keyboard shortcuts

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