config

package
v0.0.0-...-82d0e4a Latest Latest
Warning

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

Go to latest
Published: May 4, 2022 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BaseURL string

Functions

func NewConfig

func NewConfig()

Types

type ConfigList

type ConfigList struct {
	Exchange string

	BFMaxSell int
	BFMaxBuy  int

	BFBTCBuyAmount01 float64
	BFBTCBuyAmount02 float64
	BFBTCBuyAmount03 float64

	BFETHBuyAmount01 float64
	BFETHBuyAmount02 float64
	BFETHBuyAmount03 float64

	OKMaxBuy  int
	OKMaxSell int

	OKBTCBuyAmount01 float64
	OKBTCBuyAmount02 float64
	OKBTCBuyAmount03 float64

	OKETHBuyAmount01 float64
	OKETHBuyAmount02 float64
	OKETHBuyAmount03 float64

	ApiKey      string
	ApiSecret   string
	LogFile     string
	ProductCode string

	MySql string

	OKApiKey     string
	OKApiSecret  string
	OKPassPhrase string

	OKJApiKey     string
	OKJApiSecret  string
	OKJPassPhrase string

	TradeDuration  time.Duration
	Durations      map[string]time.Duration
	DbName         string
	SQLDriver      string
	Port           int
	ParallelOrders int

	SlackToken string

	IsTest bool
}
var Config ConfigList

Jump to

Keyboard shortcuts

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