Im trying to trade using the ccxt library with alpaca but i get
Exception has occurred: PermissionDenied, and yes my keys are correct I double checked, and this is for my paper trading account not live and yes I used the correct website to generate the keys
alpaca {“message”: “forbidden.”}
Here is my code
import ccxt
API_KEY = 'key'
API_SECRET = 'secret'
alpaca = ccxt.alpaca({
'apiKey': API_KEY ,
'secret': API_SECRET,
})
alpaca.set_sandbox_mode(True)
print(alpaca.fetch_markets())