WPSC_Claimed_Stock class and functions (v3)

Rebased and updated version or PR #689