Note: Due to abuse of the open system we've had to limit anonymous access. To post a bug report or feature request, please sign up for an account using the Register link below.

Ticket #1339 (new defect)

Opened 9 months ago

Cost basis error for a multi-lot stock that splits

Reported by: threedogs Assigned to: sreilly
Priority: critical Milestone: Moneydance 2007
Component: general Version: 2007.stable
Keywords: Cc:

Description

Possibly related to ticket 370? The error can be observed by entering some transactions with a fictional "XYZ" stock: Buy XYZ 400shares at $100 (MD cost basis is 40K) Good! Buy XYZ 200shares at $50 (MD cost basis is 50K) Good! Sell XYZ 500shares at $50: 200 of 2nd lot and 300 of 1st (MD cost basis is 10K) Good! XYZ splits 2:1 (MD cost basis is -30K) Incorrect! After selling the 500shares, the entire 2nd lot is gone so we're basically back to holding one lot. The 100shares remaining have a cost basis of 10K. After the split, the 100shares become 200, but the cost basis should remain 10K instead of the negative 30K shown by Moneydance.