Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RatesNotAvailableError for the past couple of days #147

Open
TristanCGough opened this issue Oct 23, 2023 · 2 comments
Open

RatesNotAvailableError for the past couple of days #147

TristanCGough opened this issue Oct 23, 2023 · 2 comments

Comments

@TristanCGough
Copy link

TristanCGough commented Oct 23, 2023

I've been getting forex_python.converter.RatesNotAvailableError for the last couple of days
any guidance or advice would be much appreciated

@mikefirefly
Copy link

Well, https://theforexapi.com throws error 504 so this is the reason.

Any other recommendations for Python?

@M-Waszkiewicz-Anaconda
Copy link

possibly connected with that couple of tests keep failing:

================================================================================================================= short test summary info ==================================================================================================================
FAILED tests/test_bitcoin.py::TestPreviousPrice::test_previous_price_valid_currency - AssertionError: <class 'NoneType'> != <class 'float'>
FAILED tests/test_bitcoin.py::TestPreviousPriceList::test_previous_price_list_with_valid_currency - AssertionError: {} is not true
FAILED tests/test_bitcoin.py::TestConvertToBtcOn::test_convert_to_btc_on_with_valid_currency - forex_python.converter.RatesNotAvailableError: BitCoin Rates Source Not Ready For Given Date
FAILED tests/test_bitcoin.py::TestConvertBtcToCurOn::test_convert_to_btc_on_with_valid_currency - forex_python.converter.RatesNotAvailableError: BitCoin Rates Source Not Ready For Given Date
FAILED tests/test_bitcoin.py::TestBitCoinWithoutForceDecimal::test_convert_to_btc_on_with_valid_currency - forex_python.converter.RatesNotAvailableError: BitCoin Rates Source Not Ready For Given Date
FAILED tests/test_bitcoin.py::TestBitCoinWithoutForceDecimal::test_previous_price_list_with_valid_currency - AssertionError: {} is not true
FAILED tests/test_bitcoin.py::TestBitCoinWithoutForceDecimal::test_previous_price_valid_currency - AssertionError: <class 'NoneType'> != <class 'float'>
FAILED tests/test_bitcoin.py::TestBitCoinForceDecimal::test_convert_to_btc_on_with_valid_currency - forex_python.converter.RatesNotAvailableError: BitCoin Rates Source Not Ready For Given Date
FAILED tests/test_bitcoin.py::TestBitCoinForceDecimal::test_previous_price_list_with_valid_currency - AssertionError: {} is not true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants