improve testing

This commit is contained in:
2026-07-01 13:17:21 +02:00
parent 26c4b1eb26
commit 812c8db142

4
e2e.sh
View File

@@ -29,13 +29,13 @@ curl -s -X POST "$BASE_URL/orderupdate" \
}' | jq . }' | jq .
echo "" echo ""
echo "POST /api/orderupdate - Place another SELL order" echo "POST /api/orderupdate - Place another BUY order"
curl -s -X POST "$BASE_URL/orderupdate" \ curl -s -X POST "$BASE_URL/orderupdate" \
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \
-d '{ -d '{
"delivery_start_time": "2024-01-15T10:15:00", "delivery_start_time": "2024-01-15T10:15:00",
"delivery_end_time": "2024-01-15T10:30:00", "delivery_end_time": "2024-01-15T10:30:00",
"order_side": "SELL", "order_side": "BUY",
"quantity": 20, "quantity": 20,
"price": 45.00 "price": 45.00
}' | jq . }' | jq .