forex-python icon indicating copy to clipboard operation
forex-python copied to clipboard

Rate returned as string crashes forex currency conversion

Open Shavril opened this issue 3 years ago • 0 comments

In the currency conversion, rate is usually returned from _get_decoded_rate as float. But sometimes it returns a string instead, and then it crashes on the highlighted line because it cant multiply string. The values I used to get string are included in the picture.

forex-error

Shavril avatar Sep 11 '22 13:09 Shavril