Coming soon: automated sell orders are expected in the future iterations.
This feature will allow your users to set the target price below the current price to initiate a stop loss order or above the current price to initiate a take-profit order.
We will keep you posted.
Authorization: ********************curl --location --request POST 'https://test.whitelabel.bitpanda.com/v1/orders' \
--header 'bp-user-id;' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"type": "buy",
"fiat_id": "ea96ccef-edee-11eb-9bf0-06502b1fe55d",
"asset_id": "ea96ccef-edee-11eb-9bf0-06502b1fe55d",
"amount": "1.99",
"target_price": "40743.41527688",
"expire_at": "2026-02-20T13:00:00Z"
}'{
"data": {
"id": "2e4c89ac-1290-426f-8de0-4c7b40b91d3a",
"type": "buy",
"fiat_id": "ea96ccef-edee-11eb-9bf0-06502b1fe55d",
"asset_id": "ea96ccef-edee-11eb-9bf0-06502b1fe55d",
"fiat_amount": "1.89",
"asset_amount": "0.00004884",
"target_price": "40743.41527688",
"created_at": "2024-06-13T13:30:32Z",
"expire_at": "2026-02-20T13:00:00Z"
}
}