Commit Graph

6045 Commits

Author SHA1 Message Date
c9s
923022e87b remove trade filtering 2020-07-13 14:28:20 +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
a4a5231d78 implement account balance query 2020-07-13 12:28:40 +08:00
c9s
791a745951 move stream close call right after the connect 2020-07-13 12:20:09 +08:00
c9s
704c6eed96 fix sub 2020-07-13 01:55:16 +08:00
c9s
a9e25c08d7 fix reconnect close 2020-07-13 01:06:04 +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
c329f6dc86 fix reconnect 2020-07-12 22:52:24 +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
c0d0aca3b8 fix side issue 2020-07-11 21:44:38 +08:00
c9s
577caab3f5 refactor volume calculator 2020-07-11 20:40:19 +08:00
c9s
cb4afca815 add message for stream closed 2020-07-11 17:02:37 +08:00
c9s
73ae2603d9 drop kline fields from the trading context 2020-07-11 16:40:07 +08:00
c9s
73276996a7 move to stream callbacks 2020-07-11 16:07:09 +08:00
c9s
a105af35ce move strategy to the pkg/strategy 2020-07-11 15:27:26 +08:00
c9s
6c1f214d0f fix import 2020-07-11 15:19:36 +08:00
c9s
a3fa292dc5 move files 2020-07-11 15:18:31 +08:00
c9s
1c99ca52cb add color.go 2020-07-11 15:00:35 +08:00
c9s
efca619949 pull out side type 2020-07-11 13:21:23 +08:00
c9s
d38c3afb40 move side name color 2020-07-11 13:15:10 +08:00
c9s
62e27957c1 fix deploy 2020-07-11 13:13:41 +08:00
c9s
ce89835a7d refactor binance exchange factory 2020-07-11 13:08:50 +08:00
c9s
0ae851a085 abstract binance exchange 2020-07-11 13:02:53 +08:00
c9s
5665f6db97 add log label 2020-07-11 12:52:51 +08:00
c9s
2a168031f3 merge connect and read method 2020-07-11 12:51:02 +08:00
c9s
db5b203e9d move trade struct to types 2020-07-11 12:42:28 +08:00
c9s
9288b6801f add binance buyer, maker label 2020-07-11 12:37:09 +08:00
c9s
ea33db5aa1 rename Trade.Market to Symbol 2020-07-11 12:16:42 +08:00
c9s
5cf88af5d6 add QueryAveragePrice api 2020-07-11 12:15:45 +08:00
c9s
0e9bd1547d fix stream issue and pnl issues 2020-07-11 12:07:24 +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
c9s
1ca46435c3 parse ResultEvent 2020-06-29 10:55:00 +08:00
c9s
4cd96360b3 parse event from the binance private stream 2020-06-29 03:11:05 +08:00
c9s
338d2443b9 refactor private stream 2020-06-29 03:08:13 +08:00
c9s
778d046820 support config reloading 2020-06-28 13:45:55 +08:00
c9s
e6aca05a51 add precesion in the format message 2020-06-24 22:25:06 +08:00
c9s
14d2cc0faf add min profit price tick 2020-06-24 22:13:18 +08:00
c9s
bdc4161fb3 fix btc volume precision 2020-06-24 21:25:47 +08:00
c9s
fea95d1633 fix format 2020-06-24 19:29:58 +08:00