bittrex

package
v0.0.0-...-f545d20 Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bittrex

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

func New

func New(baseURL string) *Bittrex

func (*Bittrex) Read

func (btx *Bittrex) Read(
	pair common.AssetPair,
	since time.Time,
	interval time.Duration,
) []common.TxOHCHistory

func (*Bittrex) SetExchangeName

func (btx *Bittrex) SetExchangeName(name string)

type Point

type Point struct {
	Time        string `json:"startsAt"`
	Open        string `json:"open"`
	High        string `json:"high"`
	Low         string `json:"low"`
	Close       string `json:"close"`
	Volume      string `json:"volume"`
	QuoteVolume string `json:"quoteVolume"`
}

Jump to

Keyboard shortcuts

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