Commit Graph

4172 Commits

Author SHA1 Message Date
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
c9s
c6f1f58b98 rename field 2020-06-20 20:23:26 +08:00
c9s
180e1063b2 adjust parameters 2020-06-19 22:12:41 +08:00
c9s
fc9f34ca97 fix kline window stalck attachment 2020-06-19 16:34:24 +08:00
c9s
ff2d9d5cfd cast 2020-06-19 16:30:32 +08:00
c9s
5d14687af7 improve kline report 2020-06-19 16:03:15 +08:00
c9s
0eeb2382f9 improve messages 2020-06-19 11:24:55 +08:00
c9s
377cf2e0ba improve detector name 2020-06-19 11:21:17 +08:00
c9s
cbd7a3bd21 fix not zero check 2020-06-19 11:16:25 +08:00
c9s
c1e9bc0728 try to fix NotZero 2020-06-19 11:14:11 +08:00
c9s
332893c882 show max change limit 2020-06-19 11:11:16 +08:00
c9s
7b4a2782bb improve message 2020-06-19 10:07:27 +08:00
c9s
bac6a6f327 move kline query into the exchange interface 2020-06-19 09:57:15 +08:00
c9s
b0d0839cd6 fix order info 2020-06-19 09:32:57 +08:00
c9s
1865de3bb8 render order in slack attachment 2020-06-19 09:30:27 +08:00
c9s
a2cf693683 render more kline attributes in the attachment 2020-06-19 09:26:51 +08:00
c9s
9380e10468 render detector as slack attachment 2020-06-19 09:24:22 +08:00
c9s
af76a18deb move query trades to the exchange struct 2020-06-19 08:59:55 +08:00
c9s
b6909e654a change parameters 2020-06-19 00:10:43 +08:00
c9s
9099a4a61b add test case for volume calculator 2020-06-19 00:07:05 +08:00
c9s
a5681b8371 move structs 2020-06-18 23:46:59 +08:00
c9s
b55ab35b42 define BNBUSDT market 2020-06-18 19:01:13 +08:00
c9s
57f4d56ec5 save market object in the trading context 2020-06-18 19:00:03 +08:00
c9s
965ab59580 move exchange and order struct to the bbgo package 2020-06-18 18:56:54 +08:00