Create exchange base struct

This commit is contained in:
Adrian Gallagher
2017-03-17 15:07:58 +11:00
parent 3edf81f48b
commit ef59b4bcd5
18 changed files with 89 additions and 209 deletions

21
exchanges/exchange.go Normal file
View File

@@ -0,0 +1,21 @@
package exchange
import (
"time"
)
type ExchangeBase struct {
Name string
Enabled bool
Verbose bool
Websocket bool
RESTPollingDelay time.Duration
AuthenticatedAPISupport bool
APISecret, APIKey, ClientID string
TakerFee, MakerFee, Fee float64
BaseCurrencies []string
AvailablePairs []string
EnabledPairs []string
WebsocketURL string
APIUrl string
}