Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Commit

Permalink
update Kelp headers message
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilsaraf committed Apr 5, 2019
1 parent 96c9e88 commit 50b5053
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
2 changes: 1 addition & 1 deletion cmd/trade.go
Original file line number Diff line number Diff line change
Expand Up @@ -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("")
Expand Down

0 comments on commit 50b5053

Please sign in to comment.