Commit Graph

38 Commits

Author SHA1 Message Date
fasiondog
9256578b3b TradeManager 去除不指定日期共有的 getFunds 方法,容易误用 2022-11-22 00:51:58 +08:00
fasiondog
ff6aba9653 合约交易支持(continue) 2022-09-20 00:58:36 +08:00
fasiondog
3be3a880b3 买空/卖空支持(continue) 2022-09-19 23:26:32 +08:00
fasiondog
1289596c68 删除 FundsRecored 中的 borrow_cash 与 borrow_asset 2022-09-18 00:28:18 +08:00
fasiondog
3bf80ceaf5 卖空/买空支持(continue) 2022-09-15 01:10:41 +08:00
fasiondog
17ae2a3261 买空/卖空支持(continue) 2022-09-11 01:14:20 +08:00
fasiondog
99b821b235 卖空/买空支持(continue) 2022-09-06 01:13:01 +08:00
fasiondog
853530933b 买空/卖空支持(continue) 2022-09-05 00:10:37 +08:00
fasiondog
8a88e4fc13 卖空/买空支持(continue) 2022-09-04 15:36:15 +08:00
fasiondog
79b37b28b8 remove getBorrowStockCost、getReturnStockCost 2022-08-30 01:16:02 +08:00
fasiondog
320f5cc1a0 删除 FundRecord 中的 short_market_value;补充自动归还现金与股票测试及修正 2022-08-29 01:22:58 +08:00
fasiondog
2524baf5db remove TraderManager::getShortStockNumber 2022-08-28 01:21:14 +08:00
fasiondog
723cc5b7f0 remove buyShort 相关操作及定义 2022-08-28 01:17:35 +08:00
fasiondog
8c18d21e27 TradeManager 完善资金借入与归还 2022-08-28 01:04:01 +08:00
fasiondog
66773b5f92 补充 System 注释;其他细节修改 2022-02-26 21:34:07 +08:00
fasiondog
0f71fc0c43 恢复 getFunds ;fixed TM addTradeRecord 2022-02-24 01:00:40 +08:00
fasiondog
58027d8770 删除TradeManager中不安全的getFunds, getFundsCurve, getProfitsCurve函数 2022-02-23 01:57:33 +08:00
fasiondog
7bf003c2fe TradeManager优化,删除 reinvest 参数;getPosition 加入指定时间并更新权息;私有 _update 改为公有 updateWithWeight 方法,以便某些情况主动调用 2022-02-23 00:16:02 +08:00
fasiondog
82ae061b92 TradeManager python 序列化修改 2021-02-14 17:58:25 +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
cc9363fd09 完善portfolio 2020-09-13 21:41:39 +08:00
fasiondog
a037dfaeb6 修正资产分配算法与资产组合 2020-09-05 23:55:26 +08:00
fasiondog
07ae8a4db1 Portfolio添加python引出函数;TradeManager添加getFundsCurve重载 2020-09-04 00:12:04 +08:00
fasiondog
c2087890e6 规整 python 接口 2020-07-17 00:26:03 +08:00
fasiondog
27407f3347 规整 python 接口 2020-07-13 23:52:35 +08:00
fasiondog
95c2e2f4b5 continue 2020-07-13 02:01:25 +08:00
fasiondog
553dddf536 规则 python 接口 2020-07-12 20:46:34 +08:00
fasiondog
2accc1464c 规整 python 接口(continue) 2020-07-11 19:06:32 +08:00
fasiondog
d5a41130ec continue 2020-07-01 00:18:46 +08:00
fasiondog
f2b93b24c5 continue 2020-06-26 21:39:53 +08:00
fasiondog
2e98d9db8c 优化 boosy_python 2020-06-25 15:59:37 +08:00
fasiondog
82a08790d9 TradeManager中买卖数量从size_t修改为double 2020-05-11 23:27:27 +08:00
fasiondog
843bcf9703 haveParam 引出至 Python 2019-06-05 22:27:15 +08:00
fasiondog
cc7e9b3f41 fix: _trade_manage初始化异常 2019-03-15 00:48:10 +08:00
fasiondog
0441c54e26 fixed: #25 TradeManager对象以指定价格卖出全部数量指定股票操作时报错 2019-03-12 22:33:02 +08:00
fasiondog
fbfe45f62c xmake for linux and clean warn with gcc 2018-09-04 01:41:24 +08:00
fasiondog
8379b053a1 Re-organize source code structure; use xmake for build 2018-08-20 04:01:34 +08:00