This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
# 撤单解冻场景用例数据(数据驱动)
|
||||
# 每行一个场景:限价开仓挂单 → 撤单 → 三重校验(响应 / 落库 / 缓存)。
|
||||
# 期望冻结金额由公式层独立计算(formula.frozen_margin),不抄被测系统返回值。
|
||||
|
||||
cancelScenarios:
|
||||
# 全仓-限价-买入开仓后撤单(冻结走全仓冻结字段)
|
||||
- name: 全仓限价买入撤单解冻
|
||||
order:
|
||||
contractId: 1
|
||||
side: bid
|
||||
positionEffect: 1
|
||||
price: 100
|
||||
quantity: 10
|
||||
orderType: 1
|
||||
timeInForce: GTC
|
||||
marginType: 1
|
||||
marginRate: '0.01'
|
||||
orderSourceType: 1
|
||||
# 逐仓-限价-卖出开仓后撤单(冻结走逐仓冻结字段)
|
||||
- name: 逐仓限价卖出撤单解冻
|
||||
order:
|
||||
contractId: 1
|
||||
side: ask
|
||||
positionEffect: 1
|
||||
price: 100
|
||||
quantity: 10
|
||||
orderType: 1
|
||||
timeInForce: GTC
|
||||
marginType: 2
|
||||
marginRate: '0.02'
|
||||
orderSourceType: 1
|
||||
Reference in New Issue
Block a user