mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-08 15:11:07 +00:00
Create exchange base struct
This commit is contained in:
15
btcehttp.go
15
btcehttp.go
@@ -11,6 +11,7 @@ import (
|
||||
|
||||
"github.com/thrasher-/gocryptotrader/common"
|
||||
"github.com/thrasher-/gocryptotrader/config"
|
||||
"github.com/thrasher-/gocryptotrader/exchanges"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -35,18 +36,8 @@ const (
|
||||
)
|
||||
|
||||
type BTCE struct {
|
||||
Name string
|
||||
Enabled bool
|
||||
Verbose bool
|
||||
Websocket bool
|
||||
RESTPollingDelay time.Duration
|
||||
AuthenticatedAPISupport bool
|
||||
APIKey, APISecret string
|
||||
Fee float64
|
||||
BaseCurrencies []string
|
||||
AvailablePairs []string
|
||||
EnabledPairs []string
|
||||
Ticker map[string]BTCeTicker
|
||||
exchange.ExchangeBase
|
||||
Ticker map[string]BTCeTicker
|
||||
}
|
||||
|
||||
type BTCeTicker struct {
|
||||
|
||||
Reference in New Issue
Block a user