package models type BotFeeSetting struct { BuyFee string `xorm:"not null comment('买入手续费') DECIMAL(36,18)"` Id int `xorm:"not null pk autoincr INT"` MarketType int `xorm:"not null comment('市场类型:1现货,2合约,3美股') TINYINT(1)"` MaxEntrustNum int `xorm:"comment('最大挂单数量') INT"` MaxHoldNum int `xorm:"comment('最大持仓数量') INT"` MinBuyNum int `xorm:"comment('买入最小下单金额') INT"` MinSaleNum int `xorm:"comment('卖出最小下单金额') INT"` PayType int `xorm:"not null comment('结算方式:0固定费用,1按比例结算 , 2按张结算') TINYINT(1)"` PurchaseFee string `xorm:"not null default 0.000000000000000000 comment('新股申购手续费') DECIMAL(36,18)"` SaleFee string `xorm:"not null comment('卖出手续费') DECIMAL(36,18)"` }