I've been dipping my toe with options via Ninja (via ib), since you got it all working in last version. Yesterday, I noticed a small bug.
To reproduce
Day 1, sell 2 puts, of say, spy 200 put
Day 2, sell 1 put of SAME strike
Check positions tab. You will find you have the original day 1 qty listed as a position. Then, you have the day 2 sale listed as another position, with the size as day1+day2 So, the P&L's are accordingly wrong as are the position sizes. Not sure what happens if you hit close, but thinking you might end up with more filled than you wanted!
Thanks.
Comment