Commit Graph

17 Commits

Author SHA1 Message Date
zenix
1f27ef653b fix: exception on parsing empty string in dnum 2022-03-07 12:46:03 +09:00
zenix
f101e93311 fix: dnum panic, precision loss in parsing string in legacy 2022-02-28 15:50:31 +09:00
c9s
9c45e6693f fix formatString 2022-02-25 18:25:44 +08:00
zenix
20cccf57e5 fix: NumFractionalDigits in legacy fixedpoint and dnum fixedpoint 2022-02-17 12:45:06 +09:00
zenix
a3a262783f fix: set backtest cancel Delta to be 1e-11 2022-02-15 18:59:10 +09:00
zenix
7455279517 fix: #400 for int64 formating when exp <= 0 2022-02-15 18:24:21 +09:00
zenix
8648528435 fix go fmt, fix convert.go (the legacy fixedpoint implementation) in all tests 2022-02-15 14:55:19 +09:00
zenix
eb70410f80 add back legacy implementation 2022-02-15 12:01:39 +09:00
zenix
cdba7924b4 fix backtest panic when cancel fail on the last order 2022-02-15 12:01:39 +09:00
zenix
fad85d0992 fix binance test, outptu for support and xgap strategies 2022-02-15 12:01:39 +09:00
zenix
05521a98b6 add skeleton strategy. fix most of the tests. fix final asset value 2022-02-15 12:01:39 +09:00
zenix
9978a3cf90 fix unmarshal behavior to gain more precision 2022-02-15 12:01:39 +09:00
zenix
abc1d535d8 fix bollmaker, fix pnl issues 2022-02-15 12:01:39 +09:00
zenix
105b085786 fix bollgrid, emstop, flashcrash, funding, grid, pricealert, pricedrop, rebalance, schedule, swing, xbalance, xgap, xmaker and speedup fixedpoint 2022-02-15 12:01:39 +09:00
zenix
2ccc449657 fix xpuremaker,xnav,techsignal,support,etf and add methods in fixedpoint 2022-02-15 12:01:39 +09:00
zenix
b8bf2af14d fixedpoint for exchange and indicators, some fixes in types 2022-02-15 12:01:38 +09:00
zenix
e221f54397 add dnum as the fixedpoint implementation. change types float64 to fixedpoint.Value
change pnl report to use fixedpoint

fix: migrate kline to use fixedpoint
2022-02-15 12:00:39 +09:00