mirror of
https://github.com/injoyai/tdx.git
synced 2025-11-26 21:25:35 +08:00
17 lines
218 B
Go
17 lines
218 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"github.com/injoyai/logs"
|
|
"github.com/injoyai/tdx"
|
|
)
|
|
|
|
func main() {
|
|
cs, err := tdx.NewCodes2()
|
|
logs.PanicErr(err)
|
|
|
|
c := cs.Get("sz000001")
|
|
|
|
fmt.Println(c.FloatStock, c.TotalStock)
|
|
}
|