Adjust margin
Deposit lowers effective leverage and moves the liquidation price away; withdraw does the opposite.compute.estimate_liquidation_price.
Increase position size
Adds collateral at a chosen leverage; the position’s average open price is re-weighted.Increase sized in coin units
Targets added coin exposure; fill leverage floats within bounds (all three leverage arguments are required):To reduce size, use a partial market close. There is no separate decrease method.