Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated Go language 'getting started' instructions to match API updates #56

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions content/crypto/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 >}}
Expand Down Expand Up @@ -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
})
```
Expand Down