Determine funds to buy and sell