proxy config

main
luochuan 11 months ago
parent 0d46f86758
commit 891841b10d

@ -129,7 +129,7 @@ public class MexcExchangeAdapter implements Exchange, InitializingBean {
} catch (Exception e) { } catch (Exception e) {
log.error("任务异常无相关算法", e); log.error("任务异常无相关算法", e);
// 中断系统 // 中断系统
System.exit(0); throw new UnsupportedOperationException("中断启动");
} }
} }

@ -199,7 +199,7 @@ public class OkxExchangeAdapter implements Exchange, InitializingBean {
} catch (Exception e) { } catch (Exception e) {
log.error("任务异常无相关算法", e); log.error("任务异常无相关算法", e);
// 中断系统 // 中断系统
System.exit(0); throw new UnsupportedOperationException("中断启动");
} }
} }
} }

@ -3,7 +3,7 @@ server:
# 配置api-token # 配置api-token
okx: okx:
secert: B0BD202C3C87A400AC68E59DB7C7B8F0 secret: B0BD202C3C87A400AC68E59DB7C7B8F0
passphrase: PENG852zi@. passphrase: PENG852zi@.
access-key: 36099e87-5cfc-4d26-8de4-1e0162709c61 access-key: 36099e87-5cfc-4d26-8de4-1e0162709c61
domain: https://www.okx.com domain: https://www.okx.com
@ -11,7 +11,7 @@ mexc:
domain: https://api.mexc.com domain: https://api.mexc.com
passphrase: passphrase:
access-key: access-key:
secert: secret:
proxy: proxy:
host: 127.0.0.1 host: 127.0.0.1
port: 6789 port: 6789

Loading…
Cancel
Save