2 Star 11 Fork 13

王布衣/engine

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
cache
cachel5
command
datasets
base
tdx_fundflow.go
tdx_fundflow_test.go
tdx_kline.go
tdx_kline_basic.go
tdx_kline_test.go
tdx_minutes.go
tdx_minutes_test.go
tdx_transaction.go
tdx_utils.go
tdx_xdxr.go
tdx_xdxr.md
tdx_xdxr_test.go
tdx_zxg.go
tdx_zxg_test.go
dfcf
tdxweb
cache_kline.go
cache_report.go
cache_safetyscore.go
cache_trans.go
cache_trans_count.go
cache_trans_test.go
cache_xdxr.go
dataset.go
dataset_manifest.go
kline.go
factors
labs/proto
market
models
rules
smart
storages
util
.gitignore
CHANGELOG.md
LICENSE
README.md
go.mod
go.sum
main.go
克隆/下载
tdx_minutes.go 408 Bytes
一键复制 编辑 原始数据 按行查看 历史
package base
import (
"gitee.com/quant1x/gotdx"
"gitee.com/quant1x/gotdx/quotes"
)
// GetMinutes 获取分时数据
func GetMinutes(securityCode, date string) (list []quotes.HistoryMinuteTime) {
tdxApi := gotdx.GetTdxApi()
hs, err := tdxApi.GetHistoryMinuteTimeData(securityCode, toTdxProtocolDate(date))
if err != nil || hs.Count == 0 {
return
}
list = append(list, hs.List...)
_ = hs
return
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/quant1x/engine.git
git@gitee.com:quant1x/engine.git
quant1x
engine
engine
v0.3.4

搜索帮助