code: def init_instance_fixtures(self):
      super(TestFixedReturns, self).init_instance_fixtures()
  
      if self.DATA_PORTAL_FIRST_TRADING_DAY is None:
          if self.DATA_PORTAL_USE_MINUTE_DATA:
              self.DATA_PORTAL_FIRST_TRADING_DAY = (
                  self.bcolz_future_minute_bar_reader.first_trading_day
              )
          elif self.DATA_PORTAL_USE_DAILY_DATA:
              self.DATA_PORTAL_FIRST_TRADING_DAY = (
                  self.bcolz_future_daily_bar_reader.first_trading_day
              )
  
      self.futures_data_portal = DataPortal(
          self.asset_finder,
          self.trading_calendars[Future],
          first_trading_day=self.DATA_PORTAL_FIRST_TRADING_DAY,
          equity_daily_reader=(
              self.bcolz_equity_daily_bar_reader
              if self.DATA_PORTAL_USE_DAILY_DATA
              else None
          ),
          equity_minute_reader=(
              self.bcolz_equity_minute_bar_reader
              if self.DATA_PORTAL_USE_MINUTE_DATA
              else None
          ),
          adjustment_reader=(
              self.adjustment_reader
              if self.DATA_PORTAL_USE_ADJUSTMENTS
              else None
          ),
          future_minute_reader=(
              self.bcolz_future_minute_bar_reader
              if self.DATA_PORTAL_USE_MINUTE_DATA
              else None
          ),
          future_daily_reader=(
              MinuteResampleSessionBarReader(
                  self.bcolz_future_minute_bar_reader.trading_calendar,
                  self.bcolz_future_minute_bar_reader,
              )
              if self.DATA_PORTAL_USE_MINUTE_DATA
              else None
          ),
          last_available_session=self.DATA_PORTAL_LAST_AVAILABLE_SESSION,
          last_available_minute=self.DATA_PORTAL_LAST_AVAILABLE_MINUTE,
          minute_history_prefetch_length=(
              self.DATA_PORTAL_MINUTE_HISTORY_PREFETCH
          ),
          daily_history_prefetch_length=(
              self.DATA_PORTAL_DAILY_HISTORY_PREFETCH
          ),
      )
  
imports: import unittest
  import numpy
  import pandas
  from zipline import api
  from zipline.assets import Equity, Future
  from zipline.assets.synthetic import make_commodity_future_info
  from zipline.data.data_portal import DataPortal
  from zipline.data.resample import MinuteResampleSessionBarReader
  from zipline.testing import parameter_space, prices_generating_returns, simulate_minutes_for_day
  from zipline.testing.fixtures import WithMakeAlgo, WithConstantEquityMinuteBarData, WithConstantFutureMinuteBarData, WithWerror, ZiplineTestCase
  from zipline.testing.predicates import assert_equal, wildcard
label_desc: Use image node_id 2 for calling the TestFixedReturns obj's underlying member method code with example usage: obj.init_instance_fixtures() without return types