Add tests for Alpaca Historical Bars API
- Implemented tests for fetching historical bars for AAPL with different timeframes (1D, 5Min, 1H). - Verified response structure and data integrity for each timeframe. - Ensured that the API returns valid data and appropriate status for the requests.
This commit is contained in:
@@ -6,6 +6,7 @@ export default [
|
||||
route("api/alpaca/quote/:ticker", "routes/api/alpaca/quote.ts"),
|
||||
route("api/alpaca/orders", "routes/api/alpaca/orders.ts"),
|
||||
route("api/alpaca/positions", "routes/api/alpaca/positions.ts"),
|
||||
route("api/test-alpaca", "routes/api/test-alpaca.ts"),
|
||||
route("api/indicators", "routes/api/indicators.ts"),
|
||||
route("api/analyze", "routes/api/analyze.ts"),
|
||||
route("api/stocks", "routes/api/stocks/index.ts"),
|
||||
|
||||
Reference in New Issue
Block a user