This commit is contained in:
2026-04-09 14:25:18 +08:00
parent 4d3ac3836d
commit d02082a3b5
3 changed files with 7 additions and 0 deletions

View File

@@ -35,6 +35,7 @@ type CollectorOrder struct {
TradedPrice float64 `json:"traded_price" gorm:"type:decimal(10,4);not null;default:0;column:traded_price;comment:成交均价"`
TradedVolume int `json:"traded_volume" gorm:"not null;default:0;column:traded_volume;comment:成交数量"`
OrderStatus int `json:"order_status" gorm:"not null;default:0;column:order_status;comment:订单状态"`
OffsetFlag int `json:"offset_flag" gorm:"not null;default:0;column:offset_flag;comment:开平标志"`
OrderTime int64 `json:"order_time" gorm:"not null;column:order_time;comment:下单时间戳"`
OrderRemark string `json:"order_remark" gorm:"type:text;column:order_remark;comment:订单备注"`
DataHash string `json:"data_hash" gorm:"type:varchar(64);not null;comment:数据哈希值(用于变化检测)"`