audacitymaker: rename perTrade

This commit is contained in:
austin362667 2022-09-05 16:31:48 +08:00 committed by Austin Liu
parent 132f700377
commit 43a3e21a7b
2 changed files with 2 additions and 2 deletions

View File

@ -16,6 +16,6 @@ exchangeStrategies:
- on: binance - on: binance
audacitymaker: audacitymaker:
symbol: ETHBUSD symbol: ETHBUSD
pertrade: perTrade:
interval: 1m interval: 1m
quantity: 0.01 quantity: 0.01

View File

@ -41,7 +41,7 @@ type Strategy struct {
activeOrders *bbgo.ActiveOrderBook activeOrders *bbgo.ActiveOrderBook
PerTrade *PerTrade `json:"pertrade"` PerTrade *PerTrade `json:"perTrade"`
ExitMethods bbgo.ExitMethodSet `json:"exits"` ExitMethods bbgo.ExitMethodSet `json:"exits"`