Files
gocryptotrader/interfaces.go
GloriousCode 7223875230 Now adds a universal way to retrieve all enabled currencies
New endpoint to retrieve values for all enabled currency data for all enabled exchanges and return it as JSON object for front end
2016-07-13 21:43:48 +10:00

12 lines
207 B
Go

package main
type IBotExchange interface {
Setup(exch Exchanges)
Start()
SetDefaults()
GetName() string
IsEnabled() bool
GetTickerPrice(currency string) TickerPrice
GetEnabledCurrencies() []string
}