Commit Graph

13 Commits

Author SHA1 Message Date
c9s
0d9c0bd51b move cost distribution to the accounting package 2020-10-18 11:33:13 +08:00
c9s
f9b21131fe fix pnl cmd 2020-10-18 11:18:12 +08:00
c9s
63ea81b648 simplify the calculator api 2020-10-16 10:19:53 +08:00
c9s
a6b99f6828 rename ProfitAndLossCalculator to AverageCostCalculator 2020-10-16 10:16:42 +08:00
c9s
6398f049d0 bind market data store and query avg price before we start 2020-10-12 22:46:06 +08:00
c9s
ea7b501c26 add transfer history command for calculating baseline and show transfer records 2020-10-11 20:08:54 +08:00
c9s
3d5507a053 move files into pkg 2020-10-11 16:46:15 +08:00
c9s
5a3c043b43 rename func 2020-10-11 16:37:06 +08:00
c9s
0fe8a98706 support migration 2020-10-11 16:02:17 +08:00
c9s
7f6a478d4f fix max trades query for pnl calulcation 2020-10-10 17:50:49 +08:00
c9s
ce73979713 make pnl command public 2020-10-10 13:20:53 +08:00
c9s
fab8d0bbdf replace api key secret var name 2020-10-10 13:17:04 +08:00
c9s
5fc6ecce05 add pnl command 2020-10-10 13:14:06 +08:00