Commit Graph

558 Commits

Author SHA1 Message Date
fasiondog
49bd1aae15 更新 mysql k线读取 2020-09-30 00:15:38 +08:00
fasiondog
b7674ce567 update for mysql kdata (continue) 2020-09-29 00:57:41 +08:00
pchaos
ee287b8c1e
Merge branch 'master' into master 2020-09-28 17:24:22 +08:00
pchaos
be7713ca32 支持fedora 2020-09-28 17:17:37 +08:00
fasiondog
f17115e779 update MySQLBaseInfoDriver 2020-09-27 23:53:26 +08:00
fasiondog
73a0208967 fixed HDF低版本不存在exists函数 2020-09-26 14:13:24 +08:00
fasiondog
1e0be08a87 优化hdf5 2020-09-26 00:52:41 +08:00
fasiondog
6264ff7a08 优化HDF5处理,减少HDF5异常导致的内存泄漏误报 2020-09-26 00:19:57 +08:00
fasiondog
1e892eb95e test mysql update 2020-09-25 23:05:57 +08:00
fasiondog
0eb73bd8e7 fixed MySQL (continue) 2020-09-24 00:43:24 +08:00
fasiondog
e0f491a0f5 test MySQL (continue) 2020-09-23 00:56:17 +08:00
fasiondog
270c72b115 fixed MySQLStatement 2020-09-22 00:05:46 +08:00
fasiondog
045f6ce475 临时注释掉失败的测试代码 2020-09-19 23:46:24 +08:00
fasiondog
cf12a450f8 完善 MySQL 驱动 (continue) 2020-09-19 23:45:28 +08:00
fasiondog
dc3ac4bc48 for MySQL (continue) 2020-09-19 00:48:05 +08:00
fasiondog
5ecd2e328f 完善MySQL(continue) 2020-09-18 00:33:39 +08:00
fasiondog
dd36415075 继续MySQL连接实现 2020-09-17 00:32:23 +08:00
fasiondog
cc9363fd09 完善portfolio 2020-09-13 21:41:39 +08:00
fasiondog
e3da64e5eb 清理兼容python2导致的内部字符串格式问题 2020-09-13 00:10:22 +08:00
fasiondog
5672613d0d 屏蔽VS2019告警 2020-09-12 17:49:04 +08:00
fasiondog
8e9e20d93a update system.runMoment 返回交易记录 2020-09-06 17:21:24 +08:00
fasiondog
a037dfaeb6 修正资产分配算法与资产组合 2020-09-05 23:55:26 +08:00
fasiondog
dcc644e743 TradeManager添加 getProfitCurve() 快捷方法 2020-09-05 23:54:32 +08:00
fasiondog
cd9ee52829 修复test -all debug模型编译失败问题 2020-09-05 23:53:36 +08:00
fasiondog
07ae8a4db1 Portfolio添加python引出函数;TradeManager添加getFundsCurve重载 2020-09-04 00:12:04 +08:00
fasiondog
f604f104ff 修正资产分配算法 2020-09-02 00:17:02 +08:00
fasiondog
880bf40b33 修正资产分配算法 2020-08-31 23:52:25 +08:00
fasiondog
5e0050c6d7 modified system 实例打印信息 2020-08-31 23:52:01 +08:00
fasiondog
0e866a7112 fixed Selector 2020-08-31 23:51:24 +08:00
fasiondog
0463529082 fixed linux下PriceList无法特化序列化 2020-08-29 23:50:42 +08:00
fasiondog
412c20165b 完善 se 2020-08-28 00:30:03 +08:00
fasiondog
04600b0c27 linux也关闭序列化,nan暂时无法解决 2020-08-27 23:41:12 +08:00
fasiondog
22332dabba house continue 2020-08-24 02:00:38 +08:00
fasiondog
ca03088302 Minor modifications. 2020-08-23 18:28:11 +08:00
fasiondog
7e2302fce7 continue for Portfolio 2020-08-13 00:35:19 +08:00
fasiondog
1e2ec115c3 完善资金分配算法 2020-08-12 00:37:56 +08:00
fasiondog
9e2bf6fa3d 修改System.clone,保持原始语义;修改屏蔽AF,PF配套测试用例(continue) 2020-08-11 01:43:43 +08:00
fasiondog
202dc2a7c0 补充注释帮助 2020-08-10 00:27:23 +08:00
fasiondog
7145dfdb66 完善资产组合 2020-08-09 16:51:01 +08:00
fasiondog
70ccca946c 资金分配算法完善 2020-08-09 00:06:35 +08:00
fasiondog
52a3793c58 组合交易实现(continue) 2020-08-08 00:43:51 +08:00
fasiondog
4052bf1689 fixed for my_bool 2020-08-07 22:31:22 +08:00
fasiondog
71ccf6652c fixed for MySQL my_bool 2020-08-07 22:06:45 +08:00
fasiondog
aa1b73cf67 MySQL8.0驱动Linux编译 2020-08-05 22:37:46 +08:00
fasiondog
5a29b47c6c 连接池支持最大连接数设置 2020-08-05 22:37:04 +08:00
fasiondog
f13afe26ea 修改打印提示 2020-08-04 00:03:54 +08:00
fasiondog
6fefc66c57 fixed Ubuntu下wheel安装包制作 2020-08-02 18:48:29 +08:00
fasiondog
8c4ae3b8c9 解决ubuntu20.04编译问题 2020-08-01 18:52:56 +08:00
fasiondog
fbf8c5212c 增加 Datetime 互减运算 2020-07-29 00:28:04 +08:00
fasiondog
d12fa51ab0 fixed 缺失指标名称 2020-07-26 21:29:07 +08:00
fasiondog
cf533ac4fc fixed msvc 支持 utf8 后导致的 TradeManager.tocsv 失效 2020-07-18 16:42:55 +08:00
fasiondog
1086978471 规整 python 接口 2020-07-16 00:38:06 +08:00
fasiondog
c69851f8ff continue 2020-07-07 00:34:25 +08:00
fasiondog
f9173dc212 continue 2020-07-04 00:15:54 +08:00
fasiondog
7f3ede505b continue 2020-06-30 23:27:23 +08:00
fasiondog
eb6c85322d fixed IniParser.getInt 2020-06-27 19:04:15 +08:00
fasiondog
20e83daf36 continue 2020-06-27 00:43:47 +08:00
fasiondog
f2b93b24c5 continue 2020-06-26 21:39:53 +08:00
fasiondog
778cff1787 ktype不区分大小写 2020-06-10 00:17:24 +08:00
fasiondog
e89ada748f fixed Datetime 2020-05-24 00:34:30 +08:00
fasiondog
9d85b9086f fix Datetime.str 2020-05-23 22:48:04 +08:00
fasiondog
98bd956cd3 删除pytask无效代码;fixed StealGroup 2020-05-17 21:58:25 +08:00
fasiondog
c88fed139f fixed compile on linux 2020-05-17 21:03:25 +08:00
fasiondog
3e137b6c6e fixed complie on linuxe 2020-05-17 17:53:58 +08:00
fasiondog
085b78040d fixed 2020-05-17 17:38:05 +08:00
fasiondog
3ec1ffdc89 修改有关数量的数据类型为double 2020-05-12 22:31:54 +08:00
fasiondog
1ea7c147fb 买卖数量数据类型从size_t变更为double 2020-05-12 00:26:29 +08:00
fasiondog
82a08790d9 TradeManager中买卖数量从size_t修改为double 2020-05-11 23:27:27 +08:00
fasiondog
b8a920834c Merge branch 'master' of https://gitee.com/fasiondog/hikyuu.git 2020-05-09 23:05:30 +08:00
fasiondog
bfabe763c3 update 2020-05-09 23:04:06 +08:00
fasiondog
7c221d8624 delete StealTask (无法解决在Python中的使用) 2020-05-09 22:49:01 +08:00
fasiondog
be548312b0 update 2020-05-09 22:41:22 +08:00
fasiondog
6219544fcd steal group (continue) 2020-05-07 00:12:56 +08:00
alenstar
517cbc288a 修复MySQLStatement 2020-05-03 10:39:50 +08:00
fasiondog
4c0c75481f 缺失头文件vs工程编译报错 2020-05-02 18:20:10 +08:00
fasiondog
620a46a28b fmt升级导致的MIN,MAX冲突 2020-05-02 00:00:28 +08:00
fasiondog
722d3b1c0d 改进 Log 2020-05-01 23:59:53 +08:00
fasiondog
0727fdc909 处理fmt升级至6.2.0后min/max宏冲突 2020-05-01 18:49:36 +08:00
fasiondog
387427926a steal task (continue) 2020-05-01 00:36:20 +08:00
fasiondog
899569941a stealtask (continue) 2020-04-30 01:50:27 +08:00
fasiondog
785e515475 StealTask (continue) 2020-04-28 01:52:53 +08:00
fasiondog
c4d4a799a4 StealTask (continue) 2020-04-27 01:58:11 +08:00
fasiondog
0c96fedc65 初始化合入并行任务组 2020-04-26 01:47:47 +08:00
fasiondog
2b961046a6 线程池修改 2020-04-25 23:55:52 +08:00
fasiondog
044334f451 log不使用颜色输出,否则导致无法重定向至python 2020-04-25 23:55:30 +08:00
fasiondog
ab40eea3ff 完善Datetime的构造方式 2020-04-25 23:28:26 +08:00
fasiondog
d910a3834b 删除编译生成的version.h 2020-04-21 01:15:53 +08:00
fasiondog
9e0dc2e706 增加全局线程池;版本构建信息 2020-04-20 23:59:47 +08:00
fasiondog
c2d3c0baff update 2020-04-12 02:02:20 +08:00
fasiondog
19a8eef089 内存泄漏检测优化 2020-04-10 01:54:49 +08:00
fasiondog
3cee4c615a 依据ruki的建议优化xmake.lua 2020-04-08 00:24:12 +08:00
fasiondog
e3a3522798 update 2020-04-07 00:30:00 +08:00
fasiondog
50bf2ef008 update 2020-04-06 21:21:57 +08:00
fasiondog
a08a67a67b 内存泄漏检测优化全局变量避免误报(continue) 2020-04-06 01:56:04 +08:00
fasiondog
59bdac33df 内存泄漏检测优化全局变量避免误报(continue) 2020-04-05 18:18:32 +08:00
fasiondog
c76edbf4e9 内存泄漏检测优化全局变量避免误报(continue) 2020-04-05 02:02:05 +08:00
fasiondog
55b5849753 内存泄漏检测优化全局变量避免误报(continue) 2020-04-04 01:39:19 +08:00
fasiondog
7a07004cd7 优化debug模式编译 2020-04-03 02:05:27 +08:00
fasiondog
ff43b318cd 优化线程池 2020-04-01 00:48:20 +08:00
fasiondog
5b2cc1814f fixed #I1BAEM 2020-03-13 02:01:22 +08:00
fasiondog
eb7ffa3bed fixed for test 2020-03-01 03:00:48 +08:00
fasiondog
15d8b72d22 支持VS调试 2020-03-01 01:24:55 +08:00
fasiondog
df075948d2 fixed connect pool leak memory 2020-01-01 00:18:53 +08:00
fasiondog
427ca6f741 IniParser without boost 2019-12-31 23:18:30 +08:00
fasiondog
ba407fc6f9 update for travis.yml 2019-12-30 21:48:56 +08:00
fasiondog
5b4d6f7428 update for travis.yml 2019-12-30 21:29:47 +08:00
fasiondog
cbf620b238 fixed for test_StockManager.cpp 2019-12-30 01:24:05 +08:00
fasiondog
5321cebb29 A little modification 2019-12-30 00:20:21 +08:00
fasiondog
1868afd766 switch BOOST.TEST to doctest 2019-12-30 00:19:35 +08:00
fasiondog
b8bd278273 TimeDelta finished 2019-12-26 01:12:40 +08:00
fasiondog
2e753f7968 TimeDelta add +(pos), -(neg) operation 2019-12-25 02:45:24 +08:00
fasiondog
503e3460ed TimeDelta 增加 *、/、% 运算 2019-12-24 02:15:37 +08:00
fasiondog
2f879d54e4 完善 Datetime, TimeDelta 及其注释与帮助文档 2019-12-23 02:18:04 +08:00
fasiondog
9ac6b17e1b 完善Datetime、TimeDelta默认参数,补充注释及帮助 2019-12-22 03:02:35 +08:00
fasiondog
faf1586b07 add TimeDelta (continue) 2019-12-21 03:01:33 +08:00
fasiondog
6993e86b18 add TimeDelta (continue) 2019-12-19 02:32:06 +08:00
fasiondog
85808db556 add TimeDelta (continue) 2019-12-18 02:04:54 +08:00
fasiondog
94bf9bf81f add TimeDelta (continue) 2019-12-17 02:31:44 +08:00
fasiondog
7be8eaf2d5 add TimeDelta (continue); add comment information 2019-12-16 02:09:43 +08:00
fasiondog
125dae9de4 add TimeDelta (continue) 2019-12-15 01:27:02 +08:00
fasiondog
3712245219 Datetime优化: 支持到微秒,Python中初始化优化 2019-12-10 01:35:03 +08:00
fasiondog
385176ca46 add <cstdef> include for Null.h, because size_t 2019-12-08 14:44:02 +08:00
fasiondog
94b49e23b4 Null.h 去除 boost 引用 2019-12-07 23:50:39 +08:00
fasiondog
9ec720ee78 update for SpendTimer 2019-12-07 23:32:42 +08:00
fasiondog
45d390a3e9 fixed #I15IIJ Query 同时支持索引及日期方式 2019-12-02 00:23:12 +08:00
fasiondog
f36907b672 Datetime显示初始化涉及修改 2019-12-02 00:21:25 +08:00
fasiondog
b40d6ed045 修复Datetime显示初始化后linux下编译失败 2019-12-01 21:18:26 +08:00
fasiondog
12bef4d70e test thread pool 2019-12-01 02:27:56 +08:00
fasiondog
9fef80d7b6 禁止boost::date隐式初始化,以便合并KQuery 2019-12-01 01:41:22 +08:00
fasiondog
fabd6a6f8d fixed tet_SaftyLoss failed 2019-12-01 01:38:59 +08:00
fasiondog
a69a8800dc 去除多余变量 2019-11-19 21:51:22 +08:00
fasiondog
49b8c58af6 优化 ThreadPool 2019-11-19 01:21:30 +08:00
fasiondog
b11b942f60 修改帮助及异常宏工具 2019-11-16 21:28:02 +08:00
fasiondog
cb2bc545ea update for utilities 2019-11-16 02:10:21 +08:00
fasiondog
3d729b6e3a update for cppcheck stylistic warnning 2019-11-11 02:32:56 +08:00
fasiondog
e167f29ff1 update for format and traivs 2019-11-10 23:31:41 +08:00
fasiondog
c9cc4e353b update for format, cppcheck, travis 2019-11-10 19:45:57 +08:00
fasiondog
c4f5a3dffb clear cppcheck info 2019-11-10 03:27:57 +08:00
fasiondog
aec33e6cc0 优化日志初始化 2019-11-07 02:53:27 +08:00
fasiondog
c4ea38e83e 增加 clear 时增加 -with_boost 参数 2019-11-04 00:01:25 +08:00
fasiondog
41a35f6892 use dynamic link boost serialization 2019-10-23 01:59:54 +08:00
fasiondog
d733db32f8 for static link boost library 2019-10-19 22:25:06 +08:00
fasiondog
dcca0c7b98 update for actions and win2019 compile 2019-10-01 18:53:37 +08:00
fasiondog
d037e1b69f update for github actions 2019-09-29 00:35:19 +08:00
fasiondog
9dd68d9dc4 update thread pool 2019-09-27 02:18:16 +08:00
fasiondog
a084f7d7af update thread pool 2019-09-26 02:04:39 +08:00
fasiondog
e7899f6170 update thread pool 2019-09-25 02:25:04 +08:00
fasiondog
35b2ec6d81 update for travis 2019-09-22 10:57:09 +08:00
fasiondog
a5f4990ade 调整dbconnect位置;更新travis;更新部分帮助注释 2019-09-22 02:13:45 +08:00
fasiondog
315a818e4d update thread pool and travis 2019-09-21 21:01:44 +08:00
fasiondog
a41b60fe1d update thread pool 2019-09-21 02:41:54 +08:00
fasiondog
dec872d37f update thread pool 2019-09-21 02:33:32 +08:00
fasiondog
c125efcb7c update thread pool 2019-09-20 02:58:03 +08:00
fasiondog
b8392e60f2 update thread pool 2019-09-19 02:30:27 +08:00
fasiondog
ee7f6d280f update thread pool 2019-09-18 02:40:39 +08:00
fasiondog
0ebb724f5c add thread pool 2019-09-16 02:25:51 +08:00
fasiondog
1d4bdddfc8 1、使用xmake repo支持fmt、spdlog;
2、分离单元测试程序为all和small,避免测试代码编译耗时过长
2019-09-09 02:11:26 +08:00
fasiondog
686107c9db update mysql driver(continue) 2019-08-22 01:46:01 +08:00
fasiondog
19d71dfde8 update for mysql driver 2019-08-21 02:58:28 +08:00
fasiondog
49ccf6fed1 mysql 2019-08-20 01:58:18 +08:00
fasiondog
900d882877 mysql 2019-08-19 02:11:10 +08:00
fasiondog
e1ce106924 mysql 2019-08-17 22:58:04 +08:00
fasiondog
2110105b8b fix compile and test failed for travis 2019-08-17 15:22:55 +08:00
fasiondog
741b7e4e97 update for clang++ 2019-08-16 23:18:22 +08:00
fasiondog
fac79c48ad update sqlite driver 2019-08-16 01:17:24 +08:00
fasiondog
b1d0e0b1a1 update 2019-08-15 21:00:00 +08:00
fasiondog
f5f1eed8c6 support to continue update data online(continue) 2019-08-13 23:29:15 +08:00
fasiondog
d657bbff4f support to continue update data online(continue) 2019-08-11 23:06:30 +08:00
fasiondog
59113372eb fix compile for clang++ 2019-08-11 17:06:21 +08:00
fasiondog
851c58b30f fix compile for linux 2019-08-09 02:24:51 +08:00
fasiondog
fdad61e3d3 Update some base type name; added a database connection module to be used for later 2019-08-09 01:40:24 +08:00
fasiondog
c9dfcf6635 compile on linux gcc 2019-08-03 23:07:32 +08:00
fasiondog
a575b003a6 add #progam once for every .h files; some others 2019-08-03 21:53:24 +08:00
fasiondog
d993fb5606 fixed some warning for doxygen 2019-08-03 15:14:39 +08:00
fasiondog
84da369908 1. BOOST_MSC Macro switch to _MSC_VER;
2. replace boost::to_upper/boost::to_lower;
3. add SpendTimer tool
2019-08-03 01:44:57 +08:00
fasiondog
be72381e79 modify BOOST_WINDOWS Macro to _MSC_VER 2019-08-01 22:54:59 +08:00
fasiondog
67fffd0555 Parameter add type method; fix logger can't be useed outside hikyuu.dll; Doxyen options modified 2019-06-25 23:12:25 +08:00
fasiondog
16eda68ed4 travis for clang 2019-06-17 20:22:16 +08:00
fasiondog
4edde655f4 Adjustment xmake project, use config.h.in 2019-06-16 20:49:20 +08:00
fasiondog
1ba4e1c424 update logger ooutput 2019-06-16 19:06:06 +08:00
fasiondog
7559458648 Update the logger, only using the spdlog 2019-06-16 17:56:34 +08:00
fasiondog
95c4fa513a update spdlog 2019-06-12 23:17:52 +08:00
fasiondog
773600b7f6 update spdlog 2019-06-12 23:13:39 +08:00
fasiondog
843bcf9703 haveParam 引出至 Python 2019-06-05 22:27:15 +08:00
fasiondog
4daebd0af0 update xmake 2019-06-04 23:13:32 +08:00
fasiondog
583738aeb5 fixed clang error by serialize nan and inf 2019-06-04 22:41:37 +08:00
fasiondog
e3b4c1bc98 try fix clang build error 2019-06-03 23:15:58 +08:00
fasiondog
93adcdbe1f add DECLINE indicator 2019-06-03 22:56:09 +08:00
fasiondog
3a956eb05b add ADVANCE 2019-06-03 22:41:57 +08:00
fasiondog
050bdb4220 Indicator OP 操作读取子节点 context 2019-06-03 22:41:42 +08:00
fasiondog
d347f00261 add ADVANCE (continue) 2019-06-02 23:23:17 +08:00
fasiondog
21ed79d512 修正 linux nan 和 inf 处理 2019-06-02 22:09:47 +08:00
fasiondog
eebf3dda40 add ADVANCE (continue) 2019-06-02 01:17:52 +08:00
fasiondog
2c12df5737 fix some inline function define 2019-06-01 23:54:18 +08:00
fasiondog
a4ee0b2021 add Advance (continue) 2019-06-01 01:28:55 +08:00
fasiondog
4cbe0d3e7a 消除travis编译告警; PRICELIST在处理数组时将最初始的连续null值记为discard 2019-05-30 21:08:31 +08:00
fasiondog
724985e7a4 add DROPNA indicator 2019-05-28 23:13:11 +08:00
fasiondog
07a9cc0a94 add ALIGN indicator 2019-05-28 21:40:08 +08:00
fasiondog
27953a387b Null<price_t> 改为 Nan 表示 2019-05-27 23:18:59 +08:00
fasiondog
0c7c1abbc6 考虑支持 Nan 和 Inf (continue) 2019-05-27 01:42:47 +08:00