Integrate within hours. Not weeks.
We offer in-depth tutorials and practical examples illustrating various use cases, on top of a similarly comprehensive API documentation. This allows you to get started quickly.
import requests
url = "/reference-price"
body = {
"positions": [{
"area": "TBW",
"product": "PH-20260526-17",
"marginal_cost": None,
"quantity": 1,
"direction": "up",
}],
"policy_parameters": [{"price_limits": ["vwap5min"]}],
}
r = requests.post(url, json=body, headers=auth)
print(r.json())
const url = "/reference-price";
const res = await fetch(url, {
method: "POST",
headers: {
Authorization: `Bearer ${token}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
positions: [{
area: "TBW",
product: "PH-20260526-17",
marginal_cost: null,
quantity: 1,
direction: "up",
}],
policy_parameters: [{ price_limits: ["vwap5min"] }],
}),
});
console.log(await res.json());
curl -X POST "/reference-price" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"positions": [{
"area": "TBW",
"product": "PH-20260526-17",
"marginal_cost": null,
"quantity": 1,
"direction": "up"
}],
"policy_parameters": [{"price_limits": ["vwap5min"]}]
}'