I disable the long setting, so I can sell the origin hold BTC.
The bot sell average cost = 30237.17599375
But still buy at 30526 that cause the profit <0. Maybe we should buy at < average cost ?
BBGO v1.32.0
My yaml config
exchangeStrategies:
- on: ftx
bollmaker:
symbol: BTCUSD
interval: 1m
amount: 30
askSpread: 0.04%
bidSpread: 0.1%
minProfitSpread: 0.1%
useTickerPrice: true
dynamicExposurePositionScale:
byPercentage:
# exp means we want to use exponential scale, you can replace "exp" with "linear" for linear scale
exp:
# from down to up
domain: [ -1, 1 ]
# when in down band, holds 1.0 by maximum
# when in up band, holds 0.05 by maximum
range: [ 0.21, 0.0579 ]
uptrendSkew: 0.2
downtrendSkew: 1.5
buyBelowNeutralSMA: true
tradeInBand: true
defaultBollinger:
interval: "4h"
window: 21
bandWidth: 2.0
neutralBollinger:
interval: "5m"
window: 21
bandWidth: 2.0
persistence:
type: redis
I disable the
long
setting, so I can sell the origin hold BTC.The bot sell
average cost = 30237.17599375
But still buy at
30526
that cause the profit <0. Maybe we should buy at < average cost ?BBGO v1.32.0
My yaml config