-
Couldn't load subscription status.
- Fork 108
Open
Description
I am trying to do this
client := alpaca.NewClient(alpaca.ClientOpts{
BrokerKey: os.Getenv("APCA_BROKER_KEY_ID"),
BrokerSecret: os.Getenv("APCA_BROKER_SECRET_KEY"),
BaseURL: "https://broker-api.sandbox.alpaca.markets",
})
assets, err := client.GetAssets(alpaca.GetAssetsRequest{})Response:
Error fetching assets: endpoint not found. (HTTP 404)
This is because the client makes a request to the v2 endpoint which the Broker Api currently doesnt
support
Am i missing something or is there is currently no way to set the version of the client?
Metadata
Metadata
Assignees
Labels
No labels