Commit Graph

356 Commits

Author SHA1 Message Date
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
fasiondog
ef584a5241 add ROUND, ROUNDUP, ROUNDDWON 2019-04-15 00:58:41 +08:00
fasiondog
9e035adedd add ROUND (continue) 2019-04-14 21:51:12 +08:00
fasiondog
d1bc62433b add LLVBARS 2019-04-14 21:26:46 +08:00
fasiondog
df94d53d38 add SQRT indicator 2019-04-14 14:29:50 +08:00
fasiondog
960041a809 add POW indicator 2019-04-14 11:17:47 +08:00
fasiondog
7e75914eba test clear copyright warning 2019-04-14 11:05:08 +08:00
fasiondog
1f66a29b36 Optimize the COUNT to remove double loops 2019-04-14 10:33:19 +08:00
fasiondog
0ced287e69 Optimize the SUM to remove double loops 2019-04-14 00:53:51 +08:00
fasiondog
a042eb1d1f 优化LLV、HHV,去除双重循环 2019-04-13 19:25:15 +08:00
fasiondog
4658283b28 优化HHV实现 2019-04-13 02:29:28 +08:00
fasiondog
d4dc9d048d complete HHVBARS test and fixed bug 2019-04-12 01:46:39 +08:00
fasiondog
40dae67723 add HHVBARS ind 2019-04-11 23:30:51 +08:00
fasiondog
e440835b82 修改Linux下log(0)和Windows返回值不同问题 2019-04-11 22:49:33 +08:00
fasiondog
ce0e05bd98 add LN, LOG ind 2019-04-11 02:10:41 +08:00
fasiondog
c275f23b1b Indicator直接支持原型方式使用 2019-04-10 22:48:42 +08:00
fasiondog
5a18664e45 fixed IF bug, when input unequal lenght; modify CVAL and test 2019-04-10 01:28:02 +08:00
fasiondog
cd3f4e6a29 add BETWEEN test; modify CVAL(continue); modify MAX/MIN test 2019-04-09 23:30:22 +08:00
fasiondog
60c1ff7858 add BETWEEN docs and clear warning on Linux 2019-04-09 01:58:22 +08:00
fasiondog
8fbdcd2214 fixed some warning by cppcheck 2019-04-09 01:46:21 +08:00
fasiondog
2fc740cf71 add BETWEEN ind; add MAX, MIN annotation 2019-04-08 23:27:34 +08:00
fasiondog
3f94f9b5e0 release 1.1.1 2019-04-08 01:37:24 +08:00
fasiondog
df6ae00d23 待发布 1.1.1 2019-04-07 23:34:32 +08:00
fasiondog
edaca2d1d7 Support to obtain current financial information 2019-04-07 22:55:47 +08:00
fasiondog
a63b35fbc0 fix getHistoryFinanceInfo on Linux,sizeof(unsigned long) is 8 not 4 2019-04-06 21:47:00 +08:00
fasiondog
48992dd162 get history finance (continue) 2019-04-06 02:40:53 +08:00
fasiondog
b73efaad90 update 2019-04-05 17:43:35 +08:00
fasiondog
1acd781c56 fix linux complie 2019-04-05 13:17:38 +08:00
fasiondog
bc837cbe8a get the history finance Info (continue) 2019-04-05 02:29:32 +08:00