gitee.com/quant1x/engine@v1.8.4/datasource/dfcf/shareholder_test.go (about) 1 package dfcf 2 3 import ( 4 "fmt" 5 "testing" 6 ) 7 8 func TestFreeHoldingDetail(t *testing.T) { 9 data := freeHoldingDetail() 10 fmt.Println(data) 11 //df := pandas.LoadStructs(data) 12 //_ = df.WriteCSV("capitals-0.csv") 13 } 14 15 func TestFreeHoldingAnalyse(t *testing.T) { 16 data, num, err := getFreeHoldingAnalyse(1) 17 fmt.Println(num, err) 18 fmt.Printf("%+v\n", data) 19 //df := pandas.LoadStructs(data) 20 //_ = df.WriteCSV("capitals-1.csv") 21 }