Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closing all positions at the end of the day #731

Open
matheusar opened this issue Jul 12, 2024 · 1 comment
Open

Closing all positions at the end of the day #731

matheusar opened this issue Jul 12, 2024 · 1 comment

Comments

@matheusar
Copy link

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

@Aqua-4
Copy link

Aqua-4 commented Aug 16, 2024

Attaching my issue here which is on the similar topic on closing intraday trades at the end of the day.

#743

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants