Commit Graph

657 Commits

Author SHA1 Message Date
fasiondog
d357894f8d fixed _Parameter.h 2020-06-25 23:53:31 +08:00
fasiondog
f1e2938e27 continue 2020-06-25 18:22:51 +08:00
fasiondog
2e98d9db8c 优化 boosy_python 2020-06-25 15:59:37 +08:00
fasiondog
05dbd05be0 fixed remove _Parameter::getValueList 2020-06-21 17:49:17 +08:00
fasiondog
98bd956cd3 删除pytask无效代码;fixed StealGroup 2020-05-17 21:58:25 +08:00
fasiondog
b3667632d8 fixed 删除 python 中的 Task 无效代码 2020-05-17 18:22:09 +08:00
fasiondog
0c8ec0dc96 删除python不支持的_Task 2020-05-14 23:45:56 +08:00
fasiondog
48cee5c9a8 修改数量的相关数据类型为double 2020-05-12 22:36:17 +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
6219544fcd steal group (continue) 2020-05-07 00:12:56 +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
3cee4c615a 依据ruki的建议优化xmake.lua 2020-04-08 00:24:12 +08:00
fasiondog
7a07004cd7 优化debug模式编译 2020-04-03 02:05:27 +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
e59ee9eb77 update for _Datetime.cpp 2019-12-19 02:47:44 +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
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
93415fe7f5 update for github action 2019-12-11 01:29:46 +08:00
fasiondog
3712245219 Datetime优化: 支持到微秒,Python中初始化优化 2019-12-10 01:35:03 +08:00
fasiondog
45d390a3e9 fixed #I15IIJ Query 同时支持索引及日期方式 2019-12-02 00:23:12 +08:00
fasiondog
d733db32f8 for static link boost library 2019-10-19 22:25:06 +08:00
fasiondog
1d4bdddfc8 1、使用xmake repo支持fmt、spdlog;
2、分离单元测试程序为all和small,避免测试代码编译耗时过长
2019-09-09 02:11:26 +08:00
fasiondog
2110105b8b fix compile and test failed for travis 2019-08-17 15:22:55 +08:00
fasiondog
f5f1eed8c6 support to continue update data online(continue) 2019-08-13 23:29:15 +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
7559458648 Update the logger, only using the spdlog 2019-06-16 17:56:34 +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
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
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
724985e7a4 add DROPNA indicator 2019-05-28 23:13:11 +08:00
fasiondog
27953a387b Null<price_t> 改为 Nan 表示 2019-05-27 23:18:59 +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
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
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
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
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
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
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
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
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
40dae67723 add HHVBARS ind 2019-04-11 23:30:51 +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
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
edaca2d1d7 Support to obtain current financial information 2019-04-07 22:55:47 +08:00
fasiondog
48992dd162 get history finance (continue) 2019-04-06 02:40:53 +08:00
fasiondog
ed352c38c6 add EXP Indicator 2019-04-03 02:18:42 +08:00
fasiondog
84b664222e add SGN Indicator 2019-04-03 01:49:43 +08:00
fasiondog
0b9923cf7d add NOT indicator 2019-04-02 21:49:33 +08:00
fasiondog
b19dc758be add ABS Indicator 2019-04-02 01:49:40 +08:00
fasiondog
464eb8e23f add SUM Indicator(continue) 2019-04-01 23:37:54 +08:00
fasiondog
89ac67823b IF supports the direct use of the price_t 2019-04-01 21:27:08 +08:00
fasiondog
12760ffaab remove global context 2019-03-30 23:13:37 +08:00
fasiondog
b9168b197f 实现select; 增加setContext直接以KData为参数; kaufman画图小调整 2019-03-28 23:24:15 +08:00
fasiondog
2acb7093c7 需要上下文的指标创建时立即执行计算 2019-03-27 23:17:49 +08:00
fasiondog
848d0248b9 处理 python 中 TA_LIB 包装产生的 bad_weak_ptr 错误(未完) 2019-03-26 23:27:51 +08:00
fasiondog
a72dbb18c1 实现IF指标运算;实现COUNT指标;更新帮助与文档 2019-03-25 22:50:50 +08:00
fasiondog
1cd2427b69 update 2019-03-23 18:54:10 +08:00
fasiondog
5ea070cc1f update 2019-03-23 14:43:08 +08:00
fasiondog
be327070ca update 2019-03-23 13:07:54 +08:00
fasiondog
cf2d987c52 update 2019-03-23 02:27:28 +08:00
fasiondog
529bf2d690 update 2019-03-22 23:12:28 +08:00
fasiondog
6bafc4b85b update 2019-03-21 23:26:19 +08:00
fasiondog
f436e8f19b update 2019-03-16 14:43:50 +08:00
fasiondog
bad1034e7e 增加流通盘与换手率指标 2019-03-06 23:14:07 +08:00
fasiondog
a7501ffc98 Parameter 支持 KData,去除无用打印 2019-03-05 01:18:07 +08:00
fasiondog
59e6991a0d Parameter 支持 KData 2019-03-04 23:30:43 +08:00
fasiondog
a3601f9576 Parameter 支持 Query 2019-03-04 01:17:38 +08:00
fasiondog
640ab5e331 Parameter 支持 KQuery 2019-03-03 21:55:22 +08:00
fasiondog
ea4441aa73 Parameter 增加 Stock 支持 2019-03-03 20:47:28 +08:00
fasiondog
4c2b728ff5 fix: travis ci build failed; add TimeLine and TransRecord pickle 2019-02-11 22:00:47 +08:00
fasiondog
1e88df1f38 支持历史分笔数据 2019-02-11 21:13:06 +08:00
fasiondog
d3547889cb TimeLine更名TimeLineList 2019-02-11 16:33:55 +08:00
fasiondog
047bbcb7b9 添加日志打印的等级控制 2019-02-11 15:20:43 +08:00
fasiondog
4e797c266b 支持分时线 2019-02-10 21:26:02 +08:00
fasiondog
bc3dad7e7d 分时线支持 2019-02-09 18:25:16 +08:00
fasiondog
bb639005b6 Merge branch 'master' of https://gitee.com/fasiondog/hikyuu.git 2019-02-08 22:41:28 +08:00
fasiondog
57fbbd1ece 分时线支持 2019-02-08 22:41:20 +08:00
ruki
6189c97b01
加个try块检测python3-config不存在的情况 2019-02-08 20:17:26 +08:00
fasiondog
5d252eafff mingw下编译时检查python3-config失败后提示 2019-02-08 17:39:14 +08:00
fasiondog
e56fd4cc83 python部分增加startOfHalfyear, endOfHalfyear, nextHalfyear, preHalfyear方法 2019-01-13 14:12:55 +08:00
fasiondog
ebebb37f12 Datetime添加next、pre系列方法 2019-01-05 23:17:07 +08:00
fasiondog
2a07e907e4 DatetimeDatetime增加today,dateOfWeek,startOfWeek,endOfWeek,startOfMonth,endOfMonth,startOfQuarter,endOfQuerter,startOfYear, endOfYear方法及其帮助与测试用例。 2019-01-05 18:55:34 +08:00
fasiondog
0ec2b2d901 Datetime增加几个便捷方法 2019-01-05 02:15:36 +08:00
fasiondog
3fe37895bd 修复python io重定向重入问题 2018-11-17 15:47:51 +08:00
fasiondog
cb86c1cbf1 change Enum KQuery::KType to string for more kdata type (will continue) 2018-10-04 20:55:39 +08:00
fasiondog
619452481e Modify iostream from c++ -> python 2018-09-22 18:27:55 +08:00
fasiondog
8cbd6df093 fix defect python on unit-like 2018-09-22 15:37:17 +08:00
fasiondog
3038f2735a improve detect python with @ruki's help; try fix gcc4.8 error 2018-09-22 15:23:32 +08:00
fasiondog
9eb4a07165 try fix gcc4.8 complie error 2018-09-22 14:35:21 +08:00
fasiondog
2e584bdd31 update xmake 2018-09-21 01:08:43 +08:00
fasiondog
35c9b3d9ae update xmake 2018-09-20 23:12:30 +08:00
fasiondog
66fecf64bf update xmake for macosx 2018-09-20 02:43:03 +08:00
fasiondog
15c96aba18 update xmake for macosx 2018-09-19 02:45:50 +08:00
fasiondog
1a940db60e update xmake for linux 2018-09-15 02:52:35 +08:00
fasiondog
28895fff7e add getVersion, xmake remove some options 2018-09-10 02:21:19 +08:00
fasiondog
83eaa41a80 update xmake project for linux 2018-09-09 16:43:04 +08:00
fasiondog
abb87c94c6 continue xmake for linux 2018-09-07 02:06:06 +08:00
fasiondog
fbfe45f62c xmake for linux and clean warn with gcc 2018-09-04 01:41:24 +08:00
fasiondog
38de8a7f8e Solves the problem of redirecting C++ output to python;
Remove any additional eclipse configuration files
2018-08-30 02:38:13 +08:00
fasiondog
bc3a875a2c 1. Fix: VS2017 can't use Boost.python's docstring
2. Support C++17
3. Clear "tes_data/tmp"
2018-08-26 18:47:06 +08:00
fasiondog
8379b053a1 Re-organize source code structure; use xmake for build 2018-08-20 04:01:34 +08:00