Skip to content

Commit

Permalink
feat: make drift term available
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiajia-Cui committed Aug 30, 2024
1 parent 682044b commit 4691e71
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions vega_sim/scenario/amm/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
annualised_volatility=0.5,
notional_trade_volume=100,
process_theta=0.02,
drift=0.02,
),
],
amm_liquidity_fee=0.001,
Expand Down
2 changes: 2 additions & 0 deletions vega_sim/scenario/benchmark/configs.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@ def __init__(
notional_trade_volume: int,
risky_trader_funds: int = 1_000,
process_theta: float = 0,
drift: float = 0,
):
self.market_config = market_config
self.initial_price = initial_price
self.process_theta = process_theta
self.drift = drift
self.annualised_volatility = annualised_volatility
self.notional_trade_volume = notional_trade_volume
self.risky_trader_funds = risky_trader_funds
Expand Down

0 comments on commit 4691e71

Please sign in to comment.