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

Foreign exchange rates, Bitcoin price index and currency conversion using ratesapi.io

Results 47 forex-python issues
Sort by recently updated
recently updated
newest added

Currently using v1.6 : When I run for dates before the 12th all is fine `get_rate('USD','EUR' , datetime.datetime.strptime('2021-06-11','%Y-%m-%d'))` >>0.8247422680412372 however when I try for 12th or later I get `get_rate('USD','EUR'...

forex_python returns incorrect exchange rates for some dates ``` # example import pandas as pd df = pd.DataFrame({'date': ['2011-08-01 02:12:55', '2011-08-23 03:14:11', '2011-08-27 14:11:51', '2011-09-01 06:33:21', '2011-09-05 23:15:11', '2011-09-06 21:19:52',...

Receiving the error with v1.6 installed. Tried a request from the api website, [https://theforexapi.com](https://theforexapi.com ) , as well as going there in a browser (Chrome) but received 502: Bad Gateway....

Hello, I tried converting from USD to ILS and the error message I get says that ILS conversion is not available. RatesNotAvailableError: Currency https://theforexapi.com/api/latest => ILS rate not available for...

Currency with code GQE has duplicate symbol and name, with XAF currency Can't find currency code GQE on forex so removing

- Enable easy iteration over CurrencyCodes object e.g. `for currency in CurrencyCodes()` - Take pathlib dependency to simplify file reading logic

Under certain conditions, python tries to read `/raw_data/currencies.json` as `ascii` instead of `utf-8` and it cannot read the file. See the stacktrace below. ``` Traceback (most recent call last): File...

This is a fix for issue: "Attempt to read /raw_data/currencies.json as ascii instead of utf-8 breaks get_symbol()" - https://github.com/MicroPyramid/forex-python/issues/109 We tell the file reader the encoding of `/raw_data/currencies.json` instead of...

Exchange rate code for AED is not available at present in forex-python

This reverts commit 0ca3addfaca7d81bc3da037578460278c10d8f1c, reversing changes made to fcc62b71588519b7b3a73a0b8ede7745a2dcb7b6. The reverted commit prevented the `RatesNotAvailableError` from being raised Causing two unit tests to fail on the master branch `TestGetRate.test_get_rates_in_future` and...