Commit Graph

9106 Commits

Author SHA1 Message Date
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
c9s
e62f1f2479 add abstract exchange interface 2020-06-18 18:54:14 +08:00
c9s
ed00243734 load recent klines 2020-06-18 08:08:47 +08:00
c9s
7b099b2ede fix kline window get low 2020-06-17 21:57:36 +08:00
c9s
cf7760e72a refactor 1m rule with detector pattern 2020-06-17 13:57:51 +08:00
c9s
ad41c14521 update trade kline red color code 2020-06-16 17:09:14 +08:00
c9s
1102fd0a1e rename Symbol field to Market 2020-06-16 16:55:42 +08:00
c9s
88c7049a99 add reportTrade method 2020-06-16 16:47:15 +08:00
c9s
f4bf79d842 fix color 2020-06-16 15:32:22 +08:00
c9s
d28bec2a05 add kline color and submitMarketOrder method 2020-06-16 15:14:23 +08:00
c9s
884a9730f1 refactor kline attachment 2020-06-16 14:22:02 +08:00
c9s
0153670f78 refactor rule and upper shaodw checker 2020-06-16 14:13:53 +08:00
c9s
fded619772 implement GetUpperShadowHeight and GetLowerShadowHeight 2020-06-16 13:44:50 +08:00
c9s
c089e9a1b5 add 1m kline window protection 2020-06-10 13:53:31 +08:00
c9s
35bb5bda06 ignore selling trades from the beginning 2020-06-10 10:26:14 +08:00
c9s
062fe55b43 add thickness condition in bounce check 2020-06-10 09:51:53 +08:00
c9s
1ca616fb43 fix bounce calculation 2020-06-10 09:44:44 +08:00