Commit Graph

8885 Commits

Author SHA1 Message Date
c9s
0b58033bfb move order submit logics to order processor 2020-09-16 14:05:03 +08:00
c9s
e37932bace pre-parse kline payload so that we don't have to re-parse string everytime 2020-09-16 12:28:15 +08:00
c9s
afcde6827f refactor hot reloader and market data store 2020-09-08 14:56:08 +08:00
c9s
3e573ebb10 improve hot reload 2020-09-07 14:34:09 +08:00
c9s
ec839d0dc9 refactor trade command 2020-09-07 14:20:03 +08:00
c9s
a90184a464 add kline store 2020-09-05 16:22:46 +08:00
c9s
dd55857423 add max exchange 2020-08-31 12:32:51 +08:00
c9s
31be04cc74 fix kline window truncate 2020-08-18 13:22:27 +08:00
c9s
86769d4535 add kline window tail test 2020-08-18 13:14:52 +08:00
c9s
163036c745 refactor for BatchQueryKLineWindows 2020-08-14 13:47:55 +08:00
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