![見出し画像](https://assets.st-note.com/production/uploads/images/77475860/rectangle_large_type_2_5092baea7b87126951e8e4898851da5e.png?width=800)
Rage Trader
twitter: https://twitter.com/rage_trade
集中流動性
Rage Traderとは
ETHのperpetual future protocol。10倍までleverageをかけられる
特徴的なのは80-20 Vaultsという証拠金管理の仕組み。他のLP tokenを証拠金に、Uni v3型の集中流動性を構築することで、Liqudity Providersがより多くのAPYを稼ぐことができるようになっている。
80-20 Vaults
証拠金のうち、最大20%はRage TradeのUni v3型のvAMMで集中流動性として使い、残りの証拠金はCurve, GMX, Sushi等のyield generating serviceに使うことで、Rage Tradeのswap手数料を稼ぎつつ、同時にUni v2のような50:50のLiquidity miningとしても稼げる仕組み。
80-20 Vault Operations
Rebalance PnL
TODO
Update Range
TODO
Reset Liquidity
急変して、20%以上がRage Tradeに供給されたらLPポジションを解消して最初からやりなそす
80-20 Vault Payoffのシミュレーション
80-20 VaultでLPしてたときのシミュレーション(Backtest)
Funding Rate
FRの計算式
fundingRate (per second) = (TWAP_PERP - TWAP_SPOT) / TWAP_SPOT * (1 / 86400)
fundingPayment = PositionSize x fundingRate x timeElapsed
TWAP_SPOTの計算にはOracleが使われている
FR計算は3段階あって厳重
最初はmark - index
CEXのFRとRageのFRが離れすぎるとBinanceのOracleを使う
最終的にはMultisig Governance Voteでmanual update(値はCEXのFRを参考に)
Liquidation
判定に使うprice
spotとmarkが5%以上乖離するときはspot priceを、それ以外はmark priceをliquidation判定に使っている
Liquidation Fee
liquidation feeはinsurance fundとliquidatorとで折半する。
内訳
range_removal: open notionalの0.75%(上限$100)
close_position: token position closedの1.5%
Priority
MFが小さいものからliquidation
If account value < 0.75 x required margin, then close 100% of token position
If 0.75 x required margin < account value < required margin,
then close 50% of token position.
Price Limit
最大SLIPAGE(+-3%)になるようなサイズでliquidationされる
why: close position slowly -> gives arbs enough time to correct deviations
Trading Fee
Yield Fee: 10%
Trade Fee (Protocol): 0.05% * Position Size
Trade Fee (LP): 0.1% * Position Size
コメント
mark priceとindex priceの乖離に気をつかっているけどなんでだろう。
arbsに十分な時間を与えるのって常にメリットなのかな?横横相場ではメリット、急変相場ではbad deptが増えそうな気もするけども。
この記事が気に入ったらサポートをしてみませんか?