def initialize_period(self, period=None):
if not period:<EOL><INDENT>self.current_period = dt.datetime.now()<EOL><DEDENT>else:<EOL><INDENT>self.current_period = period<EOL><DEDENT>self.current_period = dt.datetime(self.current_period.year, self.current_period.month, self.current_period.day)<EOL>self.date = self.current_period.strftime("<STR_LIT>")<EOL>
Initialize the period of BF.

        :period: datetime.datetime for setting the period explicity.