Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: make drift term available #701

Merged
merged 9 commits into from
Sep 5, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,
Jiajia-Cui marked this conversation as resolved.
Show resolved Hide resolved
),
],
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
Loading