新增当日开盘价低于前一交易日涨停价格 101% 的判断。新增下载csv 文件接口。
This commit is contained in:
@@ -62,6 +62,36 @@ type LimitOpenCompareStock struct {
|
||||
Vol *int64 `json:"vol"`
|
||||
}
|
||||
|
||||
type LimitOpenThresholdStock struct {
|
||||
Symbol string `json:"symbol"`
|
||||
TsCode string `json:"ts_code"`
|
||||
Name string `json:"name"`
|
||||
Market string `json:"market"`
|
||||
TradeDate string `json:"trade_date"`
|
||||
HasOpen bool `json:"-"`
|
||||
Open float64 `json:"open"`
|
||||
Close float64 `json:"close"`
|
||||
PreviousTradeDate string `json:"previous_trade_date"`
|
||||
HasPreviousClose bool `json:"-"`
|
||||
PreviousClose float64 `json:"previous_close"`
|
||||
OpenThresholdPrice float64 `json:"open_threshold_price"`
|
||||
OpenPreviousCloseRatio float64 `json:"open_previous_close_ratio"`
|
||||
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"`
|
||||
}
|
||||
|
||||
type LimitOpenCompareGroup struct {
|
||||
Key string `json:"key"`
|
||||
Label string `json:"label"`
|
||||
@@ -69,6 +99,13 @@ type LimitOpenCompareGroup struct {
|
||||
Stocks []LimitOpenCompareStock `json:"stocks"`
|
||||
}
|
||||
|
||||
type LimitOpenThresholdGroup struct {
|
||||
Key string `json:"key"`
|
||||
Label string `json:"label"`
|
||||
Count int `json:"count"`
|
||||
Stocks []LimitOpenThresholdStock `json:"stocks"`
|
||||
}
|
||||
|
||||
type LimitOpenCompareSummary struct {
|
||||
LimitCount int `json:"limit_count"`
|
||||
OpenLowerPreviousCloseCount int `json:"open_lower_previous_close_count"`
|
||||
@@ -77,6 +114,13 @@ type LimitOpenCompareSummary struct {
|
||||
FirstSecondBeforeElevenCount int `json:"first_second_before_eleven_count"`
|
||||
}
|
||||
|
||||
type LimitOpenThresholdSummary struct {
|
||||
LimitCount int `json:"limit_count"`
|
||||
OpenWithinThresholdCount int `json:"open_within_threshold_count"`
|
||||
OpenAtOrAboveThresholdCount int `json:"open_at_or_above_threshold_count"`
|
||||
ThresholdRatio float64 `json:"threshold_ratio"`
|
||||
}
|
||||
|
||||
type LimitOpenCompareResponse struct {
|
||||
TradeDate string `json:"trade_date"`
|
||||
PreviousTradeDate string `json:"previous_trade_date"`
|
||||
@@ -85,6 +129,13 @@ type LimitOpenCompareResponse struct {
|
||||
Groups []LimitOpenCompareGroup `json:"groups"`
|
||||
}
|
||||
|
||||
type LimitOpenThresholdResponse struct {
|
||||
TradeDate string `json:"trade_date"`
|
||||
PreviousTradeDate string `json:"previous_trade_date"`
|
||||
Summary LimitOpenThresholdSummary `json:"summary"`
|
||||
Groups []LimitOpenThresholdGroup `json:"groups"`
|
||||
}
|
||||
|
||||
type LimitBoardGroup struct {
|
||||
BoardCount int `json:"board_count"`
|
||||
Label string `json:"label"`
|
||||
|
||||
Reference in New Issue
Block a user