Files
gocryptotrader/exchanges/okcoin/okcoin.go
Ryan O'Hara-Reid 2c7e531c5c Initial kline trade converter && restructure wrapper functions (#454)
* Initial kline trade converter && restructure wrapper function

* Addr nits

* fix linter issues

* fix requested

* fix after merge interface issue with fakepassingexchange

* consistentizations

* Addr glorious nits

* Added in explicit interval strings for gctcli client (ease of use)

* rm value stutter

* Addr nits

* update protobuf and push regen

* go mod tidy

* change description of usage for granularity
2020-03-16 10:31:07 +11:00

23 lines
536 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:10442/ws/v3"
)
// OKCoin bases all methods off okgroup implementation
type OKCoin struct {
okgroup.OKGroup
}