refactoring exchange-is-open check
basic sanity check for exchange-rates
finished exchange-rate handling

(basic handling, not everything for sure)