mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-21 07:26:48 +00:00
Create exchange base struct
This commit is contained in:
21
exchanges/exchange.go
Normal file
21
exchanges/exchange.go
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user