Skip to content

Paper Trading Expired Contracts #1383

Discussion options

You must be logged in to vote

Also the system still believes I am holding 3 positions in the expired contract.

This can mean one of two things:

If there is a position break (IB shows no position, but pysystemtrade does), then you would typically create a balance trade via interactive_order_stack to correct it.

If there is no position break (IB and pysystemtrade both show a position)...
I'm not familiar with IB's paper trading, but this can occur in live trading too, when you hold a cash-settled contract until expiry. When this occurs, IB will continue to show the position in the expired contract for a few days (probably waiting for final settlement to occur). Then the position will go away, and you'll be in the same…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by craigmediaservices
Comment options

You must be logged in to vote
1 reply
@craigmediaservices
Comment options

Comment options

You must be logged in to vote
0 replies
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