code: def test_order_future_non_targeted(self, order_method, amount):
      # Every day, place an order for $10000 worth of sid(2)
      algotext = """
  import zipline.api as api
  
  def initialize(context):
      api.set_slippage(us_futures=api.slippage.FixedSlippage(spread=0.0))
      api.set_commission(us_futures=api.commission.PerTrade(0.0))
  
      context.future = api.sid(2)
  
      api.schedule_function(
          func=do_order,
          date_rule=api.date_rules.every_day(),
          time_rule=api.time_rules.market_open(),
      )
  
  def do_order(context, data):
      context.ordered = True
      api.{order_func}(context.future, {arg})
       """.format(
          order_func=order_method, arg=amount
      )
      result = self.run_algorithm(script=algotext)
  
      for orders in result.orders.values:
          assert_equal(len(orders), 1)
          assert_equal(orders[0]["amount"], 500)
          assert_equal(orders[0]["sid"], self.FUTURE)
  
      for i, positions in enumerate(result.positions.values, start=1):
          assert_equal(len(positions), 1)
          assert_equal(positions[0]["amount"], 500.0 * i)
          assert_equal(positions[0]["sid"], self.FUTURE)
  
imports: from nose_parameterized import parameterized
  import pandas
  from zipline.algorithm import TradingAlgorithm
  import zipline.api
  import zipline.errors
  from zipline.finance.execution import StopLimitOrder
  import zipline.testing.fixtures
  from zipline.testing.predicates import assert_equal
  import zipline.test_algorithms
label_desc: Use image node_id 6 for calling the TestOrderMethods obj's underlying member method code with example usage: obj.test_order_future_non_targeted(order_method, amount) without return types