code: def __getFilledMarketOrder(self, quantity, price):
      order = backtesting.MarketOrder(
          broker.Order.Action.BUY,
          BaseTestCase.TestInstrument,
          quantity,
          False,
          broker.IntegerTraits(),
      )
      order.setState(broker.Order.State.ACCEPTED)
      order.addExecutionInfo(
          broker.OrderExecutionInfo(
              price, quantity, 0, datetime.datetime.now()
          )
      )
      return order
  
file_path: pyalgotrade/testcases/fill_strategy_test.py
imports: import unittest
  import datetime
  from .None import broker_backtesting_test
  from pyalgotrade import broker
  from pyalgotrade.broker import fillstrategy
  from pyalgotrade.broker import backtesting
  from pyalgotrade import bar
label_desc: Use image node_id 2 for calling the DefaultStrategyTestCase obj's underlying member method code with example usage: obj.__getFilledMarketOrder(quantity, price) and returns: order