mirror of
https://github.com/injoyai/tdx.git
synced 2025-11-26 21:25:35 +08:00
测试拓展pullkline
This commit is contained in:
18
example/PullKline/main.go
Normal file
18
example/PullKline/main.go
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"context"
|
||||||
|
"github.com/injoyai/logs"
|
||||||
|
"github.com/injoyai/tdx"
|
||||||
|
"github.com/injoyai/tdx/extend"
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
|
||||||
|
m, err := tdx.NewManage(nil)
|
||||||
|
logs.PanicErr(err)
|
||||||
|
|
||||||
|
err = extend.NewPullKline([]string{"sz000001"}, []string{"year"}, "./", 1).Run(context.Background(), m)
|
||||||
|
logs.PanicErr(err)
|
||||||
|
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user