Files
gocryptotrader/interfaces.go

14 lines
362 B
Go

package main
//IBotExchange : Enforces standard functions for all exchanges supported in gocryptotrader
type IBotExchange interface {
Setup(exch Exchanges)
Start()
SetDefaults()
GetName() string
IsEnabled() bool
GetTickerPrice(currency string) (TickerPrice, error)
GetEnabledCurrencies() []string
GetExchangeAccountInfo() (ExchangeAccountInfo, error)
}