Commit Graph

484 Commits

Author SHA1 Message Date
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
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
5321cebb29 A little modification 2019-12-30 00:20:21 +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
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
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
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
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
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
fasiondog
58ffe6221b update 2019-05-26 20:52:03 +08:00
fasiondog
ba3b9eed7a add ALIGN (continue); try modify Null<price_t> 2019-05-26 19:30:52 +08:00
fasiondog
eb3075f25f add ALIGN (continue) 2019-05-25 23:26:29 +08:00
fasiondog
9fe5526f81 add ALIGN (continue) 2019-05-24 23:47:57 +08:00
fasiondog
18ae7cef0c add ALIGN (continue); Indicator 增加 getPos 方法获取指定日期位置 2019-05-23 23:14:49 +08:00
fasiondog
68dc5bb13e add ALIGN continue 2019-05-22 23:30:40 +08:00
fasiondog
50633b0f37 补充 Indicator 帮助;add ALIGN (continue) 2019-05-21 23:10:50 +08:00
fasiondog
085315787c Parameter增加DatetimeList类型;Indicator增加getDatetime方法;增加 ALIGN (continue) 2019-05-20 23:30:51 +08:00
fasiondog
922c21d499 优化 KData 和 Indicator 的 [] 操作,支持字符串型日期 2019-05-20 01:45:46 +08:00
fasiondog
8430f0df4e Indicator 增加 getByDate, getDatetimeList方法;补充 Indicator 文档 2019-05-19 22:09:34 +08:00
fasiondog
88f03322d7 add COST indicator; add global variables K 2019-05-19 14:16:27 +08:00
fasiondog
52b0e15e5a add AD indicator 2019-05-18 23:25:11 +08:00
fasiondog
81aef37073 add ROCP, ROCR, ROC100 indicator 2019-05-18 21:52:55 +08:00
fasiondog
59e43a2527 add ROC indicator 2019-05-18 01:28:10 +08:00
fasiondog
884b5cc5d7 add DEVSQ indicator 2019-05-16 22:40:56 +08:00
fasiondog
aaf9083f48 add AVEDEV indicator 2019-05-16 22:24:12 +08:00
fasiondog
a5da4188c5 add DMA indicator 2019-05-16 21:59:32 +08:00
fasiondog
a2ca2dbd8e 按通达信方式计算SMA移动加权平均 2019-05-16 02:25:42 +08:00
fasiondog
2067b37cfa 修改SMA和通达信一致 2019-05-15 23:22:19 +08:00
fasiondog
68490c5162 add TIMELINE, TIMELINEVOL 2019-05-15 22:04:16 +08:00
fasiondog
9149a0f77b add BACKSET indicator 2019-05-15 01:48:29 +08:00
fasiondog
7530887aff add BACKSET (continue) 2019-05-13 23:02:17 +08:00
fasiondog
9cd51e22e4 add BARSCOUT indicator 2019-05-12 22:54:51 +08:00
fasiondog
bed6818302 Datetime增加startOfDay, endOfDay方法 2019-05-12 21:36:30 +08:00
fasiondog
1ed963e93a add SUMBARS indicator 2019-05-11 23:00:00 +08:00
fasiondog
8f40e167e0 add SUMBARS (continue) 2019-05-11 13:04:40 +08:00
fasiondog
9078bd335c add SUMBARS (continue) 2019-05-07 01:47:55 +08:00
fasiondog
6df4db961a add SUMBARS indicator (continue) 2019-05-05 01:44:21 +08:00
fasiondog
6f9f855a42 add BARSLAST indicator 2019-05-04 21:53:10 +08:00
fasiondog
b59a0e7d72 add BARSSINCE indicator 2019-05-04 20:35:08 +08:00
fasiondog
b0800ce001 add FILTER indicator 2019-05-04 20:02:27 +08:00
fasiondog
161b9317f2 add LONGCROSS indicator 2019-05-02 20:02:41 +08:00
fasiondog
2ea6a7d703 add CROSS and some modified 2019-05-02 19:41:58 +08:00
fasiondog
86f9ace4c2 add UPNDAY,DOWNNDAY,NDAY indicator 2019-05-02 18:27:51 +08:00
fasiondog
d890ee7953 add VAR, VARP indicator 2019-05-02 12:19:43 +08:00
fasiondog
a0f326c401 实现指标取模运算 2019-05-01 21:26:50 +08:00
fasiondog
9aab781137 add REVERSE indicator 2019-05-01 19:37:11 +08:00
fasiondog
51117df2f0 add ATAN indicator 2019-05-01 19:16:28 +08:00
fasiondog
0d85726ca8 add TAN indicator 2019-05-01 19:04:18 +08:00
fasiondog
def1cc6599 add ACOS indicator 2019-05-01 18:46:42 +08:00
fasiondog
dfc91789bb add COS indicator 2019-05-01 18:27:14 +08:00
fasiondog
d152fc6b50 add ASIN indicator 2019-05-01 18:15:48 +08:00
fasiondog
a242aaff89 add SIN indicator 2019-05-01 17:49:27 +08:00
fasiondog
58c15b7280 add LAST 2019-05-01 17:33:11 +08:00
fasiondog
1a0eb7dd28 add LAST (continue) 2019-04-30 23:20:16 +08:00
fasiondog
c20ddecc6c add LAST (continue); Modifed EVERY and EXIST 2019-04-28 23:23:03 +08:00
fasiondog
c16623edee add EVERY indicator 2019-04-28 01:19:30 +08:00
fasiondog
0f67a871d9 近一步优化通达信等指标兼容,可直接使用 MA(CLOSE) 等形式 2019-04-20 18:59:06 +08:00
fasiondog
63036b6727 modify EXIST 2019-04-20 18:13:17 +08:00
fasiondog
05bdb064cc resume xmake 2019-04-20 02:31:53 +08:00
fasiondog
7064db9307 add EXIST indicator; clear warning for xmake update 2019-04-19 23:26:35 +08:00
fasiondog
0336b5a99c add INTPART indicator 2019-04-18 23:42:45 +08:00
fasiondog
301e4f575c add STDP indicator 2019-04-18 23:14:58 +08:00
fasiondog
a7c92f2c8d release 1.1.2 2019-04-18 21:37:59 +08:00
fasiondog
3af571e33e fixed _indicator.cpp 2019-04-18 01:00:18 +08:00
fasiondog
4df93ba3ae try add operator(k) for indicator 2019-04-17 23:37:22 +08:00
fasiondog
8dd85d3cea 优化打印信息 2019-04-17 23:20:25 +08:00
fasiondog
46d5ee6e49 fixed 原型法使用时,无法更换底层,容易误用 2019-04-17 23:12:41 +08:00
fasiondog
1782d4c7fa roundEx算法切换成银行家算法 2019-04-17 02:39:07 +08:00
fasiondog
9172a32f9c add FLOOR,CEILING indicator 2019-04-15 23:11:12 +08:00
fasiondog
199fc8528d fixed indicator using as prototype cannot recalculate 2019-04-15 21:22:31 +08:00