Two Sides of Every Trade
LONG (Side = 0)
Betting that EUR strengthens vs USDYou profit when the EUR/USD rate goes up. A move from 1.08 to 1.10 generates profit. A move
from 1.08 to 1.06 generates a loss.
SHORT (Side = 1)
Betting that EUR weakens vs USDYou profit when the EUR/USD rate goes down. A move from 1.08 to 1.06 generates profit. A move
from 1.08 to 1.10 generates a loss.
Types.sol and mirrored in both SDKs:
- TypeScript
- Rust
- Solidity
LONG Position in Detail
A LONG position profits when the EUR/USD exchange rate increases. You are buying EUR and selling USD at a locked-in forward price. If EUR strengthens by the time the position settles, you profit. If EUR weakens, you lose. PnL Formula:LONG example: EUR strengthens (profit)
LONG example: EUR strengthens (profit)
- Notional: 1,000 USDC
- Entry strike: 1.08000 (opened LONG at this forward price)
- Settlement price: 1.10000
LONG example: EUR weakens (loss)
LONG example: EUR weakens (loss)
- Notional: 1,000 USDC
- Entry strike: 1.08000
- Settlement price: 1.06000
SHORT Position in Detail
A SHORT position profits when the EUR/USD exchange rate decreases. You are selling EUR and buying USD at a locked-in forward price. If EUR weakens by the time the position settles, you profit. If EUR strengthens, you lose. PnL Formula:SHORT example: EUR weakens (profit)
SHORT example: EUR weakens (profit)
- Notional: 1,000 USDC
- Entry strike: 1.08000 (opened SHORT at this forward price)
- Settlement price: 1.06000
SHORT example: EUR strengthens (loss)
SHORT example: EUR strengthens (loss)
- Notional: 1,000 USDC
- Entry strike: 1.08000
- Settlement price: 1.10000
PnL Comparison Table
The following table shows how LONG and SHORT positions respond to the same price movements. All examples use a 1,000 USDC notional with entry strike of 1.08000.| EUR/USD Move | Settlement Price | LONG PnL | SHORT PnL |
|---|---|---|---|
| +200 pips | 1.10000 | +20 USDC | -20 USDC |
| +100 pips | 1.09000 | +10 USDC | -10 USDC |
| +50 pips | 1.08500 | +5 USDC | -5 USDC |
| No change | 1.08000 | 0 USDC | 0 USDC |
| -50 pips | 1.07500 | -5 USDC | +5 USDC |
| -100 pips | 1.07000 | -10 USDC | +10 USDC |
| -200 pips | 1.06000 | -20 USDC | +20 USDC |
PnL is perfectly symmetric between LONG and SHORT. For any given price move, the LONG profit equals
the SHORT loss, and vice versa. This symmetry is a direct consequence of the zero-sum protocol
design.
Pool Exposure
The liquidity pool always takes the opposite side of every trader position. Understanding this relationship is important for both traders and liquidity providers.When a trader opens LONG
When a trader opens LONG
The pool’s net exposure shifts negative (effectively short EUR/USD). If EUR strengthens, the pool
pays the trader’s profit. If EUR weakens, the pool receives the trader’s loss.
When a trader opens SHORT
When a trader opens SHORT
The pool’s net exposure shifts positive (effectively long EUR/USD). If EUR weakens, the pool
pays the trader’s profit. If EUR strengthens, the pool receives the trader’s loss.
Net exposure across all positions
Net exposure across all positions
The pool’s total exposure is the net of all open positions. If traders collectively hold more
LONG notional than SHORT notional, the pool has net short exposure (and vice versa). The
RiskManager enforces exposure caps to prevent the pool from becoming too directionally exposed.
poolNetExposure means the pool is net long (more trader shorts than longs). A negative
value means the pool is net short (more trader longs than shorts).
Choosing a Side
- Go LONG when...
- Go SHORT when...
- You expect EUR to strengthen relative to USD
- Macro indicators favor EUR (hawkish ECB, dovish Fed, improving Eurozone data)
- You want to hedge existing USD exposure
- Technical analysis suggests EUR/USD uptrend
Symmetric Risk and Reward
Unlike some DeFi protocols that have asymmetric payoffs (e.g., options, lending liquidations), the Nile Markets forward contract is fully symmetric:- Maximum loss is identical for both sides: the locked margin on the position
- Profit potential is identical for both sides: theoretically unlimited (bounded only by how far the price can move before maturity)
- Trading fees are the same for both sides
- Margin requirements are the same for both sides
- Liquidation rules are the same for both sides