Skip to main content
Update position margin and return the updated position object.
int
required
The market ID of the position to update
float
required
The new target margin amount
string
required
Updated position object as a dictionary with modified allocated_margin field, or None if position doesn’t exist