fix bug
This commit is contained in:
@@ -2,6 +2,7 @@ package a
|
||||
|
||||
import (
|
||||
"log"
|
||||
"strings"
|
||||
|
||||
"git.apinb.com/dataset/stock/internal/impl"
|
||||
"git.apinb.com/dataset/stock/internal/models"
|
||||
@@ -22,7 +23,8 @@ func GetStockIndicator() {
|
||||
continue
|
||||
}
|
||||
|
||||
reply, err := TushareClient.Daily(params, []string{})
|
||||
fields := strings.Split("ts_code,trade_date,close,turnover_rate,turnover_rate_f,volume_ratio,pe,pe_ttm,pb,ps,ps_ttm,dv_ratio,dv_ttm,total_share,float_share,free_share,total_mv,circ_mv", ",")
|
||||
reply, err := TushareClient.Daily(params, fields)
|
||||
if err != nil {
|
||||
log.Println("ERROR", "GetStockIndicator", err)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user