mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-14 15:09:51 +00:00
14 lines
353 B
Go
14 lines
353 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
|
|
GetEnabledCurrencies() []string
|
|
GetExchangeAccountInfo() (ExchangeAccountInfo, error)
|
|
}
|