Commit Graph

704 Commits

Author SHA1 Message Date
fasiondog
754353e8bf 完善 hkuserver 多国语言 2021-05-03 01:46:08 +08:00
fasiondog
dc6db4cabb fixed DBConnectBase; fixe hkuserver xmake.lua 2021-05-02 12:53:23 +00:00
fasiondog
b9a1d67afc hkuserver 多国语言支持 2021-05-02 02:10:27 +08:00
fasiondog
77a42f5551 hkuadmin continue 2021-04-30 01:47:34 +08:00
fasiondog
ddc08c1220 hkuserver user manager 2021-04-29 01:54:18 +08:00
fasiondog
475ca7d688 修改 hkuserver log 2021-04-28 20:56:06 +08:00
fasiondog
79836b8f29 hkuserver authorize 2021-04-28 01:47:23 +08:00
fasiondog
c892c4ed2a hkuserver continue 2021-04-27 01:43:24 +08:00
fasiondog
86fedb49fc hkuserver continue 2021-04-26 01:43:27 +08:00
fasiondog
880c36a654 补充从hex构造Datetime及测试 2021-04-26 01:43:09 +08:00
fasiondog
437b33327d Datetime增加hex()返回兼容oracle的Datetime格式存储 2021-04-25 23:59:14 +08:00
fasiondog
6f91ab960c update hkuserver 2021-04-25 01:53:22 +08:00
fasiondog
570c675fd9 update hkuserver 2021-04-24 23:07:57 +08:00
fasiondog
8b5fb3c024 update hkuserver 2021-04-24 17:54:53 +08:00
fasiondog
bd3e32ea08 update hkuserver db 2021-04-16 22:55:46 +08:00
fasiondog
f3517d211a add LRUCache11 2021-04-15 23:55:04 +08:00
fasiondog
203885c8c8 hkuserver continuue 2021-04-14 01:49:02 +08:00
fasiondog
84857ea909 hkuserver continue 2021-04-13 01:51:19 +08:00
fasiondog
ca764aa7b9 hkuserver continue 2021-04-12 22:22:54 +08:00
fasiondog
eb05306ec3 修改 gitee scan 扫描告警 2021-04-10 21:43:53 +08:00
fasiondog
a1fec61398 hkuserver tradeservice create database 2021-04-10 01:21:32 +08:00
fasiondog
46756092af hkuserver continue 2021-04-09 01:09:30 +08:00
fasiondog
cb7ad690cf hkuserver continue 2021-04-08 00:53:37 +08:00
fasiondog
0d3b6a04a6 update for hkuserver 2021-04-06 00:52:53 +08:00
fasiondog
ff9885cd02 优化 db connect 2021-04-04 22:27:54 +08:00
fasiondog
f3966f3053 优化db connect (continue) 2021-04-04 18:08:07 +08:00
fasiondog
0d5f7bf312 sqlite3 切换至xmake repo 2021-04-04 16:38:26 +08:00
fasiondog
beea090977 fixed compile error on ubuntu20.04 2021-04-02 15:49:21 +00:00
fasiondog
75a9353826 cpp-httplib改为引用xmake-repo的方式 2021-03-31 00:36:53 +08:00
fasiondog
aa85b786e8 update 2021-03-30 01:01:38 +08:00
fasiondog
9083dae09a update 2021-03-29 00:47:55 +08:00
fasiondog
eaa40ff727 nlohmann_json 使用 xmake 获取 2021-03-28 00:53:51 +08:00
fasiondog
96a33080a0 update for strategy trade 2021-03-26 01:23:02 +08:00
fasiondog
816557a3d6 std::hash fixed for compile on linux 2021-03-26 01:22:40 +08:00
fasiondog
6b316eda1c Strategy支持非独立进程运行 2021-03-25 00:55:39 +08:00
fasiondog
02c608dfc6 clear cppcheck warnnings 2021-03-24 23:20:01 +08:00
fasiondog
6e248c34e3 strategy account trade manage 2021-03-24 00:42:53 +08:00
fasiondog
881f222e2d hku server continue 2021-03-23 01:08:38 +08:00
fasiondog
fd30c9bfd3 hku server continue 2021-03-22 01:38:03 +08:00
fasiondog
db43a902b9 hku server continue 2021-03-21 20:10:40 +08:00
fasiondog
3ad5d3ab09 感觉被yyjson坑了,没有索引,只有顺序读取遍历最高效。改回nlohmann::json 2021-03-21 00:50:06 +08:00
fasiondog
aadf9dfb52 wrap yyjson continue 2021-03-21 00:15:51 +08:00
fasiondog
eb45ab630e wrap yyjson continue 2021-03-20 01:53:12 +08:00
fasiondog
4f42d96e85 wrap yyjson continue 2021-03-19 01:13:01 +08:00
fasiondog
4a0f2cbf58 wrap yyjson continue 2021-03-18 01:53:52 +08:00
fasiondog
3595eb166a wrap yyjson continue 2021-03-17 00:38:51 +08:00
fasiondog
1827de3728 wrap yyjson continue 2021-03-16 01:06:19 +08:00
fasiondog
f74e743541 wrap yyjson 2021-03-15 00:51:51 +08:00
fasiondog
6f1934b9c0 hku server continue 2021-03-14 19:22:32 +08:00
fasiondog
b6c5dcab6e hku server continue 2021-03-14 12:09:47 +08:00
fasiondog
683cb36f7c hku server continue 2021-03-14 01:32:19 +08:00
fasiondog
8e91fe1f4e hku server continue 2021-03-12 01:39:24 +08:00
fasiondog
fce49ee9cf yyjson封装 2021-03-11 01:22:50 +08:00
fasiondog
8d3015ac3e 优化StealThreadPool;添加MQStealThreadPool 2021-03-11 00:10:08 +08:00
fasiondog
4c4851eeb6 hku server continue 2021-03-08 00:46:44 +08:00
fasiondog
e2422b25df hku server continue 2021-03-07 18:14:04 +08:00
fasiondog
cb213c148f hku server continue 2021-03-07 01:17:40 +08:00
fasiondog
4481d81ecb hikyuu server continue 2021-03-06 01:05:31 +08:00
fasiondog
d25b15fa8c http server continue 2021-03-05 00:59:11 +08:00
fasiondog
b46961382f MQThreadPool 2021-03-04 23:23:23 +08:00
fasiondog
a52404516f update 2021-03-04 01:17:21 +08:00
fasiondog
8408a86781 hikyuu server continue 2021-03-03 00:14:36 +08:00
fasiondog
fe142724b2 hikyuu server continue 2021-03-01 00:58:36 +08:00
fasiondog
c1f3d7773a hikyuu server continue 2021-02-28 18:14:12 +08:00
fasiondog
90989e1479 Rest server (continue) 2021-02-28 01:05:03 +08:00
fasiondog
bbcde7aedb fixed demo.cpp 2021-02-27 00:12:01 +08:00
fasiondog
57befefca5 add clock event for Strategy 2021-02-26 01:23:42 +08:00
fasiondog
56bec092a2 addTimerEvent for Strategy (continue) 2021-02-25 00:56:52 +08:00
fasiondog
9f70119377 fixed Strategy run 2021-02-25 00:03:59 +08:00
fasiondog
9faf8d35d0 TimerManager增加移除定时任务操作 2021-02-24 23:17:39 +08:00
fasiondog
8410e99d6a continue for strategy 2021-02-24 00:43:40 +08:00
fasiondog
b8cec2cf67 continue for strategy 2021-02-23 00:43:00 +08:00
fasiondog
2391477a52 fixed 切换mysql导入时错误提示目录不存在 2021-02-22 23:52:16 +08:00
fasiondog
f00a31694d continue for strategy 2021-02-22 00:50:27 +08:00
fasiondog
7e0800a73e 优化代码目录 2021-02-21 22:52:05 +08:00
fasiondog
cf8c76d67d continue for Strategy 2021-02-20 00:43:06 +08:00
fasiondog
4590d37324 完善 Strategy 2021-02-19 01:12:50 +08:00
fasiondog
88379f18a4 unit-test退出时恢复控制台代码页;python 加强 StrategyContext.__init__ 2021-02-17 20:04:29 +08:00
fasiondog
2d392565e4 update for StrategyContext 2021-02-17 19:43:59 +08:00
fasiondog
2b3968bf11 update 2021-02-17 16:08:24 +08:00
fasiondog
8e6b2e0f42 add Strategy continue 2021-02-17 00:56:19 +08:00
fasiondog
1bf48bce77 TradeManager改造 2021-02-14 17:33:25 +08:00
fasiondog
fd15e17d4f TradeManager改造(continue) 2021-02-14 00:43:29 +08:00
fasiondog
a06253014e update notebook examples and fixed 2021-02-13 00:02:58 +08:00
fasiondog
890b78731f 加入策略上下文、指定加载stock范围 2021-02-11 18:06:18 +08:00
fasiondog
51b882a8d9 add StrategyContext (continue) 2021-02-11 00:47:22 +08:00
fasiondog
b7a13c6d22 update 2021-02-10 23:01:09 +08:00
fasiondog
9a6b81b5f3 Signal增加nextTimeShouldBuy, nextTimeShouldSell快捷方法 2021-02-09 23:47:08 +08:00
fasiondog
e50dafb1dd 补充节假日测试;Stock:realtimeUpdate加入节假日保护 2021-02-07 22:29:22 +08:00
fasiondog
8d8ebc3991 增加节假日信息;优化加载代码 2021-02-07 00:56:04 +08:00
fasiondog
0f822765fb update for pytdx_data_driver 2021-02-06 14:45:52 +08:00
fasiondog
657f702dac 增加重复初始化保护 2021-02-05 23:57:15 +08:00
fasiondog
5acbd527d3 fixed 重定向io至python中时,由于GIL导致在子线程中输出log时崩溃 2021-02-01 00:42:00 +08:00
fasiondog
b74d3691a8 规范函数命名 2021-01-31 23:45:53 +08:00
linjinhai
3ce6bc5ec7 compile on Macosx 2021-01-30 16:16:51 +08:00
fasiondog
8a77adf185 StockManager 增加 reload 方法 2021-01-29 00:18:01 +08:00
fasiondog
bdb6323837 删除多余文件 2021-01-28 00:44:41 +08:00
fasiondog
5651f85808 优化BaseInfoDriver 2021-01-28 00:43:53 +08:00
fasiondog
b30018644c clear code smell 2021-01-27 22:23:49 +08:00
fasiondog
66f810ab83 优化BaseInfoDriver 2021-01-27 00:37:59 +08:00
fasiondog
139e451ba7 并行加载权息信息 2021-01-26 22:58:19 +08:00
fasiondog
14b94befe5 update for stock getWeigth setWeightList 2021-01-26 00:21:34 +08:00
fasiondog
96e5a6a034 fixed getStockTypeInfo, getMarketInfo 2021-01-26 00:06:24 +08:00
fasiondog
aa6f62daf7 缓存中找不MarketInfo和StockTypeInfo时读取数据库 2021-01-25 00:31:47 +08:00
fasiondog
adfd133b63 优化MySQLKDataDriver,因外面已经使用DriverConnectPool, 内部无需再使用ConnectPool 2021-01-24 22:19:48 +08:00
fasiondog
77e1dfbd10 优化DriverPool 2021-01-24 20:47:38 +08:00
fasiondog
4fe7210542 fixed 并发加载 2021-01-24 00:38:22 +08:00
fasiondog
f6697c5a0c fixed 内存泄露 2021-01-23 23:03:28 +08:00
fasiondog
7ad16d65f3 修改默认空闲驱动数量限制为CPU数 2021-01-23 00:34:54 +08:00
fasiondog
fdfadc8d9f 清理H5KDataDriver锁 2021-01-23 00:23:45 +08:00
fasiondog
9dae10b810 driver pool 2021-01-22 23:50:46 +08:00
fasiondog
e923d39808 DriverPool (continue) 2021-01-22 00:39:37 +08:00
fasiondog
ff30c6e1a0 driver pool (continue) 2021-01-20 00:32:01 +08:00
fasiondog
21c9f7f4de HKU_CHECK/THROW改为不提前打印错误信息,方便程序自行控制输出 2021-01-18 23:45:42 +08:00
fasiondog
521471128c 清除无用代码 2021-01-18 23:13:17 +08:00
fasiondog
e6ecf778d4 0点重加载 2021-01-18 00:26:20 +08:00
fasiondog
b0f4134892 优化TimerManager Dll 退出时异常 2021-01-17 21:28:16 +08:00
fasiondog
7c1c6ec018 update 加载优化 2021-01-17 00:27:09 +08:00
fasiondog
cd59ab2f80 fixed dll退出时线程死锁 2021-01-16 00:15:28 +08:00
fasiondog
45e645be53 添加定时调度 2021-01-15 00:19:38 +08:00
fasiondog
5fe086e896 TimeManager增加线程数参数 2021-01-14 22:44:34 +08:00
fasiondog
e76e84d9c9 优化log, 异常前先打印 2021-01-13 23:23:59 +08:00
fasiondog
9b6de24019 add TImerManager end 2021-01-12 23:48:43 +08:00
fasiondog
30eef43c87 TimerManager (continue) 2021-01-12 00:37:00 +08:00
fasiondog
8e550252f3 TimerManager (continue) 2021-01-11 00:22:08 +08:00
fasiondog
d3b2e3d07d TimerManager (continue) 2021-01-10 17:41:06 +08:00
fasiondog
288f795b6f log trace release编译时计划,程序内默认设为INFO,test默认设为TRACE 2021-01-10 17:40:41 +08:00
fasiondog
f2dd9dcb5c TimeManager (continue) 2021-01-10 00:19:12 +08:00
fasiondog
c3ee306add add TimerManager (continue) 2021-01-09 00:11:16 +08:00
fasiondog
f7f75a1af5 SpotAgent增加交易时间判断 2021-01-06 00:06:58 +08:00
fasiondog
9541cd5bbf 补充 SpotAgent process 2021-01-05 00:02:40 +08:00
fasiondog
9346ecf74c 完善并行加载 2021-01-04 23:10:06 +08:00
fasiondog
89458028e4 fixed 并行加载错误 2021-01-04 00:16:19 +08:00
fasiondog
39e5d03aa6 SpotAgent add min data process 2021-01-04 00:15:45 +08:00
fasiondog
d77df6d52c Add SpotAgent Process function 2021-01-03 00:05:01 +08:00
fasiondog
6e4977f0b4 fixes Stock::_isTransactionTime 2021-01-01 23:26:16 +08:00
fasiondog
5650922bd3 完善SpotAgent; Stock添加判断时间是否在交易时间段内的方法 2020-12-30 00:21:29 +08:00
fasiondog
26cf444d82 use threadsafe hdf5 2020-12-29 00:18:57 +08:00
fasiondog
40b8adb38d fixed H5KDataDriver for mutex 2020-12-28 00:16:36 +08:00
fasiondog
f14f840898 hdf支持多线程读取 2020-12-27 19:11:18 +08:00
fasiondog
08c575b1df 预加载支持最大数量限制,以便加载分钟线级别数据至内存 2020-12-27 00:23:58 +08:00
fasiondog
1a056139aa 预加载增加数量设置(continue) 2020-12-26 18:33:57 +08:00
fasiondog
5442ee1966 Adjust directory structure 2020-12-26 13:05:15 +08:00
fasiondog
2e2f23186f Modify help notes 2020-12-26 12:48:45 +08:00
fasiondog
6160e14db8 Document annotation and cppcheck prompt modification 2020-12-26 11:38:03 +08:00
fasiondog
c612323231 SpotAgent补充注释帮助 2020-12-26 00:14:33 +08:00
fasiondog
83823c24f1 修改错误单词 2020-12-25 23:51:36 +08:00
fasiondog
1025719279 SpotAgent continue 2020-12-25 00:15:45 +08:00
fasiondog
eb2944438e SpotAgent conitnue 2020-12-24 00:20:43 +08:00
fasiondog
c00a62b9d3 SpotAgent continue 2020-12-23 00:25:39 +08:00