Skip to content

Commit

Permalink
A different approach
Browse files Browse the repository at this point in the history
  • Loading branch information
cranktakular committed Mar 11, 2024
1 parent c0ca501 commit c09f439
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/exchange_template/exchange_template.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ func main() {
}

fmt.Println("GoCryptoTrader: Exchange templating tool service complete")
fmt.Println("Add appropriate exchange config settings, particularly enabled and available assets and pairs, to config_example.json for proper functionality (it will automatically be added to testdata/configtest.json)")
fmt.Println("When the exchange code implementation has been completed (REST/Websocket/wrappers and tests), please add the exchange to engine/exchange.go")
fmt.Println("Add the exchange config settings to config_example.json (it will automatically be added to testdata/configtest.json)")
fmt.Println("Increment the available exchanges counter in config/config_test.go")
fmt.Println("Add the exchange name to exchanges/support.go")
fmt.Println("Ensure go test ./... -race passes")
Expand Down
1 change: 0 additions & 1 deletion cmd/exchange_template/test_file.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ func TestMain(m *testing.M) {
{{ if .WS }} exchCfg.API.AuthenticatedWebsocketSupport = true {{ end }}
exchCfg.API.Credentials.Key = apiKey
exchCfg.API.Credentials.Secret = apiSecret
exchCfg.Enabled = true

err = {{.Variable}}.Setup(exchCfg)
if err != nil {
Expand Down

0 comments on commit c09f439

Please sign in to comment.