Commit Graph

23 Commits

Author SHA1 Message Date
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
dd55857423 add max exchange 2020-08-31 12:32:51 +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
0d9b503278 use log fields instead of log prefix 2020-08-11 08:36:36 +08:00
c9s
9d50f49989 consider trading fee currency for pnl 2020-08-03 20:06:33 +08:00
c9s
d79e4f544d fix pnl calculation 2020-08-03 16:42:33 +08:00
c9s
2e13b67968 implement trade sync 2020-08-03 15:25:06 +08:00
c9s
bdbc8c2427 use trade service to query and insert trades 2020-08-03 13:17:17 +08:00
c9s
c5969bf879 refactor trade loader 2020-08-02 21:12:43 +08:00
c9s
4a4178286a rename trade volume to quantity and record quote quantity 2020-08-02 21:12:43 +08:00
c9s
3e0a337479 rename QueryTrades to BatchQueryTrades 2020-08-02 21:12:42 +08:00
c9s
f92108bd23 batch query kline for regression tests 2020-07-16 17:45:21 +08:00
c9s
7d035d75ea add regression cmd 2020-07-15 12:20:44 +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
c329f6dc86 fix reconnect 2020-07-12 22:52:24 +08:00
c9s
577caab3f5 refactor volume calculator 2020-07-11 20:40:19 +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