We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 259136e commit b093b1fCopy full SHA for b093b1f
README.md
@@ -27,7 +27,7 @@ In order to call Alpaca's trade API, you need to sign up for a account and obtai
27
```python
28
import alpaca_trade_api as tradeapi
29
30
-api = tradeapi.REST('<key_id>', '<secret_key>', api_version='v2') # or use ENV Vars shown below
+api = tradeapi.REST('<key_id>', '<secret_key>', base_url='https://paper-api.alpaca.markets') # or use ENV Vars shown below
31
account = api.get_account()
32
api.list_positions()
33
```
0 commit comments