Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use test_fvg in "smart-money-concepts/tests/test_smc.py" #58

Open
louishuidev opened this issue Aug 24, 2024 · 1 comment
Open

Comments

@louishuidev
Copy link

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 ?

@joshyattridge
Copy link
Owner

Hi,

This is a unit test script to confirm the functions still work incase anyone makes any changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants