improve testing
This commit is contained in:
4
e2e.sh
4
e2e.sh
@@ -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 .
|
||||||
|
|||||||
Reference in New Issue
Block a user