Commit Graph

4039 Commits

Author SHA1 Message Date
c9s
c8849e76a1 calculate currency fee 2020-08-05 18:39:08 +08:00
c9s
12dde9f57b remove unused SetCurrencyPrice 2020-08-05 18:34:33 +08:00
c9s
f276520186 improve error messages 2020-08-04 20:04:15 +08:00
c9s
ef2fd84dce check stock quantity 2020-08-04 19:05:20 +08:00
c9s
a37117a593 add stock manager to the context 2020-08-04 18:45:36 +08:00
c9s
caf7ea3679 add more assertions 2020-08-04 17:12:01 +08:00
c9s
7741cb11d6 add squash method 2020-08-04 17:10:29 +08:00
c9s
3017bbbf13 fix stock calculation 2020-08-04 17:03:57 +08:00
c9s
350c0b3b87 add pending sell test case 2020-08-04 15:25:09 +08:00
c9s
03595f2382 add stock manager tests 2020-08-04 14:14:19 +08:00
c9s
c7379e6fc0 remove debug log 2020-08-04 13:59:52 +08:00
c9s
52c16715fa add stock management 2020-08-04 13:50:27 +08:00
c9s
a46462a5e4 add stock calculation 2020-08-04 09:47:54 +08:00
c9s
aef57a5ae4 fix slack arg index 2020-08-03 20:08:14 +08:00
c9s
9d50f49989 consider trading fee currency for pnl 2020-08-03 20:06:33 +08:00
c9s
23b422f6fd fix slack arg filtering 2020-08-03 19:41:33 +08:00
c9s
994e2f8eee add stock to the pnl report 2020-08-03 18:47:36 +08:00
c9s
a9431bec10 add checkpoint finder for pnl 2020-08-03 18:41:01 +08:00
c9s
5d3c8003e2 add ethusdt market 2020-08-03 18:02:46 +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
da75905aeb insert trades into the mysql database 2020-08-02 21:12:43 +08:00
c9s
3e0a337479 rename QueryTrades to BatchQueryTrades 2020-08-02 21:12:42 +08:00
c9s
4d40afde06 do not calculate stock profit 2020-07-20 13:14:20 +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
2453e2db73 write ping message 2020-07-18 10:43:27 +08:00
c9s
78f1aa59b7 clean up code 2020-07-18 10:15:10 +08:00
c9s
bf150248c0 do not calculate stock 2020-07-18 10:13:11 +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
f92108bd23 batch query kline for regression tests 2020-07-16 17:45:21 +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
7d035d75ea add regression cmd 2020-07-15 12:20:44 +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
acb0807a37 check min amount and min lot 2020-07-14 01:09:20 +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
762f965130 sort imports 2020-07-13 16:03:47 +08:00
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