You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.4 KiB
45 lines
1.4 KiB
|
|
grpcReflection = true # 注册grpc反射服务 |
|
|
|
[register] |
|
nodeId = 1 # grpc服务节点id, 多实例唯一 |
|
addr = ":8011" # grpc 服务端口 |
|
attrs = { weight = 10 } # grpc 服务权重 |
|
|
|
# okx exchange |
|
[okx] |
|
# apiKey = "7273282c-90f5-498f-9fe0-140ae07f5a73" |
|
# secretKey = "47F9F373CF43827497CA2EF99E889D48" |
|
# passphrase = "Sopod.2347." |
|
apiKey = "48be46ec-30ad-4f6f-a5e2-c9ea712df9cd" |
|
secretKey = "12323BA1B411A2235650BBD784850953" |
|
passphrase = "Tm.123456789" |
|
receiveBuffer = 4096 |
|
marketSubscribeLimit = 16 |
|
consumeBatch = 1024 |
|
consumeLater = 2000 # 时间到达later或者数据累计到batch触发consume |
|
httpProxy = "http://192.168.1.5:7890" |
|
# httpProxy = "http://10.255.183.209:7890" |
|
|
|
# 模拟盘API交易地址如下: |
|
# REST:https://www.okx.com |
|
# WebSocket公共频道:wss://wspap.okx.com:8443/ws/v5/public |
|
# WebSocket私有频道:wss://wspap.okx.com:8443/ws/v5/private |
|
# WebSocket业务频道:wss://wspap.okx.com:8443/ws/v5/business |
|
|
|
# binance key RYgJrvqP4iGqdRth14r0ChgWo8eg0wPEcFqDttsKzvUJDyhOKvPiz42tXxjYIMiG |
|
# secret GLTzNNYzC0AbcINPAYfuKDjkWnAMQUhsyd1ed7ubcdzIRrFZBGUrOAkubqyjekVp |
|
|
|
[exchanges.okx] |
|
api_key = "your-api-key" |
|
secret_key = "your-secret-key" |
|
passphrase = "your-passphrase" |
|
|
|
[exchanges.binance] |
|
api_key = "your-api-key" |
|
secret_key = "your-secret-key" |
|
|
|
[exchanges.bitget] |
|
api_key = "your-api-key" |
|
secret_key = "your-secret-key" |
|
passphrase = "your-passphrase"
|
|
|