You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a compute_epoch() in core/finance/prediction_processing.py (link) that is being used in compute_twap_vwap()
We need to add unit tests using synthetic test data. Create simple short input Series/Dataframe with pd.Timestamp index. Run the function on it and compare the outcome with string signature (for ref see tests in amp/helpers/test/test_hpandas.py e.g. Test_merge_dfs1)
Add 4 unit tests:
3 for each available unit value for a Series input
There is a
compute_epoch()
incore/finance/prediction_processing.py
(link) that is being used incompute_twap_vwap()
We need to add unit tests using synthetic test data. Create simple short input Series/Dataframe with pd.Timestamp index. Run the function on it and compare the outcome with string signature (for ref see tests in
amp/helpers/test/test_hpandas.py
e.g.Test_merge_dfs1
)Add 4 unit tests:
unit
value for a Series inputSee unit test doc to follow the code style
Assigning @samarth9008 to re-distribute
FYI @gpsaggese @DanilYachmenev
The text was updated successfully, but these errors were encountered: