diff --git a/vega_sim/devops/registry.py b/vega_sim/devops/registry.py index 66f33c697..7980b0542 100644 --- a/vega_sim/devops/registry.py +++ b/vega_sim/devops/registry.py @@ -73,12 +73,12 @@ "BTCUSD": lambda: DevOpsScenario( binance_code="BTCDAI", market_manager_args=MarketManagerArgs( - market_name="BTCUSD Monthly (Dec 2022)", - market_code="BTCUSD", + market_name="BTC/DAI-CE berg orders", + market_code="BTC/DAI-CE", asset_name="tDAI", - adp=5, - mdp=5, - pdp=3, + adp=18, + mdp=1, + pdp=4, ), market_maker_args=MarketMakerArgs( market_kappa=0.15, @@ -91,26 +91,26 @@ inventory_lower_boundary=-3, inventory_upper_boundary=3, fee_amount=0.0001, - commitment_amount=1e5, - initial_mint=2e5, + commitment_amount=200000, + initial_mint=400000, ), auction_trader_args=AuctionTraderArgs( initial_volume=0.001, initial_mint=1e4, ), random_trader_args=RandomTraderArgs( - order_intensity=[5, 5, 5], - order_volume=[0.01, 0.1, 1], - step_bias=[0.333, 0.012, 0.003], - initial_mint=1e6, + order_intensity=[10, 10, 10], + order_volume=[0.0001, 0.001, 0.005], + step_bias=[0.5, 0.1, 0.02], + initial_mint=100000, ), sensitive_trader_args=SensitiveTraderArgs( scale=[10, 10, 10], max_order_size=[0.001, 0.01, 0.1], - initial_mint=1e4, + initial_mint=100000, ), simulation_args=SimulationArgs( - n_steps=60 * 6, + n_steps=10000, granularity=Granularity.MINUTE, coinbase_code="BTC-USDT", start_date="2022-11-01 00:00:00", diff --git a/vega_sim/devops/scenario.py b/vega_sim/devops/scenario.py index d7aaf8127..05e308d13 100644 --- a/vega_sim/devops/scenario.py +++ b/vega_sim/devops/scenario.py @@ -212,29 +212,29 @@ def configure_agents( for i, party in enumerate(RANDOM_TRADER_AGENTS) ] - # Setup agents for placing price-sensitive limit orders - sensitive_limit_order_traders = [ - PriceSensitiveLimitOrderTrader( - wallet_name=party.wallet_name, - key_name=party.key_name, - market_name=self.market_name - if self.market_name is not None - else self.market_manager_args.market_name, - asset_name=self.market_manager_args.asset_name, - price_process_generator=iter(self.price_process), - initial_asset_mint=self.sensitive_trader_args.initial_mint, - scale=self.sensitive_trader_args.scale[i], - max_order_size=self.sensitive_trader_args.max_order_size[i], - tag=i, - ) - for i, party in enumerate(SENSITIVE_TRADER_AGENTS) - ] + # # Setup agents for placing price-sensitive limit orders + # sensitive_limit_order_traders = [ + # PriceSensitiveLimitOrderTrader( + # wallet_name=party.wallet_name, + # key_name=party.key_name, + # market_name=self.market_name + # if self.market_name is not None + # else self.market_manager_args.market_name, + # asset_name=self.market_manager_args.asset_name, + # price_process_generator=iter(self.price_process), + # initial_asset_mint=self.sensitive_trader_args.initial_mint, + # scale=self.sensitive_trader_args.scale[i], + # max_order_size=self.sensitive_trader_args.max_order_size[i], + # tag=i, + # ) + # for i, party in enumerate(SENSITIVE_TRADER_AGENTS) + # ] agents = ( [market_manager, market_maker] + auction_pass_agents + random_market_order_traders - + sensitive_limit_order_traders + # + sensitive_limit_order_traders ) else: diff --git a/vega_sim/null_service.py b/vega_sim/null_service.py index 6dfd06581..045e644bc 100644 --- a/vega_sim/null_service.py +++ b/vega_sim/null_service.py @@ -529,10 +529,10 @@ def manage_vega_processes( vega_console_path, "nx", "serve", - "--port", - f"{port_config[Ports.CONSOLE]}", "-o", "trading", + "--port", + f"{port_config[Ports.CONSOLE]}", ], dir_root=tmp_vega_dir, log_name="console",