gitee.com/quant1x/engine@v1.8.4/datasource/base/tdx_xdxr_test.go (about)

     1  package base
     2  
     3  import (
     4  	"fmt"
     5  	"testing"
     6  )
     7  
     8  func TestUpdateXdxrInfo(t *testing.T) {
     9  	code := "sh603158"
    10  	UpdateXdxrInfo(code)
    11  }
    12  
    13  func TestGetCacheXdxrList(t *testing.T) {
    14  	code := "sz002043"
    15  	code = "sh000001"
    16  	code = "sh603158"
    17  	list := GetCacheXdxrList(code)
    18  	fmt.Println(list)
    19  }