コード例 #1
0
 def test_close_pb_relation(self):
     start_date = dt.datetime(2006, 1, 1)
     end_date = dt.datetime(2020, 4, 1)
     mean_reversion = MeanReversion(start_date, end_date, '000300.XSHG',
                                    'broad')
     mean_reversion.close_finance_relation(show_pb_border_line=True,
                                           column='pb')
コード例 #2
0
 def test_close_pe_relation(self):
     start_date = dt.datetime(2006, 1, 1)
     end_date = dt.datetime(2020, 4, 1)
     mean_reversion_cy = MeanReversion(start_date, end_date, '399006.XSHE',
                                       'broad')
     mean_reversion_cy.close_finance_relation(show_pe_percentile=True)