Add functions for determining how many contracts can be purchased for a given amount of money