alpacahq / alpacahq/samplealgo01
can't run the script
- Vorherrschende Sprache
- Python
- Sterne
- 71
- Forks
- 85
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Hi Alpaca team
I love to use the platform and try the tutorial and want to use paper trading api I already follow the tutorials replace the key id and secret key but the result still popup value error can someone teach me how to fix it?
Thank you
```
line 2, in
from . import algo_polygon as algo
File "C:\Users\samplealgo01\samplealgo\algo_polygon.py", line 13, in
api = tradeapi.REST()
File "C:\Users\.virtualenvs\samplealgo01--SgOClMC\lib\site-packages\alpaca_trade_api\rest.py", line 57, in __init__
self._key_id, self._secret_key = get_credentials(key_id, secret_key)
File "C:\Users\.virtualenvs\samplealgo01--SgOClMC\lib\site-packages\alpaca_trade_api\common.py", line 17, in get_credentials
raise ValueError('Key ID must be given to access Alpaca trade API')
ValueError: Key ID must be given to access Alpaca trade API
```
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.