vectorbt icon indicating copy to clipboard operation
vectorbt copied to clipboard

Closing all positions at the end of the day

Open matheusar opened this issue 7 months ago • 1 comments

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

matheusar avatar Jul 12 '24 16:07 matheusar