|
|
|
@ -92,7 +92,7 @@ public class OkxExchangeAdapter implements Exchange {
|
|
|
|
|
request.header("OK-ACCESS-TIMESTAMP", timestamp);
|
|
|
|
|
request.header("OK-ACCESS-PASSPHRASE", PASSPHRASE);
|
|
|
|
|
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);
|
|
|
|
|
request.setConfig(config);
|
|
|
|
|
request.body(body);
|
|
|
|
|