1撤销限价后 市价分单
This commit is contained in:
@ -15,24 +15,26 @@ type Coin struct {
|
||||
|
||||
// TradeSet vts_tradeset 交易配置
|
||||
type TradeSet struct {
|
||||
ID int `db:"id" json:"id"`
|
||||
AmountDigit int `db:"amountdigit"` //基础币种计数精度
|
||||
PriceDigit int `db:"pricecdigit" json:"pricecdigit"` //价格小数点位数
|
||||
Currency string `db:"currency" json:"currency"` //法币
|
||||
Coin string `db:"coin" json:"coin"` //币种
|
||||
PriceChange float64 `db:"pricechange" json:"pricechange"` //价格波动价位
|
||||
MinBuyVal float64 `db:"minbuyval"` //最小下单金额
|
||||
OpenPrice float64 `db:"openprice"` //开盘价格
|
||||
LastPrice string `json:"last"` //最新价格
|
||||
HighPrice string `json:"high"` //24小时最高价
|
||||
LowPrice string `json:"low"` //24小时最低价
|
||||
Volume string `json:"volume"` //24小时成数量
|
||||
QuoteVolume string `json:"quote"` //24小时成交金额
|
||||
MinQty float64 `json:"minQty"` //最小交易数量
|
||||
MaxQty float64 `json:"maxQty"` //最大交易数量
|
||||
MaxNotional string `json:"MaxNotional` //最大名义价值
|
||||
MinNotional string `json:"MinNotional` //最大名义价值
|
||||
E int64 `json:"-"` //推送时间
|
||||
ID int `db:"id" json:"id"`
|
||||
AmountDigit int `db:"amountdigit"` //基础币种计数精度
|
||||
PriceDigit int `db:"pricecdigit" json:"pricecdigit"` //价格小数点位数
|
||||
Currency string `db:"currency" json:"currency"` //法币
|
||||
Coin string `db:"coin" json:"coin"` //币种
|
||||
PriceChange float64 `db:"pricechange" json:"pricechange"` //价格波动价位
|
||||
MinBuyVal float64 `db:"minbuyval"` //最小下单金额
|
||||
OpenPrice float64 `db:"openprice"` //开盘价格
|
||||
LastPrice string `json:"last"` //最新价格
|
||||
HighPrice string `json:"high"` //24小时最高价
|
||||
LowPrice string `json:"low"` //24小时最低价
|
||||
Volume string `json:"volume"` //24小时成数量
|
||||
QuoteVolume string `json:"quote"` //24小时成交金额
|
||||
MinQty float64 `json:"minQty"` //限价单最小交易数量
|
||||
MaxQty float64 `json:"maxQty"` //限价单最大交易数量
|
||||
MarketMaxQty float64 `json:"marketQty"` //市价单最大交易数量
|
||||
MarketMinQty float64 `json:"marketMinQty"` //市价单最小交易数量
|
||||
MaxNotional string `json:"MaxNotional` //最大名义价值
|
||||
MinNotional string `json:"MinNotional` //最大名义价值
|
||||
E int64 `json:"-"` //推送时间
|
||||
}
|
||||
|
||||
//CommissionType int `db:"commissiontype"` //手续费:1买,2卖,3双向
|
||||
|
||||
Reference in New Issue
Block a user