Order manager changes

This commit is contained in:
Adrian Gallagher
2019-06-07 17:52:53 +10:00
parent bd8dc47c38
commit cbd3e7bacd
7 changed files with 169 additions and 52 deletions

View File

@@ -18,6 +18,7 @@ import (
"strings"
"time"
uuid "github.com/satori/go.uuid"
log "github.com/thrasher-/gocryptotrader/logger"
)
@@ -42,6 +43,11 @@ const (
WeiPerEther = 1000000000000000000
)
// GetV4UUID returns a RFC 4122 UUID based on random numbers
func GetV4UUID() uuid.UUID {
return uuid.NewV4()
}
func initialiseHTTPClient() {
// If the HTTPClient isn't set, start a new client with a default timeout of 15 seconds
if HTTPClient == nil {