alpaca-api
Enables interaction with Alpaca's API for stock trading and market data retrieval, facilitating real-time financial analysis and trading operations.
Install this skill
or
90/100
Security score
The alpaca-api skill was audited on Mar 1, 2026 and we found 6 security issues across 2 threat categories. Review the findings below before installing.
Categories Tested
Security Issues
medium line 47
Access to .env file
SourceSKILL.md
| 47 | Store API keys in environment variables like export ALPACA_API_KEY='your_key' and export ALPACA_SECRET_KEY='your_secret'. Use a library like requests in Python for HTTP interactions. For production, h |
low line 28
External URL reference
SourceSKILL.md
| 28 | - Support for paper trading mode by setting the API base URL to https://paper-api.alpaca.markets. |
low line 35
External URL reference
SourceSKILL.md
| 35 | - GET /v2/stocks/{symbol}/bars: Fetch historical bars; include query params like ?timeframe=1Min&limit=100. Example: requests.get('https://api.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Day', heade |
low line 39
External URL reference
SourceSKILL.md
| 39 | response = requests.post('https://api.alpaca.markets/v2/orders', json=order_data, headers=auth_headers) |
low line 47
External URL reference
SourceSKILL.md
| 47 | Store API keys in environment variables like export ALPACA_API_KEY='your_key' and export ALPACA_SECRET_KEY='your_secret'. Use a library like requests in Python for HTTP interactions. For production, h |
low line 61
External URL reference
SourceSKILL.md
| 61 | 1. Fetch real-time quote for AAPL: Use GET /v2/stocks/AAPL/quote with auth headers, then extract price from the response JSON. Code: requests.get('https://api.alpaca.markets/v2/stocks/AAPL/quote', hea |
Scanned on Mar 1, 2026
View Security Dashboard