update doc

This commit is contained in:
c9s 2020-11-07 12:26:08 +08:00
parent eb88256a6e
commit 0793e24285

View File

@ -100,10 +100,11 @@ Check out the strategy directory [strategy](pkg/strategy) for all built-in strat
- `grid` strategy implements a basic grid strategy with the built-in bollinger indicator [grid](pkg/strategy/grid) - `grid` strategy implements a basic grid strategy with the built-in bollinger indicator [grid](pkg/strategy/grid)
- `flashcrash` strategy implements a strategy that catches the flashcrash [flashcrash](pkg/strategy/flashcrash) - `flashcrash` strategy implements a strategy that catches the flashcrash [flashcrash](pkg/strategy/flashcrash)
To run these built-in strategies: To run these built-in strategies, just
modify the config file to make the configuration suitable for you, for example if you want to run
`buyandhold` strategy:
```sh ```sh
# modify the config file to make the configuration suitable for you.
vim config/buyandhold.yaml vim config/buyandhold.yaml
# run bbgo with the config # run bbgo with the config