Files
gocryptotrader/interfaces.go
Adrian Gallagher 3edf81f48b Package config
2017-03-29 13:45:02 +11:00

18 lines
432 B
Go

package main
import (
"github.com/thrasher-/gocryptotrader/config"
)
//IBotExchange : Enforces standard functions for all exchanges supported in gocryptotrader
type IBotExchange interface {
Setup(exch config.ExchangeConfig)
Start()
SetDefaults()
GetName() string
IsEnabled() bool
GetTickerPrice(currency string) (TickerPrice, error)
GetEnabledCurrencies() []string
GetExchangeAccountInfo() (ExchangeAccountInfo, error)
}