Skip to content

Commit

Permalink
chore: move maker fee warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Primexz committed May 9, 2024
1 parent e5d5dd3 commit a3b49b1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 0 additions & 2 deletions kraken/kraken_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@ func BuyBtc(_retry_do_not_use int) {
)

if config.ExperimentalMakerFee {
log.Warn("Buying btc with experimental maker fee. This may not work as expected.")

priceRound, _ := strconv.ParseFloat(fmt.Sprintf("%.1f", fiatPrice), 64)
args := map[string]interface{}{
// if set to true, no order will be submitted
Expand Down
5 changes: 5 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ func main() {
log.Info(fmt.Sprintf("Kraken DCA 🐙 %s, commit %s, built at %s (%s [%s, %s])", version, commit, date, runtime.Version(), runtime.GOOS, runtime.GOARCH))

config.LoadConfiguration()

if config.ExperimentalMakerFee {
log.Warn("Experimental maker fee is enabled. This feature is not recommended for production use.")
}

bot.NewBot().StartBot()

select {}
Expand Down

0 comments on commit a3b49b1

Please sign in to comment.