Merge pull request #4110 from freqtrade/test/exchange_ccxt

add tests to verify exchange compatibility with ccxt
This commit is contained in:
Matthias
2020-12-26 16:32:25 +01:00
committed by GitHub
4 changed files with 160 additions and 0 deletions

View File

@@ -242,6 +242,9 @@ The `IProtection` parent class provides a helper method for this in `calculate_l
Most exchanges supported by CCXT should work out of the box.
To quickly test the public endpoints of an exchange, add a configuration for your exchange to `test_ccxt_compat.py` and run these tests with `pytest --longrun tests/exchange/test_ccxt_compat.py`.
Completing these tests successfully a good basis point (it's a requirement, actually), however these won't guarantee correct exchange functioning, as this only tests public endpoints, but no private endpoint (like generate order or similar).
### Stoploss On Exchange
Check if the new exchange supports Stoploss on Exchange orders through their API.