mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-14 07:26:47 +00:00
18 lines
432 B
Go
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)
|
|
}
|