improve pandas syntax to avoid deprecation error

This commit is contained in:
Matthias
2023-10-30 18:11:38 +01:00
parent 528c65c194
commit bbdc6c0f5c

View File

@@ -50,8 +50,8 @@ def test_trades_to_ohlcv(trades_history_df, caplog):
assert 'high' in df.columns
assert 'low' in df.columns
assert 'close' in df.columns
assert df.loc[:, 'high'][0] == 0.019627
assert df.loc[:, 'low'][0] == 0.019626
assert df.iloc[0, :]['high'] == 0.019627
assert df.iloc[0, :]['low'] == 0.019626
def test_ohlcv_fill_up_missing_data(testdatadir, caplog):