|
|
@@ -22,16 +22,21 @@ declare global {
|
|
|
NotifyTime: string; // string 通知发送时间
|
|
|
}
|
|
|
|
|
|
- /** 斩仓通知 */
|
|
|
- interface RiskCutNtf {
|
|
|
+ /** 风控通知 */
|
|
|
+ interface RiskControlNtf {
|
|
|
Header: IMessageHead;
|
|
|
NtfHeader: NotifyHead; // NotifyHead 公共消息头
|
|
|
AccountId: number; // uint64 账号id
|
|
|
+ AccountStatus: number; // int32 账户状态
|
|
|
+ AccountType: number; // int32 账户类型
|
|
|
+ AccountCode: string; // string 账户名称
|
|
|
+ AccountName: string; // string 账户名称
|
|
|
RiskLevel: number; // int32 当前风险级别:1:提示,
|
|
|
+ MsgContent: string; // string 风控消息内容
|
|
|
Idate: string; // datetime 时间
|
|
|
- CurRate: number; // double 实时风险率
|
|
|
- CutRate: number; // double 斩仓触发风险率
|
|
|
- SafeRate: number; // double 斩仓恢复风险率
|
|
|
+ RiskRate: number; // double 风险率
|
|
|
+ CurrentNetBalance: number; // double 净值
|
|
|
+ RiskType: number; // int32 风控类型:0:默认风险率监控,1:安全度风控
|
|
|
}
|
|
|
}
|
|
|
}
|