From 6161e31a73e5d094e20593d9a329fc77b5768045 Mon Sep 17 00:00:00 2001 From: Colt Kraczek Date: Wed, 19 Jul 2023 13:03:54 -0600 Subject: [PATCH] updated Go language 'getting started' instructions to match API updates --- content/crypto/getting-started.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/crypto/getting-started.md b/content/crypto/getting-started.md index 2591b29..d6787ab 100644 --- a/content/crypto/getting-started.md +++ b/content/crypto/getting-started.md @@ -60,7 +60,7 @@ dotnet add package Alpaca.Markets Install the Go SDK by running the command: ```sh -go get -u github.com/alpacahq/alpaca-trade-api-go/v2/alpaca +go get -u github.com/alpacahq/alpaca-trade-api-go/v3/alpaca ``` {{< /tab >}} @@ -752,8 +752,8 @@ baseURL:= "https://paper-api.alpaca.markets" client := alpaca.NewClient(alpaca.ClientOpts{ // Alternatively, you can set your API key and secret using environment // variables named APCA_API_KEY_ID and APCA_API_SECRET_KEY respectively - ApiKey: apiKey, - ApiSecret: apiSecret, + APIKey: apiKey, + APISecret: apiSecret, BaseURL: baseURL, // Remove for live trading }) ```