2026-01-21 17:13:37 +08:00
|
|
|
package main
|
|
|
|
|
|
|
|
|
|
import (
|
2026-01-24 23:44:25 +08:00
|
|
|
"encoding/json"
|
2026-01-21 17:13:37 +08:00
|
|
|
"fmt"
|
2026-01-24 23:44:25 +08:00
|
|
|
|
|
|
|
|
"git.apinb.com/dataset/stock/internal/logic/a"
|
2026-01-21 17:13:37 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func main() {
|
2026-01-24 23:44:25 +08:00
|
|
|
a.NewApiClient()
|
2026-01-26 02:39:26 +08:00
|
|
|
reply, err := a.SetFinaIndicator("000029.SZ", "20230331")
|
2026-01-24 23:44:25 +08:00
|
|
|
fmt.Println("Err", err)
|
|
|
|
|
jsonBytes, _ := json.Marshal(reply.Data.Items)
|
|
|
|
|
fmt.Println("Reply", string(jsonBytes))
|
2026-01-21 17:13:37 +08:00
|
|
|
}
|