Skip to content

Commit

Permalink
update ally/Api.py to reflect updated URL endpoint (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
rjfranssen authored Feb 7, 2022
1 parent bce90f1 commit 6a66326
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ally/Api.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class Endpoint:
"""Base abstract module from which all other account endpoints inherit."""

# Host
_host = "https://api.tradeking.com/v1/"
_host = "https://devapi.invest.ally.com/v1/"

# One of RequestType
_type = None
Expand Down Expand Up @@ -172,7 +172,7 @@ def resolve(self, **kwargs):
class StreamEndpoint(AuthenticatedEndpoint):
"""Streams an endpoint."""

_host = "https://stream.tradeking.com/v1/"
_host = "https://devapi-stream.invest.ally.com/v1/"

def request(self=None):
"""Execute an entire loop, and aggregate results"""
Expand Down

0 comments on commit 6a66326

Please sign in to comment.