mirror of
https://github.com/injoyai/tdx.git
synced 2025-11-26 21:25:35 +08:00
17 lines
371 B
Go
17 lines
371 B
Go
package protocol
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func Test_stockHistoryMinuteTrade_Frame(t *testing.T) {
|
|
// 预期 0c 02000000 00 1200 1200 b50f 84da3401 0000 30303030303100006400
|
|
// 0c000000000112001200b50f84da3401000030303030303100006400
|
|
f, err := MHistoryTrade.Frame("20241028", "sz000001", 0, 100)
|
|
if err != nil {
|
|
t.Error(err)
|
|
return
|
|
}
|
|
t.Log(f.Bytes().HEX())
|
|
}
|