2 Star 7 Fork 11

王布衣/engine

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
statistics.go 1.73 KB
一键复制 编辑 原始数据 按行查看 历史
王布衣 提交于 2023-10-24 12:49 . 增加回测功能
package models
// Statistics 0号策略数据, 订单结构
type Statistics struct {
Date string `name:"日期" dataframe:"date"`
Code string `name:"证券代码" dataframe:"code"`
Name string `name:"证券名称" dataframe:"name"`
TurnZ float64 `name:"开盘换手Z%" dataframe:"turnz"`
QuantityRatio float64 `name:"开盘量比" dataframe:"quantity_ratio"`
Tendency string `name:"趋势" dataframe:"tendency"`
LastClose float64 `name:"昨收" dataframe:"last_close"`
Open float64 `name:"开盘价" dataframe:"open"`
OpenRaise float64 `name:"开盘涨幅%" dataframe:"open_raise"`
Price float64 `name:"现价" dataframe:"price"`
UpRate float64 `name:"涨跌幅%" dataframe:"up_rate"`
OpenPremiumRate float64 `name:"浮动溢价率%" dataframe:"open_premium_rate"`
NextPremiumRate float64 `name:"隔日溢价率%" dataframe:"next_premium_rate"`
BlockName string `name:"板块名称" dataframe:"block_name"`
BlockRate float64 `name:"板块涨幅%" dataframe:"block_rate"`
BlockTop int `name:"板块排名" dataframe:"block_top"`
BlockRank int `name:"个股排名" dataframe:"block_rank"`
OpenVolume int `name:"开盘量" dataframe:"open_volume"`
AveragePrice float64 `name:"均价线" dataframe:"average_price"`
Active int `name:"活跃度" dataframe:"active"`
ChangePower float64 `name:"力度" dataframe:"change_power"`
AverageBiddingVolume int `name:"委托均量" dataframe:"average_bidding_volume"` // 委托均量
UpdateTime string `dataframe:"update_time"`
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/quant1x/engine.git
git@gitee.com:quant1x/engine.git
quant1x
engine
engine
v0.6.9

搜索帮助