gitee.com/quant1x/engine@v1.8.4/factors/dataset_trans_test.go (about)

     1  package factors
     2  
     3  import (
     4  	"fmt"
     5  	"gitee.com/quant1x/engine/datasource/base"
     6  	"testing"
     7  )
     8  
     9  func TestTransaction(t *testing.T) {
    10  	code := "sh881200"
    11  	date := "2024-01-09"
    12  	list := base.GetHistoricalTradingData(code, date)
    13  	v := CountInflow(list, code, date)
    14  	fmt.Printf("%+v\n", v)
    15  }