Commit Graph

48 Commits

Author SHA1 Message Date
c9s
0f01fdc572 fix trader notify interfaae 2020-09-19 11:09:20 +08:00
c9s
33963f52e0 fix private stream interface for backtesting 2020-09-19 10:59:43 +08:00
c9s
42a32924a7 fix cyclic imports 2020-09-19 09:05:06 +08:00
c9s
a9b995a362 fix exchange interface 2020-09-18 18:15:45 +08:00
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
6e405eb443 adjust fee calculation 2020-08-14 13:11:34 +08:00
c9s
891bf50101 add gin and add trades through the trade service 2020-08-11 09:28:13 +08:00
c9s
094da9d3d3 adjust pnl timer 2020-08-10 13:27:28 +08:00
c9s
0fffc379fc show symbol name in the order submit message 2020-08-06 14:21:01 +08:00
c9s
ef2fd84dce check stock quantity 2020-08-04 19:05:20 +08:00
c9s
4a4178286a rename trade volume to quantity and record quote quantity 2020-08-02 21:12:43 +08:00
c9s
099d58f23a print historical high and low 2020-07-20 11:49:20 +08:00
c9s
30e8cad7c8 print side 2020-07-18 20:35:37 +08:00
c9s
78f1aa59b7 clean up code 2020-07-18 10:15:10 +08:00
c9s
c94c85d51f show wallet balance and move kline cache 2020-07-18 10:01:10 +08:00
c9s
60efce96b6 fix regression balance handling 2020-07-16 18:25:40 +08:00
c9s
cf59ffc32f support regression 2020-07-16 15:36:02 +08:00
c9s
9cf95b7c26 implement standard private stream support for regression trader 2020-07-15 21:02:08 +08:00
c9s
b5193ca67d use symbol from the strategy config file 2020-07-14 22:33:47 +08:00
c9s
9d828c99e2 adjust flatness param 2020-07-14 14:54:23 +08:00
c9s
79f9d078b6 adjust volume for balance 2020-07-14 00:38:52 +08:00
c9s
ef622b0c7c support balance load and update 2020-07-14 00:20:15 +08:00
c9s
63dc2e8d55 fix graceful shutdown 2020-07-13 13:31:40 +08:00
c9s
9b042b5e8f fix subscription mech 2020-07-13 13:25:48 +08:00
c9s
79553212a7 add idea vcs file 2020-07-13 12:57:18 +08:00
c9s
d3df1c5082 clean up trader fields 2020-07-13 12:36:04 +08:00
c9s
40c9ea1596 move out slack components to the slack pkg 2020-07-13 12:34:15 +08:00
c9s
4fa8be76ea remove unused Errorf method 2020-07-13 12:31:39 +08:00
c9s
0f2faf315d clean up logger methods 2020-07-13 12:30:35 +08:00
c9s
906350a5bc fix pnl report and slack notifier 2020-07-13 01:01:33 +08:00
c9s
1f127a367a call notifier reportTrade method 2020-07-13 00:36:26 +08:00
c9s
6660b75dcb rename SlackReporter to SlackNotifier and simplify infof 2020-07-12 22:57:54 +08:00
c9s
f6a1c20cfe more trader refactoring 2020-07-12 22:52:49 +08:00
c9s
707f96ae08 alias logrus to log 2020-07-12 19:45:03 +08:00
c9s
cdff2cf487 fix import alias 2020-07-12 19:44:05 +08:00
c9s
73276996a7 move to stream callbacks 2020-07-11 16:07:09 +08:00
c9s
a3fa292dc5 move files 2020-07-11 15:18:31 +08:00
c9s
62e27957c1 fix deploy 2020-07-11 13:13:41 +08:00
c9s
0ae851a085 abstract binance exchange 2020-07-11 13:02:53 +08:00
c9s
db5b203e9d move trade struct to types 2020-07-11 12:42:28 +08:00
c9s
ea33db5aa1 rename Trade.Market to Symbol 2020-07-11 12:16:42 +08:00
c9s
19b225737f refactor pnl calculator 2020-07-11 11:23:48 +08:00
c9s
a177e55172 add more refactoring 2020-07-10 21:34:39 +08:00