158 Commits

Author SHA1 Message Date
zhiyong
efbeb35d07 忽略持仓数量和资金 2025-06-04 11:24:21 +08:00
zhiyong
48db0b7f4c fix: 修复定时方法被重复调用的问题 2025-06-04 11:16:59 +08:00
zhiyong
c443d0368a fix: stop and start cheduler 2025-05-29 19:57:09 +08:00
zhiyong
c6966a96e0 update url 2025-05-23 17:59:02 +08:00
zhiyong
e3934bcdf9 update config 2025-05-22 23:02:59 +08:00
zhiyong
64c88dcc24 添加控制限价单超时后是否撤单并挂市价单补单的功能 2025-05-22 22:53:07 +08:00
zhiyong
65f91c56b2 update login 2025-05-22 22:43:54 +08:00
zhiyong
1d893aa629 重构项目文件结构 2025-05-22 22:30:08 +08:00
zhiyong
d2bbe3eb55 add order to all_orders 2025-05-21 14:56:26 +08:00
zhiyong
87e7c7b45a add more log info to 成交变动 2025-05-21 14:48:28 +08:00
zhiyong
280234523d update xtquant version to 250425 2025-05-21 10:49:51 +08:00
zhiyong
20628a07e6 update __init__ 2025-05-21 10:46:24 +08:00
zhiyong
42ba54df92 move resources folder 2025-05-21 10:37:17 +08:00
zhiyong
6b02cda4b0 更新开盘时间 2025-05-21 09:51:30 +08:00
zhiyong
5605cafa34 重启迅投软件后等待10秒, 让软件重启完成 2025-05-20 10:12:00 +08:00
zhiyong
f16f09c8e9 改为市价下单 2025-05-19 10:11:52 +08:00
zhiyong
7c8db6adeb 添加锁, 避免定时任务check_pending_orders堆积, 从而导致重复执行撤单, 补单 2025-05-16 20:07:18 +08:00
zhiyong
e7463158d2 优化check_pending_orders 2025-05-16 20:00:33 +08:00
zhiyong
90ae3f286b add get_trade 2025-05-16 15:29:38 +08:00
zhiyong
c57c96fe64 add traded price in log 2025-05-16 14:49:29 +08:00
zhiyong
004f3aa370 update create order time 2025-05-16 14:29:12 +08:00
zhiyong
b8025ec98f update config 2025-05-16 14:22:26 +08:00
zhiyong
1a4d8cd11e add more log for pending order checking 2025-05-16 14:15:06 +08:00
zhiyong
49bd92296e fix: module path 2025-05-16 14:12:20 +08:00
zhiyong
d17b3de56d optimize trade_server 2025-05-16 01:13:45 +08:00
zhiyong
f2f7b0cd29 optimize constants 2025-05-16 00:56:03 +08:00
zhiyong
8684d4f52d web api添加拦截功能 2025-05-15 21:12:29 +08:00
zhiyong
b1a291b632 always update order status 2025-05-15 13:54:06 +08:00
zhiyong
2f02d05daf fix check pending order 2025-05-15 13:47:07 +08:00
zhiyong
050eaaf041 fix: available cash 2025-05-15 13:26:49 +08:00
zhiyong
292866257a fix: order timeout 2025-05-15 11:40:47 +08:00
zhiyong
28472a3bb1 update check pendding order 2025-05-15 11:14:53 +08:00
zhiyong
11c620310c refactor on_stock_trade 2025-05-15 11:07:28 +08:00
zhiyong
c8f31c445b fix on_stock_trade 2025-05-15 10:59:13 +08:00
zhiyong
80be197d8f update time of check limit order 2025-05-15 10:52:51 +08:00
zhiyong
9b2dd35fa8 remove copy 2025-05-15 10:50:26 +08:00
zhiyong
fd4fa0962e fix check_limit_order 2025-05-15 10:46:24 +08:00
zhiyong
8f2ea1c260 refactor check limit order 2025-05-15 10:43:15 +08:00
zhiyong
0f23e5d6ba add more log 2025-05-15 10:35:03 +08:00
zhiyong
db47776764 设置检查限价单时间为30s 2025-05-15 10:28:38 +08:00
zhiyong
e62ab751d8 fix: 检查限价单是否超时时发生异常 2025-05-15 10:19:21 +08:00
zhiyong
a6a081e773 减少锁的持有时间 2025-05-15 10:13:14 +08:00
zhiyong
2f0d7e5a7e remove log 2025-05-15 09:52:08 +08:00
zhiyong
24e10b3c3d update logger config 2025-05-14 23:38:06 +08:00
biggerfish
9e13f3c956
refactor: use order callback to update order status (#1)
* fix: logger is none

* 由订单回调触发订单状态更新和补单

* 使position manager 线程安全

* remove empty line
2025-05-14 23:07:03 +08:00
zhiyong
7d49e19f5d fix: 撤单后补单失败 2025-05-14 11:49:26 +08:00
zhiyong
0880d66abe add more log 2025-05-14 11:47:20 +08:00
zhiyong
e80125140b add more log to xt_trader 2025-05-14 11:24:15 +08:00
zhiyong
1308f5c757 update log for position manager 2025-05-14 11:07:54 +08:00
zhiyong
9736919a49 fix: 限价单后撤单下市价单没有工作 2025-05-14 11:00:41 +08:00