diff --git a/schema/dataset_indicator_pro.go b/schema/dataset_indicator_pro.go index 1c934d2..f7b42a8 100644 --- a/schema/dataset_indicator_pro.go +++ b/schema/dataset_indicator_pro.go @@ -32,6 +32,7 @@ type DatasetIndicatorPro struct { TotalMv float64 `gorm:"type:decimal(20,4);comment:总市值(万元)"` CircMv float64 `gorm:"type:decimal(20,4);comment:流通市值(万元)"` AdjFactor float64 `gorm:"type:decimal(20,6);comment:复权因子"` + AtrQfq20 float64 `gorm:"type:decimal(20,6);comment:ATR20前复权"` MaQfq5 float64 `gorm:"type:decimal(20,6);comment:MA5前复权"` MaQfq10 float64 `gorm:"type:decimal(20,6);comment:MA10前复权"` MaQfq20 float64 `gorm:"type:decimal(20,6);comment:MA20前复权"` diff --git a/tushare/indicator.go b/tushare/indicator.go index dead85e..d9acd37 100644 --- a/tushare/indicator.go +++ b/tushare/indicator.go @@ -55,6 +55,7 @@ func (cli *TushareClient) StkFactorPro(ts_code, trade_date, start_date, end_date {"total_mv": "总市值(万元)"}, {"circ_mv": "流通市值(万元)"}, {"adj_factor": "复权因子"}, + {"atr_qfq": "ATR前复权"}, {"ma_qfq_5": "MA5前复权"}, {"ma_qfq_10": "MA10前复权"}, {"ma_qfq_20": "MA20前复权"},