:feat: 交易订单

main
luochuan 12 months ago
parent 02d68f6e67
commit b4b09fd2bb

@ -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);

Loading…
Cancel
Save