mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 06:53:52 +00:00
doc: add description of commission rate option for backtesting
This commit is contained in:
parent
573a845b94
commit
5a238b8b0a
|
@ -1,5 +1,8 @@
|
|||
## Back-testing
|
||||
|
||||
*Before you start back-testing, you need to setup [MySQL](../../README.md#configure-mysql-database) or [SQLite3
|
||||
](../../README.md#configure-sqlite3-database). Using MySQL is highly recommended.*
|
||||
|
||||
First, you need to add the back-testing config to your `bbgo.yaml`:
|
||||
|
||||
```yaml
|
||||
|
@ -16,6 +19,8 @@ backtest:
|
|||
- BTCUSDT
|
||||
|
||||
account:
|
||||
makerCommission: 15 # Commission rate of maker trade, in ‱, i.e., 1 means 0.01%
|
||||
takerCommission: 15 # Commission rate of taker trade, in ‱ i.e., 1 means 0.01%
|
||||
# the initial account balance you want to start with
|
||||
balances:
|
||||
BTC: 0.0
|
||||
|
|
Loading…
Reference in New Issue
Block a user