2e22fd5635
- Add /api/alpaca/orders endpoint for order history - Add TradingView chart component for candlestick visualization - Add /analyze/:ticker route with position and orders display - Make ticker cells in analyze page clickable for navigation
8 lines
289 B
TypeScript
8 lines
289 B
TypeScript
import { test, expect } from "@playwright/test";
|
|
|
|
test("GET /api/alpaca/orders returns orders list", async ({ page }) => {
|
|
const res = await page.request.get("/api/alpaca/orders");
|
|
expect(res.ok()).toBeTruthy();
|
|
const data = await res.json();
|
|
expect(data.orders).toBeDefined();
|
|
}); |