Open louishuidev opened 3 weeks ago
i am confusing on test_fvg
def test_fvg(df, fvg_result_data): start_time = time.time() fvg_data = smc.fvg(df, join_consecutive=True) print("fvg test time: ", time.time() - start_time) pd.testing.assert_frame_equal(fvg_data, fvg_result_data, check_dtype=False)
i input df and can get the fvg_data from smc.fvg function , but what is fvg_result_data from ?
Hi,
This is a unit test script to confirm the functions still work incase anyone makes any changes
i am confusing on test_fvg
def test_fvg(df, fvg_result_data): start_time = time.time() fvg_data = smc.fvg(df, join_consecutive=True) print("fvg test time: ", time.time() - start_time) pd.testing.assert_frame_equal(fvg_data, fvg_result_data, check_dtype=False)
i input df and can get the fvg_data from smc.fvg function , but what is fvg_result_data from ?