Skip to main content
POST
/
api
/
hedge
Hedge trade
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"
  }
}

Authorizations

X-API-Key
string
header
required

Client API key (prefixed with sk_)

Body

application/json
prop_account_id
string<uuid>
required

Prop firm account ID

broker_account_id
string<uuid>
required

Personal broker account ID

symbol
string
required
Example:

"EURUSD"

direction
enum<string>
required
Available options:
long,
short
Example:

"long"

prop_lots
number
required

Lot size for the prop account

Example:

0.1

broker_lots
number
required

Lot size for the broker account

Example:

0.1

sl
number

Stop loss price

tp
number

Take profit price

comment
string

Order comment

Response

200 - application/json

Hedge result

ok
boolean
Example:

true

data
object