diff --git a/config.example.yml b/config.example.yml index e673fbc..899872e 100644 --- a/config.example.yml +++ b/config.example.yml @@ -71,9 +71,8 @@ trading_options: # Trading fee in % per trade. # # Binance: - # - If using 0.15% (using BNB for fees) you must have BNB in your account to cover trading fees. - # - If using BNB for fees, it MUST be enabled in your Binance 'Dashboard' page (checkbox). - trading_fee: .15 + # - If using BNB for fees, set this to 0.075 and make sure have enough BNB in your account. + trading_fee: 0.075 # The amount of time in MINUTES to wait before buying the same coin again. # This is to prevent buying the same coin multiple times in a short period of time. diff --git a/internal/config/config_test.go b/internal/config/config_test.go index 8bbf6b3..235fb7e 100644 --- a/internal/config/config_test.go +++ b/internal/config/config_test.go @@ -29,7 +29,7 @@ func TestLoad(t *testing.T) { assert.Equal(t, float64(10), config.TradingOptions.ChangeInPrice) assert.Equal(t, float64(5), config.TradingOptions.StopLoss) assert.Equal(t, 0.8, config.TradingOptions.TakeProfit) - assert.Equal(t, 0.15, config.TradingOptions.TradingFee) + assert.Equal(t, 0.075, config.TradingOptions.TradingFee) assert.Equal(t, 0, config.TradingOptions.CoolOffDelay) assert.Equal(t, true, config.TradingOptions.TrailingStopOptions.Enable)