gitee.com/quant1x/engine@v1.8.4/tracker/radar_test.go (about)

     1  package tracker
     2  
     3  import (
     4  	"fmt"
     5  	"gitee.com/quant1x/engine/config"
     6  	"testing"
     7  )
     8  
     9  func TestConfig(t *testing.T) {
    10  	strategyCode := 82
    11  	rule := config.GetStrategyParameterByCode(uint64(strategyCode))
    12  	fmt.Println(rule)
    13  	list := rule.StockList()
    14  	fmt.Println(list)
    15  }