def test_MacdTransformer(): df = get_kdata(entity_id='stock_sz_000338', start_timestamp='2019-01-01', provider='joinquant') t = MacdTransformer() result_df = t.transform(df) print(result_df)
def test_MacdTransformer(): df = get_kdata(region=Region.CHN, entity_id='stock_sz_000338', start_timestamp='2019-01-01', provider=Provider.JoinQuant, index=['entity_id', 'timestamp']) t = MacdTransformer() result_df = t.transform(df) print(result_df)
def test_MacdTransformer(): df = get_kdata( entity_id="stock_sz_000338", start_timestamp="2019-01-01", provider="joinquant", index=["entity_id", "timestamp"], ) t = MacdTransformer() result_df = t.transform(df) print(result_df)