mirror of
https://github.com/injoyai/tdx.git
synced 2025-11-26 21:25:35 +08:00
修复codes的LastPrice价格不对的问题,只做了简单验证
This commit is contained in:
@@ -19,7 +19,10 @@ func Test_stockKline_Decode(t *testing.T) {
|
||||
t.Error(err)
|
||||
return
|
||||
}
|
||||
resp, err := MKline.Decode(bs, 9)
|
||||
resp, err := MKline.Decode(bs, KlineCache{
|
||||
Type: 9,
|
||||
Kind: "",
|
||||
})
|
||||
if err != nil {
|
||||
t.Error(err)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user