|
|
@ -92,7 +92,7 @@ public class OkxExchangeAdapter implements Exchange {
|
|
|
|
request.header("OK-ACCESS-TIMESTAMP", timestamp);
|
|
|
|
request.header("OK-ACCESS-TIMESTAMP", timestamp);
|
|
|
|
request.header("OK-ACCESS-PASSPHRASE", PASSPHRASE);
|
|
|
|
request.header("OK-ACCESS-PASSPHRASE", PASSPHRASE);
|
|
|
|
config.setConnectionTimeout(30 * 1000);
|
|
|
|
config.setConnectionTimeout(30 * 1000);
|
|
|
|
Proxy localhost = new Proxy(Proxy.Type.HTTP, new InetSocketAddress("127.0.01", 1087));
|
|
|
|
Proxy localhost = new Proxy(Proxy.Type.HTTP, new InetSocketAddress("127.0.0.1", 1087));
|
|
|
|
config.setProxy(localhost);
|
|
|
|
config.setProxy(localhost);
|
|
|
|
request.setConfig(config);
|
|
|
|
request.setConfig(config);
|
|
|
|
request.body(body);
|
|
|
|
request.body(body);
|
|
|
|