Skip to content

Multiple open positions #255

Answered by kernc
kosi96 asked this question in Q&A
Feb 19, 2021 · 1 comments · 5 replies

You must be logged in to vote

Yes, as long as you don't pass Backtest(..., exclusive_orders=True) (and, maybe, hedging=False), every Strategy.buy()/.sell() call places an order that results in a separate trade. The trades, however, still sum up to a single net total position.

Replies: 1 comment 5 replies

You must be logged in to vote
5 replies
@kosi96

@kernc

@cruizytrader

@kernc

kernc Jul 9, 2021
Maintainer

@cruizytrader

Answer selected by kosi96
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants