1
This commit is contained in:
@ -188,6 +188,7 @@ type OpenOrders struct {
|
||||
|
||||
// 待触发加仓单
|
||||
type AddPositionList struct {
|
||||
Id int `json:"id"` //订单id
|
||||
Pid int `json:"pid"` //父级id
|
||||
MainId int `json:"mainId"` //主单Id
|
||||
ApiId int `json:"apiId"` //触发账户id
|
||||
@ -195,6 +196,7 @@ type AddPositionList struct {
|
||||
Price decimal.Decimal `json:"price"` //触发价
|
||||
Side string `json:"side"` //买卖方向
|
||||
SymbolType int `json:"type" comment:"交易对类别 1-现货 2-合约"`
|
||||
OrderSn string `json:"prderSn"`
|
||||
}
|
||||
|
||||
// SpotAccountInfo 现货账户信息
|
||||
@ -225,3 +227,15 @@ type SpotAccountInfo struct {
|
||||
Permissions []string `json:"permissions"`
|
||||
Uid int `json:"uid"`
|
||||
}
|
||||
|
||||
type ReduceListItem struct {
|
||||
Id int `json:"id"`
|
||||
ApiId int `json:"apiId"`
|
||||
MainId int `json:"mainId"`
|
||||
Pid int `json:"pid"`
|
||||
Symbol string `json:"symbol"`
|
||||
Price decimal.Decimal `json:"price"`
|
||||
Side string `json:"side"`
|
||||
Num decimal.Decimal `json:"num"`
|
||||
OrderSn string `json:"orderSn"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user