修复分时成交金额不准的问题

This commit is contained in:
钱纯净
2025-04-09 23:18:00 +08:00
parent f69dd66ecb
commit 78e2ead79c

View File

@@ -33,10 +33,10 @@ func (this historyMinute) Decode(bs []byte) (*MinuteResp, error) {
Count: Uint16(bs[:2]), Count: Uint16(bs[:2]),
} }
multiple := Price(1) multiple := Price(1) * 10
if bs[5] > 0x40 { //if bs[5] > 0x40 {
multiple = 10 //multiple = 10
} //}
//2-4字节是啥? //2-4字节是啥?
bs = bs[6:] bs = bs[6:]