FYOS Documentation is synchronized to the current clean-core beta baseline.
Product Overview
Position Simulator

Position Simulator

The Simulator models expected returns for a specific position, incorporating decay, capacity, and fee effects.

Input Parameters

ParameterDescriptionDefault
Position SizeUSD notional size
Holding HorizonHours to hold position24
Entry FeeEntry fee in basis points5 bps
Exit FeeExit fee in basis points5 bps

Output Metrics

Summary Section

MetricDescription
Net Expected PnLFinal PnL after all adjustments
Net Expected ReturnPnL as % of position size
Total FeesEntry + exit fee drag in USD

Breakdown Section

MetricDescription
Gross Funding PnLPnL if funding persisted unchanged
Decay AdjustmentPnL reduction from half-life decay
Survivable PnLPnL after survivability adjustment
Capacity PenaltyReduction factor from position sizing
Capacity-Adjusted PnLPnL after capacity penalty
Fee DragTotal fees in USD

How Calculations Work

1. Gross Funding PnL

PnLgross=APRf×PositionSize×HoldingHours8760PnL_{gross} = APR_f \times PositionSize \times \frac{HoldingHours}{8760}

2. Decay Adjustment

Using the opportunity's half-life:

DecayFactor=1eλ×hλ×hDecayFactor = \frac{1 - e^{-\lambda \times h}}{\lambda \times h}

Where λ=ln(2)/thalf\lambda = \ln(2) / t_{half} and hh is holding hours.

3. Capacity Penalty

If position size exceeds soft capacity:

Pcap=min(1,CsoftPositionSize)0.5P_{cap} = \min\left(1, \frac{C_{soft}}{PositionSize}\right)^{0.5}

4. Fee Drag

Fees=PositionSize×(EntryFeebps+ExitFeebps)/10000Fees = PositionSize \times (EntryFee_{bps} + ExitFee_{bps}) / 10000

5. Net Result

PnLnet=PnLgross×DecayFactor×Survivability×PcapFeesPnL_{net} = PnL_{gross} \times DecayFactor \times Survivability \times P_{cap} - Fees

Interpretation Guide

Net ReturnAssessment
> 0.1%Positive expected value at this size/horizon
0 to 0.1%Marginal, fees may dominate
< 0%Negative expected value — reconsider

Tips

  1. Start with smaller positions — Capacity penalties compound quickly
  2. Extend horizon for quality — Better persistence for higher half-life opportunities
  3. Compare fee impact — Short horizons are fee-sensitive
  4. Use realistic fees — Include your actual exchange fee tier
Cookie preferences
We use cookies to improve analytics and user experience. You can accept or reject non-essential cookies. Learn more in our Privacy Policy.