Commit Graph

22 Commits

Author SHA1 Message Date
c9s
f62f3b8a02 define HomeDir and SourceDir helper functions 2020-10-20 11:46:44 +08:00
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
300609e3db fix subscription initialization 2020-10-15 22:36:22 +08:00
c9s
d1b618850d add context parameter to the strategy method 2020-10-13 14:50:59 +08:00
c9s
6398f049d0 bind market data store and query avg price before we start 2020-10-12 22:46:06 +08:00
c9s
931ce434ef improve baseline calculator 2020-10-12 17:07:50 +08:00
c9s
8f129f0e0e change home config dir 2020-10-12 07:37:05 +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
530937eb46 cmd: delete empty file 2020-10-10 13:20:31 +08:00
c9s
ec8a69d4bb add cmd/bbgo 2020-10-10 13:18:40 +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
Bo-Yi Wu
7ba31272f1 refactor: run gofmt -w -s 2020-10-09 13:21:42 +08:00
c9s
3989531788 move packages 2020-10-05 17:47:25 +08:00