fix: historical rates parsing