exchanges

package
v0.0.0-...-0f447c4 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 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 Api

type Api struct {
	Data Data
}

func New

func New(path string) (*Api, error)

func (Api) GetByMTValue

func (a Api) GetByMTValue(mtval string) (DataExchanges, bool)

type Data

type Data struct {
	Description string          `yaml:"description"`
	Exchanges   []DataExchanges `json:"exchanges"`
}

type DataExchanges

type DataExchanges struct {
	Exante     string  `yaml:"exante"`
	MetaTrader string  `yaml:"metaTrader"`
	PriceStep  float64 `yaml:"priceStep"`
}

Jump to

Keyboard shortcuts

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