Three essays in computational finance