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

Commit

Permalink
Print strat (#15)
Browse files Browse the repository at this point in the history
* Update trade.go

* Update trade.go

* Update trade.go
  • Loading branch information
Reidmcc authored and nikhilsaraf committed Oct 2, 2018
1 parent 09ae14c commit f19c610
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/trade.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ func init() {
}
log.Printf("Trading %s:%s for %s:%s\n", botConfig.ASSET_CODE_A, botConfig.ISSUER_A, botConfig.ASSET_CODE_B, botConfig.ISSUER_B)

//Add current strategy to the log
log.Printf("Current strategy: %s\n", *strategy)

client := &horizon.Client{
URL: botConfig.HORIZON_URL,
HTTP: http.DefaultClient,
Expand Down

0 comments on commit f19c610

Please sign in to comment.