mirror of
https://github.com/injoyai/tdx.git
synced 2025-11-26 21:25:35 +08:00
增加同花顺复权数据计算复权因子
This commit is contained in:
12
extend/ths-factor.go
Normal file
12
extend/ths-factor.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package extend
|
||||
|
||||
//const (
|
||||
// // UrlTHSFactor https://d.10jqka.com.cn/v6/line/hs_000001/01/2016.js
|
||||
// UrlTHSFactor = "https://d.10jqka.com.cn/v6/line/hs_%s/0%d/%d.js"
|
||||
//)
|
||||
|
||||
type THSFactor struct {
|
||||
Date int64 `json:"date"` //时间
|
||||
QFactor float64 `json:"q_factor"` //前复权因子
|
||||
HFactor float64 `json:"h_factor"` //后复权因子
|
||||
}
|
||||
Reference in New Issue
Block a user