doc: add feeMode to the doc

This commit is contained in:
c9s 2022-09-01 23:53:22 +08:00
parent 5c8d2a019a
commit d9cce129a0
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -21,6 +21,13 @@ backtest:
sessions:
- binance
# feeMode is optional
# valid values are: quote, native, token
# quote: always deduct fee from the quote balance
# native: the crypto exchange fee deduction, base fee for buy order, quote fee for sell order.
# token: count fee as crypto exchange fee token
# feeMode: quote
accounts:
# the initial account balance you want to start with
binance: # exchange name