Skip to content

Commit 7f95450

Browse files
authored
Correction to base URL for paper trading.
As is using the primary URL for a paper trading account with fail with a 404.
1 parent 026c5ba commit 7f95450

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,7 @@ follows.
4848
## Base URL
4949

5050
The base URL for API calls defaults to `https://api.alpaca.markets/`. This endpoint
51-
is for live trading, and for paper trading and other purposes, you can to change
52-
the base URL. You can pass `base_url` kwarg to `REST()`, or using the environment
53-
variable, `APCA_API_BASE_URL`.
51+
is for live trading. You can to change the base URL to 'https://paper-api.alpaca.markets' for paper trading. You can change by passing a url as `base_url` input to `REST()`, or using the environment variable, `APCA_API_BASE_URL` in you env file.
5452

5553
The environment variable `APCA_API_DATA_URL` can also be changed to configure the
5654
endpoint for returning data from the `/bars` endpoint. By default, it will use

0 commit comments

Comments
 (0)