45 lines
1.4 KiB
Go
45 lines
1.4 KiB
Go
package model
|
|
|
|
type LimitBoardRequest struct {
|
|
TradeDate string `form:"trade_date" json:"trade_date"`
|
|
}
|
|
|
|
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"`
|
|
}
|
|
|
|
type LimitBoardGroup struct {
|
|
BoardCount int `json:"board_count"`
|
|
Label string `json:"label"`
|
|
Count int `json:"count"`
|
|
Stocks []LimitBoardStock `json:"stocks"`
|
|
}
|
|
|
|
type LimitBoardSummary struct {
|
|
MaxBoardCount int `json:"max_board_count"`
|
|
LimitCount int `json:"limit_count"`
|
|
GroupCount int `json:"group_count"`
|
|
}
|
|
|
|
type LimitBoardDailyMax struct {
|
|
TradeDate string `json:"trade_date"`
|
|
MaxBoardCount int `json:"max_board_count"`
|
|
}
|
|
|
|
type LimitBoardResponse struct {
|
|
TradeDate string `json:"trade_date"`
|
|
Summary LimitBoardSummary `json:"summary"`
|
|
RecentMaxBoardStats []LimitBoardDailyMax `json:"recent_max_board_stats"`
|
|
Groups []LimitBoardGroup `json:"groups"`
|
|
}
|