From f1f3a6bedd08f02f04a33b3a9254c462b4185856 Mon Sep 17 00:00:00 2001 From: Victor Tran Date: Wed, 6 Dec 2017 18:42:50 +0700 Subject: [PATCH] update --- exchange/binance/binance_endpoint.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exchange/binance/binance_endpoint.go b/exchange/binance/binance_endpoint.go index 7f823c112..ff954268b 100644 --- a/exchange/binance/binance_endpoint.go +++ b/exchange/binance/binance_endpoint.go @@ -36,7 +36,7 @@ func (self *BinanceEndpoint) fillRequest(req *http.Request, signNeeded bool, tim q := req.URL.Query() sig := url.Values{} req.Header.Set("X-MBX-APIKEY", self.signer.GetBinanceKey()) - q.Set("timestamp", fmt.Sprintf("%d", timepoint-3000)) + q.Set("timestamp", fmt.Sprintf("%d", timepoint-5000)) q.Set("recvWindow", "7000") sig.Set("signature", self.signer.BinanceSign(q.Encode())) // Using separated values map for signature to ensure it is at the end