mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-20 23:16:49 +00:00
23 lines
535 B
Go
23 lines
535 B
Go
package okcoin
|
|
|
|
import (
|
|
"time"
|
|
|
|
"github.com/thrasher-corp/gocryptotrader/exchanges/okgroup"
|
|
)
|
|
|
|
const (
|
|
okCoinRateInterval = time.Second
|
|
okCoinStandardRequestRate = 6
|
|
okCoinAPIPath = "api/"
|
|
okCoinAPIURL = "https://www.okcoin.com/" + okCoinAPIPath
|
|
okCoinAPIVersion = "/v3/"
|
|
okCoinExchangeName = "OKCOIN International"
|
|
okCoinWebsocketURL = "wss://real.okcoin.com:8443/ws/v3"
|
|
)
|
|
|
|
// OKCoin bases all methods off okgroup implementation
|
|
type OKCoin struct {
|
|
okgroup.OKGroup
|
|
}
|