Commit Graph

7543 Commits

Author SHA1 Message Date
c9s
ec23266cc2 implement buyandhold strategy to test the api design 2020-10-13 16:17:07 +08:00
c9s
d1b618850d add context parameter to the strategy method 2020-10-13 14:50:59 +08:00
c9s
fe3ae14fc8 clean up 2020-10-13 11:23:22 +08:00
Yo-An Lin
28aa051e56 Merge pull request #12 from c9s/environment-layer
add data layer (environment) and refine the api
2020-10-12 22:54:02 +08:00
c9s
26f97b43e8 drop legacy backtest trader 2020-10-12 22:51:13 +08:00
c9s
4c20c9f4ff replace LoadAccount with literal constructor 2020-10-12 22:49:27 +08:00
c9s
59af43affd travis: adjust test command 2020-10-12 22:46:40 +08:00
c9s
6398f049d0 bind market data store and query avg price before we start 2020-10-12 22:46:06 +08:00
c9s
bace7ac3a3 add environment connect integration tests 2020-10-12 17:33:02 +08:00
c9s
4ce716d6ad binance: make asset parameter optional 2020-10-12 17:15:33 +08:00
c9s
92a5eac412 make currency parameter optional 2020-10-12 17:15:13 +08:00
c9s
931ce434ef improve baseline calculator 2020-10-12 17:07:50 +08:00
c9s
64c9960882 use types.Exchange 2020-10-12 07:38:38 +08:00
c9s
8f129f0e0e change home config dir 2020-10-12 07:37:05 +08:00
c9s
6b808120bb README.md: add slack notification support to features 2020-10-11 20:16:38 +08:00
Yo-An Lin
4d57765db4 Merge pull request #11 from c9s/refactor-deposit-types
refactor deposit, withdraw types and add transfer history command
2020-10-11 20:15:53 +08:00
c9s
3d625fa738 doc: add command usages 2020-10-11 20:11:22 +08:00
c9s
ea7b501c26 add transfer history command for calculating baseline and show transfer records 2020-10-11 20:08:54 +08:00
Yo-An Lin
0408aa96b1 Merge pull request #10 from c9s/refactor-deposit-types
move deposit type to global type and add max deposit history support
2020-10-11 17:39:35 +08:00
c9s
2d246c3f71 move deposit type to global type and add max deposit history support 2020-10-11 17:35:59 +08:00
Yo-An Lin
18054bc9c6 Merge pull request #9 from c9s/move-into-pkg-dir
move files into pkg
2020-10-11 16:50:58 +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
9077ee29b7 doc: add more details 2020-10-11 16:31:58 +08:00
c9s
2721b90ff3 doc: add dotenv description 2020-10-11 16:05:07 +08:00
c9s
0fe8a98706 support migration 2020-10-11 16:02:17 +08:00
c9s
3beca2cd46 doc: add migration description 2020-10-10 18:01:37 +08:00
c9s
5b45b3ef20 convert currency name 2020-10-10 17:58:22 +08:00
c9s
26831f9be5 fix symbol convertion 2020-10-10 17:55:05 +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
2247500469 add travis build status 2020-10-10 13:19:54 +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
c9s
0ddab38dc5 examples/max-eqmaker: fix arg type 2020-10-10 12:31:27 +08:00
c9s
0271137188 .travis.yml: fix script 2020-10-10 12:29:12 +08:00
c9s
9111cc700b examples/max-eqmaker: fix log format call 2020-10-10 12:28:34 +08:00
c9s
52ac0b13e1 travis: set go versions 2020-10-10 12:27:28 +08:00
c9s
1552feb57c rename stock distribution 2020-10-10 12:24:50 +08:00
c9s
978dc4be67 add bbgo yaml config file 2020-10-10 12:23:05 +08:00
c9s
045a104ef7 fix error issue 2020-10-10 12:22:20 +08:00
c9s
1475bbe591 add travis config file 2020-10-10 12:10:27 +08:00
c9s
7e5e02df56 doc: remove empty lines 2020-10-10 12:09:47 +08:00
c9s
10c00cf9ba doc: add more examples 2020-10-10 12:09:23 +08:00
c9s
853455362d doc: fix link format 2020-10-10 12:07:12 +08:00
c9s
9faf68d709 doc: add example section 2020-10-10 12:06:22 +08:00
c9s
e2698efc7e pull out exchange batch processor 2020-10-10 12:02:06 +08:00
c9s
c91924990a ignore .idea 2020-10-10 11:26:49 +08:00