(self, simulation_dt_func, restrictions=None)
| 1971 | CREATE_BARDATA_DATA_FREQUENCY = 'minute' |
| 1972 | |
| 1973 | def create_bardata(self, simulation_dt_func, restrictions=None): |
| 1974 | return BarData( |
| 1975 | self.data_portal, |
| 1976 | simulation_dt_func, |
| 1977 | self.CREATE_BARDATA_DATA_FREQUENCY, |
| 1978 | self.trading_calendar, |
| 1979 | restrictions or NoRestrictions() |
| 1980 | ) |
| 1981 | |
| 1982 | |
| 1983 | class WithMakeAlgo(WithBenchmarkReturns, |