When using Average Price as the cost basis method, the system should reset the average cost per share if a position has been completely sold and later repurchased. Currently, the platform retains the previous average, leading to incorrect cost basis for reopened positions.
Detect a full position close event and automatically reset the average cost on the next buy. Optionally, allow users to manually override the cost per share if needed.
Leave a Comment