curl --request POST \
--url https://api.easierprop.com/api/hedge \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"prop_account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"broker_account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"symbol": "EURUSD",
"direction": "long",
"prop_lots": 0.1,
"broker_lots": 0.1,
"sl": 123,
"tp": 123,
"comment": "<string>"
}
'{
"ok": true,
"data": {
"prop_ticket": 12345678,
"broker_ticket": 87654321,
"prop_result": {},
"broker_result": {},
"success": true,
"message": "Hedge placed successfully"
}
}Open opposing positions on a prop account and a personal broker account simultaneously. The prop account gets the directional trade, the broker account gets the opposite side.
curl --request POST \
--url https://api.easierprop.com/api/hedge \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"prop_account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"broker_account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"symbol": "EURUSD",
"direction": "long",
"prop_lots": 0.1,
"broker_lots": 0.1,
"sl": 123,
"tp": 123,
"comment": "<string>"
}
'{
"ok": true,
"data": {
"prop_ticket": 12345678,
"broker_ticket": 87654321,
"prop_result": {},
"broker_result": {},
"success": true,
"message": "Hedge placed successfully"
}
}Client API key (prefixed with sk_)
Prop firm account ID
Personal broker account ID
"EURUSD"
long, short "long"
Lot size for the prop account
0.1
Lot size for the broker account
0.1
Stop loss price
Take profit price
Order comment