|
|
@@ -218,6 +218,8 @@ type TradeHolderDetail struct {
|
|
|
FtMarketIDs string `json:"-" form:"marketids"` // 市场id, 逗号隔开
|
|
|
RISKCONTROLMODE int32 `json:"riskcontrolmode" form:"riskcontrolmode" xorm:"RISKCONTROLMODE"` // 风控方式(52模式) 1:按单风控 2:按账户风控
|
|
|
|
|
|
+ TPSLFLAG int32 `json:"tpslflag" xorm:"TPSLFLAG"` // 是否开启止盈止损 - 0:不开启 1:开启(10 按单风控)
|
|
|
+
|
|
|
TPSL_TPFLAG int32 `json:"tpsl_tpflag" xorm:"TPFLAG"` // 止盈标识 - 0:未设置 1:已设置(10按账户风控)
|
|
|
TPSL_TPPRICE string `json:"tpsl_tpprice" xorm:"TPPRICE"` // 止盈价格(10按账户风控)
|
|
|
TPSL_SLFLAG int32 `json:"tpsl_slflag" xorm:"SLFLAG"` // 止损标识 - 0:未设置 1:已设置(10按账户风控)
|
|
|
@@ -254,8 +256,10 @@ with gtmp as
|
|
|
e2.enumdicname currencyname,
|
|
|
m.marketname,
|
|
|
m.trademode,
|
|
|
- m.riskcontrolmode
|
|
|
+ m.riskcontrolmode,
|
|
|
+ gx.tpslflag
|
|
|
from goods g
|
|
|
+ left join goodsex gx on g.goodsid = gx.goodsid
|
|
|
left join enumdicitem e
|
|
|
on g.goodunitid = e.enumitemname
|
|
|
and e.enumdiccode = 'goodsunit'
|