This episode is based on the financial Shell game A.K.A The Wall Street scam
This "The Sting" type con was used in The Rockford Files episode Never Send A Boy King To Do Man's Job (featuring Robert Webber) and again in Bret Maverick episode Faith, Hope and Clarity (featuring Robert Weber and Jameson Parker).