交易接口

1. 股票买入

POST /trade/buy

根据指定的总金额买入股票,系统会自动根据当前市场价格计算可买入的股数(自动按手数整理)。

请求头

名称类型必填描述
Content-Typestring是固定值:“application/json”

请求体

名称类型必填描述
login_idstring是登录账号ID
security_codestring是证券代码,6 位数字格式
示例值:“000001”
amountdouble是买入金额(单位:万元)
示例值:1.5 表示 1.5 万元
pricedouble否限价价格,如果传入则以此价格为准,否则以行情实时价格为准
示例值:12.50
chasing_rise_halfwayboolean否是否是半路追涨模式,默认为false

请求示例

curl --location --request POST 'http://localhost:8080/trade/buy' \
--header 'Content-Type: application/json' \
--data-raw '{
  "login_id": "123456",
  "security_code": "000001",
  "amount": 1.5
}'

响应

响应体
名称类型描述
codeint错误码,0 表示成功
msgstring响应消息
dataobject订单响应数据
request_idint64请求ID
order_idint64订单ID
exchange_order_idstring交易所订单ID
batch_idint64批次ID
login_idstring登录账号ID
security_codestring证券代码
marketint市场类型
sideint买卖方向
order_typeint订单类型
pricedouble委托价格
quantityint64委托数量
amountdouble订单金额
statusint订单状态
status_msgstring状态消息
order_timeint64委托时间(微秒)
timestampint64时间戳(微秒)
响应体示例
{
  "code": 0,
  "msg": "success",
  "data": {
    "request_id": 1001,
    "order_id": 20001,
    "exchange_order_id": "E123456789",
    "batch_id": 0,
    "login_id": "123456",
    "security_code": "000001",
    "market": 1,
    "side": 0,
    "order_type": 0,
    "price": 12.34,
    "quantity": 1200,
    "amount": 14808.0,
    "status": 0,
    "status_msg": "order submitted",
    "order_time": 1699261200000000,
    "timestamp": 1699261200123000
  }
}

2. 股票卖出

POST /trade/sell

按指定股数卖出股票,以当前市场价格进行卖出操作。

请求头

名称类型必填描述
Content-Typestring是固定值:“application/json”

请求体

名称类型必填描述
login_idstring是登录账号ID
security_codestring是证券代码,6 位数字格式
示例值:“000001”
quantityint64是卖出股数
示例值:1000
pricedouble否限价价格,如果传入则以此价格为准,否则以行情实时价格为准
示例值:12.30

请求示例

curl --location --request POST 'http://localhost:8080/trade/sell' \
--header 'Content-Type: application/json' \
--data-raw '{
  "login_id": "123456",
  "security_code": "000001",
  "quantity": 1000
}'

响应

响应体
名称类型描述
codeint错误码,0 表示成功
msgstring响应消息
dataobject订单响应数据
request_idint64请求ID
order_idint64订单ID
exchange_order_idstring交易所订单ID
batch_idint64批次ID
login_idstring登录账号ID
security_codestring证券代码
marketint市场类型
sideint买卖方向
order_typeint订单类型
pricedouble委托价格
quantityint64委托数量
amountdouble订单金额
statusint订单状态
status_msgstring状态消息
order_timeint64委托时间(微秒)
timestampint64时间戳(微秒)
响应体示例
{
  "code": 0,
  "msg": "success",
  "data": {
    "request_id": 1002,
    "order_id": 20002,
    "exchange_order_id": "E123456790",
    "batch_id": 0,
    "login_id": "123456",
    "security_code": "000001",
    "market": 1,
    "side": 1,
    "order_type": 0,
    "price": 12.30,
    "quantity": 1000,
    "amount": 12300.0,
    "status": 0,
    "status_msg": "order submitted",
    "order_time": 1699261300000000,
    "timestamp": 1699261300123456
  }
}

3. 撤单

POST /trade/cancel

撤销指定的委托订单。

请求头

名称类型必填描述
Content-Typestring是固定值:“application/json”

请求体

名称类型必填描述
login_idstring是登录账号ID
marketint是市场类型
示例值:1 表示深圳,2 表示上海
order_idint64是订单ID
batch_idint64否批次ID(可选,默认为0)

请求示例

curl --location --request POST 'http://localhost:8080/trade/cancel' \
--header 'Content-Type: application/json' \
--data-raw '{
  "login_id": "123456",
  "market": 1,
  "order_id": 20001,
  "batch_id": 0
}'

响应

响应体
名称类型描述
codeint错误码,0 表示成功
msgstring响应消息
dataobject撤单响应数据
request_idint64请求ID
order_idint64订单ID
batch_idint64批次ID
marketint市场类型
statusint撤单状态
status_msgstring状态消息
cancel_timeint64撤单时间(微秒)
timestampint64时间戳(微秒)
响应体示例
{
  "code": 0,
  "msg": "success",
  "data": {
    "request_id": 1003,
    "order_id": 20001,
    "batch_id": 0,
    "market": 1,
    "status": 0,
    "status_msg": "cancel submitted",
    "cancel_time": 1699261400000000,
    "timestamp": 1699261400123000
  }
}

4. 银证转账

POST /trade/bank-transfer

进行银行与证券账户之间的资金转账操作。

请求头

名称类型必填描述
Content-Typestring是固定值:“application/json”

请求体

名称类型必填描述
login_idstring是登录账号ID
directionint是转账方向
0:银行转证券(转入)
1:证券转银行(转出)
marketint是市场类型
transfer_amountdouble是转账金额(单位:元)
currencystring否币种(默认:CNY)
bank_passwordstring是银行密码
fund_passwordstring是资金密码
remarkstring否备注信息

请求示例

curl --location --request POST 'http://localhost:8080/trade/bank-transfer' \
--header 'Content-Type: application/json' \
--data-raw '{
  "login_id": "123456",
  "direction": 0,
  "market": 1,
  "transfer_amount": 10000.0,
  "currency": "CNY",
  "bank_password": "******",
  "fund_password": "******",
  "remark": "transfer in"
}'

响应

响应体
名称类型描述
codeint错误码,0 表示成功
msgstring响应消息
dataobject转账响应数据
request_idint64请求ID
transfer_idstring转账流水号
directionint转账方向
transfer_amountdouble转账金额
currencystring币种
statusint转账状态
status_msgstring状态消息
transfer_timeint64转账时间(微秒)
timestampint64时间戳(微秒)
响应体示例
{
  "code": 0,
  "msg": "success",
  "data": {
    "request_id": 1004,
    "transfer_id": "T202401150001",
    "direction": 0,
    "transfer_amount": 10000.0,
    "currency": "CNY",
    "status": 0,
    "status_msg": "transfer success",
    "transfer_time": 1699261500000000,
    "timestamp": 1699261500123000
  }
}

5. 市场间资金转账

POST /trade/fund-transfer

在不同市场(深圳、上海)之间进行资金划转。

请求头

名称类型必填描述
Content-Typestring是固定值:“application/json”

请求体

名称类型必填描述
login_idstring是登录账号ID
from_marketint是转出市场类型
to_marketint是转入市场类型
transfer_amountdouble是转账金额(单位:元)
currencystring否币种(默认:CNY)

请求示例

curl --location --request POST 'http://localhost:8080/trade/fund-transfer' \
--header 'Content-Type: application/json' \
--data-raw '{
  "login_id": "123456",
  "from_market": 1,
  "to_market": 2,
  "transfer_amount": 5000.0,
  "currency": "CNY"
}'

响应

响应体
名称类型描述
codeint错误码,0 表示成功
msgstring响应消息
dataobject转账响应数据
request_idint64请求ID
from_marketint转出市场
to_marketint转入市场
transfer_amountdouble转账金额
currencystring币种
statusint转账状态
status_msgstring状态消息
transfer_timeint64转账时间(微秒)
timestampint64时间戳(微秒)
响应体示例
{
  "code": 0,
  "msg": "success",
  "data": {
    "request_id": 1005,
    "from_market": 1,
    "to_market": 2,
    "transfer_amount": 5000.0,
    "currency": "CNY",
    "status": 0,
    "status_msg": "transfer success",
    "transfer_time": 1699261600000000,
    "timestamp": 1699261600123000
  }
}

6. TWAP拆单卖出

POST /trade/twap-sell

使用 TWAP(时间加权平均价格)算法进行智能拆单卖出,将大单拆分成多个小单在指定时间段内均匀执行。

请求头

名称类型必填描述
Content-Typestring是固定值:“application/json”

请求体

名称类型必填描述
login_idstring是登录账号ID
security_codestring是证券代码,6 位数字格式
quantityint64是总卖出股数
start_timestring否开始时间(ISO8601 格式,如:2024-01-15T09:30:00)
不填则立即开始
end_timestring否结束时间(ISO8601 格式,如:2024-01-15T09:40:00)
不填则默认开始时间后 10 分钟
interval_secondsint否拆单间隔时间(秒),默认 10 秒
范围:1-3600
enable_price_thresholdbool否是否启用价格阈值保护,默认 false
price_threshold_ratiodouble否价格阈值比例(0.0-1.0),默认 0.05(5%)
当价格偏离超过此比例时暂停交易

请求示例

curl --location --request POST 'http://localhost:8080/trade/twap-sell' \
--header 'Content-Type: application/json' \
--data-raw '{
  "login_id": "123456",
  "security_code": "000001",
  "quantity": 10000,
  "start_time": "2024-01-15T09:30:00",
  "end_time": "2024-01-15T09:40:00",
  "interval_seconds": 10,
  "enable_price_threshold": true,
  "price_threshold_ratio": 0.05
}'

响应

响应体
名称类型描述
codeint错误码,0 表示成功
msgstring响应消息
dataobjectTWAP 任务响应数据
task_idint64任务ID(数字格式)
task_id_formattedstring任务ID(格式化字符串)
login_idstring登录账号ID
security_codestring证券代码
marketint市场类型
total_quantityint64总卖出股数
interval_secondsint拆单间隔时间(秒)
enable_price_thresholdbool是否启用价格阈值保护
price_threshold_ratiodouble价格阈值比例
task_detailsobject任务详细信息(包括状态、进度等)
响应体示例
{
  "code": 0,
  "msg": "success",
  "data": {
    "task_id": 1699261700001,
    "task_id_formatted": "TWAP-20240115-001",
    "login_id": "123456",
    "security_code": "000001",
    "market": 1,
    "total_quantity": 10000,
    "interval_seconds": 10,
    "enable_price_threshold": true,
    "price_threshold_ratio": 0.05,
    "task_details": {
      "status": "running",
      "progress": 0.0,
      "executed_quantity": 0,
      "remaining_quantity": 10000,
      "avg_price": 0.0,
      "create_time": 1699261700000,
      "start_time": 1699262600000,
      "end_time": 1699263200000
    }
  }
}

7. 查询TWAP任务状态

GET /trade/twap/task

查询指定 TWAP 任务的执行状态和进度信息。

请求头

名称类型必填描述
Content-Typestring是固定值:“application/json”

查询参数

名称类型必填描述
task_idint64是TWAP 任务ID

请求示例

curl --location --request GET 'http://localhost:8080/trade/twap/task?task_id=1699261700001' \
--header 'Content-Type: application/json'

响应

响应体
名称类型描述
codeint错误码,0 表示成功
msgstring响应消息
dataobject任务状态数据
task_idint64任务ID
statusstring任务状态(pending/running/completed/cancelled/failed)
progressdouble执行进度(0.0-1.0)
executed_quantityint64已执行股数
remaining_quantityint64剩余股数
total_quantityint64总股数
avg_pricedouble平均成交价格
executed_ordersint已执行订单数
total_ordersint总订单数
create_timeint64创建时间(毫秒)
start_timeint64开始时间(毫秒)
end_timeint64结束时间(毫秒)
update_timeint64更新时间(毫秒)
响应体示例
{
  "code": 0,
  "msg": "success",
  "data": {
    "task_id": 1699261700001,
    "status": "running",
    "progress": 0.35,
    "executed_quantity": 3500,
    "remaining_quantity": 6500,
    "total_quantity": 10000,
    "avg_price": 12.28,
    "executed_orders": 35,
    "total_orders": 100,
    "create_time": 1699261700000,
    "start_time": 1699262600000,
    "end_time": 1699263200000,
    "update_time": 1699262810000
  }
}

8. 取消TWAP任务

POST /trade/twap/cancel

取消指定的 TWAP 任务,停止后续订单的执行。

请求头

名称类型必填描述
Content-Typestring是固定值:“application/json”

查询参数

名称类型必填描述
task_idint64是TWAP 任务ID

请求示例

curl --location --request POST 'http://localhost:8080/trade/twap/cancel?task_id=1699261700001' \
--header 'Content-Type: application/json'

响应

响应体
名称类型描述
codeint错误码,0 表示成功
msgstring响应消息
dataobject取消响应数据
task_idint64任务ID
task_id_formattedstring任务ID(格式化字符串)
statusstring任务状态
messagestring操作消息
响应体示例
{
  "code": 0,
  "msg": "success",
  "data": {
    "task_id": 1699261700001,
    "task_id_formatted": "TWAP-20240115-001",
    "status": "cancelled",
    "message": "TWAP task cancelled successfully"
  }
}

9. 查询委托

GET /trade/query/orders

查询指定账户的委托订单信息。

请求头

名称类型必填描述
Content-Typestring是固定值:“application/json”

查询参数

名称类型必填描述
login_idstring是登录账号ID
marketint是市场类型
security_codestring否证券代码(可选,不填则查询所有)
order_idint64否订单ID(可选,查询指定订单)
conditionint否查询条件(默认查询所有)
sortint否排序方式(默认排序)
limitint64否返回记录数限制(默认 100)

请求示例

curl --location --request GET 'http://localhost:8080/trade/query/orders?login_id=123456&market=1&security_code=000001&limit=50' \
--header 'Content-Type: application/json'

响应

响应体
名称类型描述
codeint错误码,0 表示成功
msgstring响应消息
dataobject查询结果数据
login_idstring登录账号ID
total_countint总记录数
security_codestring证券代码(如果指定)
order_idint64订单ID(如果指定)
ordersarray委托订单数组

orders 数组元素:

名称类型描述
cust_idstring客户ID
fund_account_idstring资金账号ID
branch_idstring营业部ID
security_codestring证券代码
security_namestring证券名称
marketint市场类型
request_idint64请求ID
order_idint64订单ID
exchange_order_idstring交易所订单ID
batch_idint64批次ID
sideint买卖方向
signint开平标志
order_typeint订单类型
statusint订单状态
status_msgstring状态消息
pricedouble委托价格
qtyint64委托数量
leaves_qtyint64剩余数量
cum_qtyint64累计成交数量
avg_pricedouble成交均价
cum_amtdouble累计成交金额
order_timeint64委托时间(微秒)
update_timeint64更新时间(微秒)
timestampint64时间戳(微秒)
business_typestring业务类型
opu_idstringOPU ID
响应体示例
{
  "code": 0,
  "msg": "success",
  "data": {
    "login_id": "123456",
    "total_count": 2,
    "security_code": "000001",
    "orders": [
      {
        "cust_id": "C123456",
        "fund_account_id": "F123456",
        "branch_id": "B001",
        "security_code": "000001",
        "security_name": "平安银行",
        "market": 1,
        "request_id": 1001,
        "order_id": 20001,
        "exchange_order_id": "E123456789",
        "batch_id": 0,
        "side": 0,
        "sign": 0,
        "order_type": 0,
        "status": 2,
        "status_msg": "filled",
        "price": 12.34,
        "qty": 1200,
        "leaves_qty": 0,
        "cum_qty": 1200,
        "avg_price": 12.33,
        "cum_amt": 14796.0,
        "order_time": 1699261200000000,
        "update_time": 1699261205000000,
        "timestamp": 1699261205123000,
        "business_type": "normal",
        "opu_id": "OPU001"
      },
      {
        "cust_id": "C123456",
        "fund_account_id": "F123456",
        "branch_id": "B001",
        "security_code": "000001",
        "security_name": "平安银行",
        "market": 1,
        "request_id": 1002,
        "order_id": 20002,
        "exchange_order_id": "E123456790",
        "batch_id": 0,
        "side": 1,
        "sign": 0,
        "order_type": 0,
        "status": 1,
        "status_msg": "partially filled",
        "price": 12.30,
        "qty": 1000,
        "leaves_qty": 300,
        "cum_qty": 700,
        "avg_price": 12.29,
        "cum_amt": 8603.0,
        "order_time": 1699261300000000,
        "update_time": 1699261310000000,
        "timestamp": 1699261310123000,
        "business_type": "normal",
        "opu_id": "OPU001"
      }
    ]
  }
}

10. 查询成交

GET /trade/query/trades

查询指定账户的成交记录信息。

请求头

名称类型必填描述
Content-Typestring是固定值:“application/json”

查询参数

名称类型必填描述
login_idstring是登录账号ID
marketint是市场类型
security_codestring否证券代码(可选,不填则查询所有)
order_idint64否订单ID(可选,查询指定订单的成交)
conditionint否查询条件(默认使用全局参数)
sortint否排序方式(默认排序)
limitint64否返回记录数限制(默认 100)

请求示例

curl --location --request GET 'http://localhost:8080/trade/query/trades?login_id=123456&market=1&security_code=000001&limit=50' \
--header 'Content-Type: application/json'

响应

响应体
名称类型描述
codeint错误码,0 表示成功
msgstring响应消息
dataobject查询结果数据
login_idstring登录账号ID
total_countint总记录数
security_codestring证券代码(如果指定)
order_idint64订单ID(如果指定)
tradesarray成交记录数组

trades 数组元素:

名称类型描述
cust_idstring客户ID
fund_account_idstring资金账号ID
branch_idstring营业部ID
security_codestring证券代码
security_namestring证券名称
marketint市场类型
request_idint64请求ID
trade_idstring成交编号
order_idint64订单ID
exchange_order_idstring交易所订单ID
batch_idint64批次ID
sideint买卖方向
order_typeint订单类型
business_typestring业务类型
pricedouble成交价格
qtyint64成交数量
valuedouble成交金额
feedouble交易费用
currencystring币种
trade_timeint64成交时间(微秒)
timestampint64时间戳(微秒)
响应体示例
{
  "code": 0,
  "msg": "success",
  "data": {
    "login_id": "123456",
    "total_count": 3,
    "security_code": "000001",
    "trades": [
      {
        "cust_id": "C123456",
        "fund_account_id": "F123456",
        "branch_id": "B001",
        "security_code": "000001",
        "security_name": "平安银行",
        "market": 1,
        "request_id": 1001,
        "trade_id": "T20240115001",
        "order_id": 20001,
        "exchange_order_id": "E123456789",
        "batch_id": 0,
        "side": 0,
        "order_type": 0,
        "business_type": "normal",
        "price": 12.33,
        "qty": 800,
        "value": 9864.0,
        "fee": 5.92,
        "currency": "CNY",
        "trade_time": 1699261202000000,
        "timestamp": 1699261202123000
      },
      {
        "cust_id": "C123456",
        "fund_account_id": "F123456",
        "branch_id": "B001",
        "security_code": "000001",
        "security_name": "平安银行",
        "market": 1,
        "request_id": 1001,
        "trade_id": "T20240115002",
        "order_id": 20001,
        "exchange_order_id": "E123456789",
        "batch_id": 0,
        "side": 0,
        "order_type": 0,
        "business_type": "normal",
        "price": 12.34,
        "qty": 400,
        "value": 4936.0,
        "fee": 2.96,
        "currency": "CNY",
        "trade_time": 1699261204000000,
        "timestamp": 1699261204123000
      },
      {
        "cust_id": "C123456",
        "fund_account_id": "F123456",
        "branch_id": "B001",
        "security_code": "000001",
        "security_name": "平安银行",
        "market": 1,
        "request_id": 1002,
        "trade_id": "T20240115003",
        "order_id": 20002,
        "exchange_order_id": "E123456790",
        "batch_id": 0,
        "side": 1,
        "order_type": 0,
        "business_type": "normal",
        "price": 12.29,
        "qty": 700,
        "value": 8603.0,
        "fee": 5.16,
        "currency": "CNY",
        "trade_time": 1699261310000000,
        "timestamp": 16992613101230000
      }
    ]
  }
}

11. 查询持仓

GET /trade/query/positions

查询指定账户的持仓信息。

请求头

名称类型必填描述
Content-Typestring是固定值:“application/json”

查询参数

名称类型必填描述
login_idstring是登录账号ID
marketint是市场类型
security_codestring否证券代码(可选,不填则查询所有)
limitint64否返回记录数限制(默认 100)

请求示例

curl --location --request GET 'http://localhost:8080/trade/query/positions?login_id=123456&market=1&limit=50' \
--header 'Content-Type: application/json'

响应

响应体
名称类型描述
codeint错误码,0 表示成功
msgstring响应消息
dataobject查询结果数据
login_idstring登录账号ID
total_countint总记录数
security_codestring证券代码(如果指定)
positionsarray持仓记录数组

positions 数组元素:

名称类型描述
cust_idstring客户ID
fund_account_idstring资金账号ID
branch_idstring营业部ID
security_codestring证券代码
security_namestring证券名称
marketint市场类型
security_typestring证券类型
request_idint64请求ID
total_qtyint64总持仓数量
available_qtyint64可用数量
frozen_qtyint64冻结数量
today_buy_qtyint64今日买入数量
today_sell_qtyint64今日卖出数量
cost_pricedouble成本价
market_pricedouble市场价
market_valuedouble市值
profit_lossdouble盈亏金额
profit_loss_ratiodouble盈亏比例
update_timeint64更新时间(微秒)
timestampint64时间戳(微秒)
响应体示例
{
  "code": 0,
  "msg": "success",
  "data": {
    "login_id": "123456",
    "total_count": 2,
    "positions": [
      {
        "cust_id": "C123456",
        "fund_account_id": "F123456",
        "branch_id": "B001",
        "security_code": "000001",
        "security_name": "平安银行",
        "market": 1,
        "security_type": "stock",
        "request_id": 1001,
        "total_qty": 5000,
        "available_qty": 5000,
        "frozen_qty": 0,
        "today_buy_qty": 1200,
        "today_sell_qty": 0,
        "cost_price": 12.15,
        "market_price": 12.34,
        "market_value": 61700.0,
        "profit_loss": 950.0,
        "profit_loss_ratio": 0.0156,
        "update_time": 1699261400000000,
        "timestamp": 1699261400123000
      },
      {
        "cust_id": "C123456",
        "fund_account_id": "F123456",
        "branch_id": "B001",
        "security_code": "600000",
        "security_name": "浦发银行",
        "market": 2,
        "security_type": "stock",
        "request_id": 1002,
        "total_qty": 3000,
        "available_qty": 2700,
        "frozen_qty": 300,
        "today_buy_qty": 0,
        "today_sell_qty": 300,
        "cost_price": 8.56,
        "market_price": 8.72,
        "market_value": 26160.0,
        "profit_loss": 480.0,
        "profit_loss_ratio": 0.0187,
        "update_time": 1699261400000000,
        "timestamp": 1699261400123000
      }
    ]
  }
}

12. 查询资金

GET /trade/query/funds

查询指定账户的资金信息。

请求头

名称类型必填描述
Content-Typestring是固定值:“application/json”

查询参数

名称类型必填描述
login_idstring是登录账号ID
marketint是市场类型
currencystring否币种(默认:CNY)

请求示例

curl --location --request GET 'http://localhost:8080/trade/query/funds?login_id=123456&market=1&currency=CNY' \
--header 'Content-Type: application/json'

响应

响应体
名称类型描述
codeint错误码,0 表示成功
msgstring响应消息
dataobject查询结果数据
login_idstring登录账号ID
total_countint总记录数
fundsarray资金记录数组

funds 数组元素:

名称类型描述
cust_idstring客户ID
fund_account_idstring资金账号ID
branch_idstring营业部ID
current_account_idstring当前账号ID
current_marketint当前市场
request_idint64请求ID
currencystring币种
total_assetdouble总资产
cash_balancedouble现金余额
available_cashdouble可用资金
frozen_cashdouble冻结资金
market_valuedouble持仓市值
buying_powerdouble购买力
withdrawal_cashdouble可取资金
profit_lossdouble盈亏金额
profit_loss_ratiodouble盈亏比例
update_timeint64更新时间(微秒)
timestampint64时间戳(微秒)
响应体示例
{
  "code": 0,
  "msg": "success",
  "data": {
    "login_id": "123456",
    "total_count": 1,
    "funds": [
      {
        "cust_id": "C123456",
        "fund_account_id": "F123456",
        "branch_id": "B001",
        "current_account_id": "A123456",
        "current_market": 1,
        "request_id": 1001,
        "currency": "CNY",
        "total_asset": 150000.0,
        "cash_balance": 62140.0,
        "available_cash": 60000.0,
        "frozen_cash": 2140.0,
        "market_value": 87860.0,
        "buying_power": 60000.0,
        "withdrawal_cash": 58000.0,
        "profit_loss": 1430.0,
        "profit_loss_ratio": 0.0096,
        "update_time": 1699261400000000,
        "timestamp": 1699261400123000
      }
    ]
  }
}