Updated parameter data types

Updated the data types of parameters in function comments
Updated readme

Changed non-PHP code to PHP code, and formatted. Fixed incorrect
currency pairs throughout document.