vectorbt
vectorbt copied to clipboard
Closing all positions at the end of the day
Im making an intraday strategy that uses multiple entries and would like it to close all at the end of the day, but it only closes 1 contract (using size_type='amount') when I use exits. How can I change the number of contracts to the same number Im positioned at the end of the day? @polakowo @barnjamin @izikeros @RileyMShea @emiliobasualdo