by90 / wtl_stock Goto Github PK
View Code? Open in Web Editor NEWtutorials for c++ 11 to develop real world application,using wtl for windows gui.
tutorials for c++ 11 to develop real world application,using wtl for windows gui.
在导入日线界面,载入全部日线,测试载入性能。暂时...使用第四个选项测试。
如耗时过长,再考虑变动内存结构,一次载入全部日线而非逐个股票载入。
载入过程可使用Db类原生接口处理,如为倒序,考虑是否载入时同时复权。
单元测试,实现向后复权。
在大智慧软件上,得到一只股票的复权数据,以该股票的复权数据为准,测试复权算法。
函数如下:ExDividend(vector &,ExrightSet &,bool foward=true),直接输出。
1.大智慧365中,常用工具|数据管理中心|财务数据|财务输出,得到后缀为PWR的财务文件。
2.财务文件,包括当天每只股票的所有财务信息,因此,每次安装应是完全覆盖。
理论上说,仅需要最新流通股本一个指标,这与计算换手率有关,也与成交量复权有关。我们假设,复权数据包含了所有股本变迁历史,这样,结合最新流通股和权息数据,能得到历史上每一天的流通股。
3.大智慧财务数据文件结构:
/// 文件前8个字节是文件头,财务数据记录从第9个字节开始。
/// 9-16个字节是股票代码如:sh000001,然后空4个字节,然后是发布日期(4个字节)
/// 报告期(4个字节) 上市日期(4个字节),后面的都是4个字节 依次是 每股收益
/// 每股净资产 净资产收益率 每股经营现金 每股公积金 每股未分配 股东权益比
/// 净利润同比 主营收入同比 销售毛利率 调整每股净资产 总资产 流动资产 固定资产
/// 无形资产 流动负债 长期负债 总负债 股东权益 资本公积金 经营现金流量
/// 投资现金流量 筹资现金流量 现金增加额 主营收入 主营利润 营业利润
/// 投资收益 营业外收支 利润总额 净利润 未分配利润 总股本 无限售股合计
/// A股 B股 境外上市股 其他流通股 限售股合计 国家持股 国有法人股 境内法人股
/// 境内自然人股 其他发起人股 募集法人股 境外法人股 境外自然人股 优先股或其他
/// 然后开始下一条记录
/// 每条记录共148个字节。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.