Commit Graph

5875 Commits

Author SHA1 Message Date
c9s
6e405eb443 adjust fee calculation 2020-08-14 13:11:34 +08:00
c9s
7c5fa2f191 fix max kline calculation 2020-08-14 13:08:09 +08:00
c9s
8f2c0b1680 show baseline balance when started 2020-08-13 10:11:27 +08:00
c9s
fcf0f30628 fix distribution for floating numbers 2020-08-11 12:09:40 +08:00
c9s
0b0c895cd2 ignore tmp 2020-08-11 10:31:54 +08:00
c9s
51700c951a fix stock consume 2020-08-11 10:29:17 +08:00
c9s
329aa39d26 add total quantity field 2020-08-11 10:27:41 +08:00
c9s
261da73a9a fix distribution chart 2020-08-11 10:24:56 +08:00
c9s
54a5e41c4f implement distruction api 2020-08-11 09:54:02 +08:00
c9s
891bf50101 add gin and add trades through the trade service 2020-08-11 09:28:13 +08:00
c9s
e2339febc2 remove slack interaction since the token does not support rtm 2020-08-11 09:11:20 +08:00
c9s
b02c2ae16c fix import sorting 2020-08-11 08:41:01 +08:00
c9s
e2fef7b6d2 fix slack hook naming 2020-08-11 08:37:27 +08:00
c9s
0d9b503278 use log fields instead of log prefix 2020-08-11 08:36:36 +08:00
c9s
094da9d3d3 adjust pnl timer 2020-08-10 13:27:28 +08:00
c9s
4f3432d4bf add profit report text 2020-08-08 10:13:35 +08:00
c9s
cd7411d530 add math.Abs 2020-08-07 21:19:31 +08:00
c9s
a9a9c2744e add min notional check 2020-08-07 09:27:17 +08:00
c9s
695ab28246 pull out mask listen key method 2020-08-07 09:17:35 +08:00
c9s
87e5019b08 improve error logging 2020-08-07 09:15:50 +08:00
c9s
6b478b4e87 fix title and layout 2020-08-07 00:11:29 +08:00
c9s
080cfe25d9 adjust pretty print 2020-08-06 23:51:56 +08:00
c9s
8281ec33cb adjust slack attachment 2020-08-06 23:49:47 +08:00
c9s
5ffd751701 fix truncate 2020-08-06 23:45:30 +08:00
c9s
0fffc379fc show symbol name in the order submit message 2020-08-06 14:21:01 +08:00
c9s
cb2ee2d502 improve price formatter 2020-08-06 13:42:50 +08:00
c9s
bfe38b8815 use UnrealizedProfit for color 2020-08-06 13:31:41 +08:00
c9s
1d6b69e406 add unrealized profit 2020-08-06 13:27:35 +08:00
c9s
887400eb83 parse QuoteQuantity 2020-08-06 13:18:41 +08:00
c9s
409332a56c improve trade layout 2020-08-06 13:12:27 +08:00
c9s
65f5a75bf1 fix slack attachment rendering 2020-08-06 13:11:03 +08:00
c9s
130407191a display more trade information 2020-08-06 12:56:14 +08:00
c9s
4ffade49ea improve trade attachment 2020-08-06 12:53:34 +08:00
c9s
fc82f446f5 improve kline attachment display 2020-08-06 12:51:48 +08:00
c9s
80f50ecb19 fix fee calculation 2020-08-05 20:07:53 +08:00
c9s
78be592fee fix fee calculation 2020-08-05 18:49:32 +08:00
c9s
c8849e76a1 calculate currency fee 2020-08-05 18:39:08 +08:00
c9s
12dde9f57b remove unused SetCurrencyPrice 2020-08-05 18:34:33 +08:00
c9s
f276520186 improve error messages 2020-08-04 20:04:15 +08:00
c9s
ef2fd84dce check stock quantity 2020-08-04 19:05:20 +08:00
c9s
a37117a593 add stock manager to the context 2020-08-04 18:45:36 +08:00
c9s
caf7ea3679 add more assertions 2020-08-04 17:12:01 +08:00
c9s
7741cb11d6 add squash method 2020-08-04 17:10:29 +08:00
c9s
3017bbbf13 fix stock calculation 2020-08-04 17:03:57 +08:00
c9s
350c0b3b87 add pending sell test case 2020-08-04 15:25:09 +08:00
c9s
03595f2382 add stock manager tests 2020-08-04 14:14:19 +08:00
c9s
c7379e6fc0 remove debug log 2020-08-04 13:59:52 +08:00
c9s
52c16715fa add stock management 2020-08-04 13:50:27 +08:00
c9s
a46462a5e4 add stock calculation 2020-08-04 09:47:54 +08:00
c9s
aef57a5ae4 fix slack arg index 2020-08-03 20:08:14 +08:00