int
required
The market ID of the position to update
float
required
The new target leverage
string
required
Updated position object as a dictionary with modified leverage field,
or None if position doesn’t exist
Python SDK reference for updatePositionLeverage.