Update code examples in documentation.

Update listings of data_type and exchange_type enumerations.
Close #47
Format exchange_type definition.
Update type names in comments.