From 50b50531725668fee3321ca514cba85bc8ba316c Mon Sep 17 00:00:00 2001 From: Nikhil Saraf <1028334+nikhilsaraf@users.noreply.github.com> Date: Fri, 5 Apr 2019 16:01:58 -0700 Subject: [PATCH] update Kelp headers message --- README.md | 2 +- cmd/trade.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f6bb8f71e..978ce8a11 100644 --- a/README.md +++ b/README.md @@ -119,7 +119,7 @@ The `trade` command has three required parameters which are: - **strategy**: the strategy you want to run (_sell_, _buysell_, _balanced_, _mirror_, _delete_). - **stratConf**: full path to the _.cfg_ file specific to your chosen strategy, [sample files here](examples/configs/trader/). -Kelp sets the `X-App-Name` and `X-App-Version` headers on requests made to Horizon. These can be turned off using the `--no-headers` flag. See `kelp trade --help` for more information. +Kelp sets the `X-App-Name` and `X-App-Version` headers on requests made to Horizon. These headers help us track overall Kelp usage, so that we can learn about general usage patterns and adapt Kelp to be more useful in the future. These can be turned off using the `--no-headers` flag. See `kelp trade --help` for more information. Here's an example of how to start the trading bot with the _buysell_ strategy: diff --git a/cmd/trade.go b/cmd/trade.go index 40d28c596..609b6b422 100644 --- a/cmd/trade.go +++ b/cmd/trade.go @@ -351,7 +351,7 @@ func runTradeCmd(options inputs) { p := prefs.Make(prefsFilename) if p.FirstTime() { - log.Printf("Kelp sets the 'X-App-Name' and 'X-App-Version' headers on requests made to Horizon. These can be turned off using the --no-headers flag. See `kelp trade --help` for more information.\n") + log.Printf("Kelp sets the `X-App-Name` and `X-App-Version` headers on requests made to Horizon. These headers help us track overall Kelp usage, so that we can learn about general usage patterns and adapt Kelp to be more useful in the future. These can be turned off using the `--no-headers` flag. See `kelp trade --help` for more information.\n") e := p.SetNotFirstTime() if e != nil { l.Info("")