Skip to content

Commit f329e4e

Browse files
authored
Merge pull request #72 from jwesleye/patch-1
Correction to base URL for paper trading.
2 parents 59d94aa + 2ee0538 commit f329e4e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,8 @@ 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 change the base URL to `https://paper-api.alpaca.markets`
52+
for paper trading. You can specify the API URL with the environment variable `APCA_API_BASE_URL`.
5453

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

0 commit comments

Comments
 (0)