Exemplo n.º 1
0
 def get_dividend_financing_data(provider: Provider, sleep, desc, pc, lock,
                                 region, batch):
     # 除权概览表
     DividendFinancing.record_data(provider=provider,
                                   share_para=(desc, pc, lock, True,
                                               region),
                                   sleeping_time=sleep,
                                   batch_size=batch)
Exemplo n.º 2
0
def test_dividend_financing():
    try:
        DividendFinancing.record_data(provider='eastmoney',
                                      codes=SAMPLE_STOCK_CODES)
    except:
        assert False