Files
gocryptotrader/interfaces.go
Scott 95cfb356ba Adds GetTickerPrice(currency string) TickerPrice func to interface. Implements on all exchanges (where possible)
Attempts to make routing generic with /exchanges/{exchangeName}/latest/{currency} path and response
2016-06-05 19:10:32 +10:00

12 lines
178 B
Go

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