Skip to content

Commit 6e1382f

Browse files
authored
Merge pull request #78 from alpacahq/feature/api-v2-default
Change default to Alpaca's v2 API
2 parents f6dccae + abdfe1d commit 6e1382f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

alpaca_trade_api/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ def get_credentials(key_id=None, secret_key=None):
2626
def get_api_version(api_version):
2727
api_version = api_version or os.environ.get('APCA_API_VERSION')
2828
if api_version is None:
29-
api_version = 'v1'
29+
api_version = 'v2'
3030

3131
return api_version

0 commit comments

Comments
 (0)