mirror of
https://github.com/c9s/bbgo.git
synced 2024-09-20 08:11:08 +00:00
config: add doc for stopLossPrice
This commit is contained in:
parent
e0a69a89c8
commit
50f3ca80cf
|
@ -45,11 +45,13 @@ exchangeStrategies:
|
|||
## meaning that earn BTC instead of USDT when trading in the BTCUSDT pair.
|
||||
# earnBase: true
|
||||
|
||||
## triggerPrice is used for opening your grid only when the last price touches your pre-set price.
|
||||
## triggerPrice is used for opening your grid only when the last price touches your trigger price.
|
||||
## this is useful when you don't want to create a grid from a higher price.
|
||||
## for example, when the last price hit 17_000.0 then open a grid with the price range 13_000 to 20_000
|
||||
triggerPrice: 17_000.0
|
||||
|
||||
## triggerPrice is used for closing your grid only when the last price touches your stop loss price.
|
||||
## for example, when the price drops to 17_000.0 then close the grid and sell all base inventory.
|
||||
stopLossPrice: 10_000.0
|
||||
|
||||
## profitSpread is the profit spread of the arbitrage order (sell order)
|
||||
|
|
Loading…
Reference in New Issue
Block a user