My contract level is showing a short and a long position in the same instrument and contract #965
Unanswered
TobiasAntiGravity
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Looks like the same problem as #958 When did you last update your code? If it was before I fixed that problem, then the same solution is in order: reverse the balancing trade, pull the updates, then put a new balancing trade in. If you have pulled more recently then the solution will be a bit trickier. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys, hope you've had a good weekend!
I had some issues with the stack handler last thursday and had to put on three trades manually. I know see that I managed to mess up two of the three trades. One of them left me dumbfounded
As you can see from the
interactive_orders_stack
0, 9 print out below, both CAC and RUSSELL is not looking right. The CAC is understandable - I was suppose to close the long position but sold the wrong contract..The RUSSELL position is strange though; I had a long position and was supposed to close it. According to broker positions and strategy positions, I managed to close. But according to the contract level positions I now have one short position and one long position in the same contract. Any idea of how I managed this, and How do I solve?
Beta Was this translation helpful? Give feedback.
All reactions