gitee.com/quant1x/engine@v1.8.4/datasource/dfcf/shareholder_stock_test.go (about)

     1  package dfcf
     2  
     3  import (
     4  	"fmt"
     5  	"gitee.com/quant1x/exchange"
     6  	"testing"
     7  )
     8  
     9  func TestShareHolder(t *testing.T) {
    10  	code := "sh600115"
    11  	v := ShareHolder(code, exchange.Today(), 2)
    12  	fmt.Println(v)
    13  }
    14  
    15  func TestGetCacheShareHolder(t *testing.T) {
    16  	code := "sh600105"
    17  	v := GetCacheShareHolder(code, exchange.Today(), 4)
    18  	fmt.Println(v)
    19  }