Skip to content

Commit 595db54

Browse files
authored
Merge pull request freqtrade#11917 from froggleston/frog-contrib-exch-1
Add short explanation of where exchange files are
2 parents bfa9c81 + 6049ac1 commit 595db54

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/developer.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,13 @@ The `IProtection` parent class provides a helper method for this in `calculate_l
304304

305305
Most exchanges supported by CCXT should work out of the box.
306306

307+
If you need to implement a specific exchange class, these are found in the `freqtrade/exchange` source folder. You'll also need to add the import to `freqtrade/exchange/__init__.py` to make the loading logic aware of the new exchange.
308+
We recommend looking at existing exchange implementations to get an idea of what might be required.
309+
310+
!!! Warning
311+
Implementing and testing an exchange can be a lot of trial and error, so please bear this in mind.
312+
You should also have some development experience, as this is not a beginner task.
313+
307314
To quickly test the public endpoints of an exchange, add a configuration for your exchange to `tests/exchange_online/conftest.py` and run these tests with `pytest --longrun tests/exchange_online/test_ccxt_compat.py`.
308315
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).
309316

0 commit comments

Comments
 (0)