Order Rules & Constraints
Pacifica applies specific rules to maintain orderly and fair trading conditions.
Self-Trade Prevention
Pacifica prevents self-trading by automatically canceling resting orders that match against newly placed aggressive orders from the same account. This ensures fair and efficient market conditions.
Maximum Order Size
Your maximum order size is dynamically determined based on your available margin, leverage, and current positions. The calculation is:
max_order_size = order_from_balance + order_from_opposite
order_from_balance: Determined by your available margin and leverage.
order_from_opposite: Calculated based on existing opposite positions and outstanding orders, enabling you to close positions without exceeding margin limits.
Example
If you have an account balance of $10,000 with 10x leverage and BTC price at $100,000, your maximum long order size initially would be:
order_from_balance = ($10,000 * 10) / $100,000 = 1 BTC
With an open 1 BTC long position and fully utilized margin, you cannot place additional buy orders but can place sell orders to reduce your position:
order_from_balance = 1 BTC
order_from_opposite = 1 BTC (existing long position) - 0 (existing short orders) - 0 (existing long orders) = 1 BTC
max_order_size = 1 BTC + 1 BTC = 2 BTC
Thus, you can place sell orders up to 2 BTC in size to close and/or reverse your position.
Last updated