Skip to content

Commit

Permalink
Update the default stream URL for options
Browse files Browse the repository at this point in the history
  • Loading branch information
gnvk committed Mar 25, 2024
1 parent b36dcba commit 3938db6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions marketdata/stream/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -431,8 +431,7 @@ type optionOptions struct {
// defaultOptionOptions are the default options for a client.
// Don't change this in a backward incompatible way!
func defaultOptionOptions() *optionOptions {
// Note that this will probably change to stream.data.alpaca.markets shortly!
baseURL := "https://stream-options.data.alpaca.markets/v1beta1"
baseURL := "https://stream.data.alpaca.markets/v1beta1"
// Should this override option be removed?
if s := os.Getenv("DATA_PROXY_WS"); s != "" {
baseURL = s
Expand Down

0 comments on commit 3938db6

Please sign in to comment.