修正逻辑
This commit is contained in:
@@ -5,17 +5,29 @@ type LimitBoardRequest struct {
|
||||
}
|
||||
|
||||
type LimitBoardStock struct {
|
||||
Symbol string `json:"symbol"`
|
||||
TsCode string `json:"ts_code"`
|
||||
Name string `json:"name"`
|
||||
Market string `json:"market"`
|
||||
TradeDate string `json:"trade_date"`
|
||||
Close float64 `json:"close"`
|
||||
LimitPrice float64 `json:"limit_price"`
|
||||
PctChg float64 `json:"pct_chg"`
|
||||
BoardCount int `json:"board_count"`
|
||||
BoardLabel string `json:"board_label"`
|
||||
DisplayStatus string `json:"display_status"`
|
||||
Symbol string `json:"symbol"`
|
||||
TsCode string `json:"ts_code"`
|
||||
Name string `json:"name"`
|
||||
Market string `json:"market"`
|
||||
TradeDate string `json:"trade_date"`
|
||||
Close float64 `json:"close"`
|
||||
LimitPrice float64 `json:"limit_price"`
|
||||
PctChg float64 `json:"pct_chg"`
|
||||
AkAmount *float64 `json:"ak_amount"`
|
||||
AkFloatMarketValue *float64 `json:"ak_float_market_value"`
|
||||
AkTotalMarketValue *float64 `json:"ak_total_market_value"`
|
||||
AkTurnoverRate *float64 `json:"ak_turnover_rate"`
|
||||
AkSealAmount *float64 `json:"ak_seal_amount"`
|
||||
AkFirstLimitTime *string `json:"ak_first_limit_time"`
|
||||
AkLastLimitTime *string `json:"ak_last_limit_time"`
|
||||
AkBreakLimitCount *int `json:"ak_break_limit_count"`
|
||||
AkLimitUpStat *string `json:"ak_limit_up_stat"`
|
||||
AkLimitUpDays *int `json:"ak_limit_up_days"`
|
||||
AkIndustry *string `json:"ak_industry"`
|
||||
Vol *int64 `json:"vol"`
|
||||
BoardCount int `json:"board_count"`
|
||||
BoardLabel string `json:"board_label"`
|
||||
DisplayStatus string `json:"display_status"`
|
||||
}
|
||||
|
||||
type LimitBoardGroup struct {
|
||||
|
||||
@@ -11,6 +11,7 @@ type StockDaily struct {
|
||||
Low float64 `gorm:"column:low" json:"low"`
|
||||
Close float64 `gorm:"column:close" json:"close"`
|
||||
PctChg float64 `gorm:"column:pct_chg" json:"pct_chg"`
|
||||
Vol float64 `gorm:"column:vol" json:"vol"`
|
||||
}
|
||||
|
||||
// AnalyzeRequest 用于接收前端 POST 请求的参数
|
||||
|
||||
Reference in New Issue
Block a user