miscellaneous trading utilities