Commit Graph

6916 Commits

Author SHA1 Message Date
c9s
88c7049a99 add reportTrade method 2020-06-16 16:47:15 +08:00
c9s
f4bf79d842 fix color 2020-06-16 15:32:22 +08:00
c9s
d28bec2a05 add kline color and submitMarketOrder method 2020-06-16 15:14:23 +08:00
c9s
884a9730f1 refactor kline attachment 2020-06-16 14:22:02 +08:00
c9s
0153670f78 refactor rule and upper shaodw checker 2020-06-16 14:13:53 +08:00
c9s
fded619772 implement GetUpperShadowHeight and GetLowerShadowHeight 2020-06-16 13:44:50 +08:00
c9s
c089e9a1b5 add 1m kline window protection 2020-06-10 13:53:31 +08:00
c9s
35bb5bda06 ignore selling trades from the beginning 2020-06-10 10:26:14 +08:00
c9s
062fe55b43 add thickness condition in bounce check 2020-06-10 09:51:53 +08:00
c9s
1ca616fb43 fix bounce calculation 2020-06-10 09:44:44 +08:00
c9s
fce3beccd0 refactor pnl updater 2020-06-09 23:27:46 +08:00
c9s
825cefd76d refactor and fix many issues 2020-06-09 22:48:56 +08:00
c9s
71098c9f8b fix: use math.Abs to calculate change 2020-06-09 19:33:44 +08:00
c9s
c30c4e9937 add min profit check 2020-06-09 14:13:02 +08:00
c9s
b191462096 add 1d kline 2020-06-09 13:45:47 +08:00
c9s
3fe812264f update 2020-06-09 10:38:20 +08:00