polakowo/vectorbt

Data mismatch

Aqua-4 opened this issue · 0 comments

exit_df_mismatch.zip

I am inserting 3 trades into the system here:
Screenshot_20240531_153246

But the plots generated using **vbt.Portfolio.from_signals(portfolio_params) does not match with the data entry & exit.
Screenshot_20240531_153506

Even the exit_trades only diplay 2 trades while it should display 3 trades

I have attached the data (close,buy, sell) as well a python notebook displaying the discrepancy.
Please help!