def METHOD_NAME(
    config: Optional[BacktestEngineConfig] = None,
    instrument: Optional[Instrument] = None,
    ticks: Optional[list[Data]] = None,
    venue: Optional[Venue] = None,
    oms_type: Optional[OmsType] = None,
    account_type: Optional[AccountType] = None,
    base_currency: Optional[Currency] = None,
    starting_balances: Optional[list[Money]] = None,
    fill_model: Optional[FillModel] = None,
) -> BacktestEngine:
    engine = BacktestEngine(config=config)
    engine.add_venue(
        venue=venue or Venue("SIM"),
        oms_type=oms_type or OmsType.HEDGING,
        account_type=account_type or AccountType.MARGIN,
        base_currency=base_currency or USD,
        starting_balances=starting_balances or [Money(1_000_000, USD)],
        fill_model=fill_model or FillModel(),
    )
    engine.add_instrument(instrument)
    if ticks:
        engine.add_data(ticks)
    return engine