吧代码的传参方式从sz,000001改成sz000001

This commit is contained in:
钱纯净
2024-11-05 00:30:01 +08:00
parent c90adef204
commit bf5b4e5759
4 changed files with 63 additions and 61 deletions

View File

@@ -8,12 +8,7 @@ import (
func Test_stockKline_Frame(t *testing.T) {
//预期0c02000000001c001c002d050000303030303031 0900 0100 0000 0a00 00000000000000000000
// 0c00000000011c001c002d050000313030303030 0900 0000 0000 0a00 00000000000000000000
f, _ := MKline.Frame(TypeKlineDay, KlineReq{
Exchange: ExchangeSH,
Code: "000001",
Start: 0,
Count: 10,
})
f, _ := MKline.Frame(TypeKlineDay, "sz000001", 0, 10)
t.Log(f.Bytes().HEX())
}