Enhance "new exchange" documentation
This commit is contained in:
parent
437e5f0645
commit
048db4f509
@ -250,11 +250,24 @@ 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`.
|
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).
|
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).
|
||||||
|
|
||||||
Also try to use `freqtrade download-data` for an extended timerange and verify that the data downloaded correctly (no holes, the specified timerange was actually downloaded).
|
Also try to use `freqtrade download-data` for an extended timerange (multiple months) and verify that the data downloaded correctly (no holes, the specified timerange was actually downloaded).
|
||||||
|
|
||||||
These are prerequisites to have an exchange listed as either Supported or Community tested (listed on the homepage).
|
These are prerequisites to have an exchange listed as either Supported or Community tested (listed on the homepage).
|
||||||
The below are "extras", which will make an exchange better (feature-complete) - but are not absolutely necessary for either of the 2 categories.
|
The below are "extras", which will make an exchange better (feature-complete) - but are not absolutely necessary for either of the 2 categories.
|
||||||
|
|
||||||
|
Additional tests / steps to complete:
|
||||||
|
|
||||||
|
* Verify data provided by `fetch_ohlcv()` - and eventually adjust `ohlcv_candle_limit` for this exchange
|
||||||
|
* Check L2 orderbook limit range (API documentation) - and eventually set as necessary
|
||||||
|
* Check if balance shows correctly (*)
|
||||||
|
* Create market order (*)
|
||||||
|
* Create limit order (*)
|
||||||
|
* Complete trade (buy + sell) (*)
|
||||||
|
* Compare result calculation between exchange and bot
|
||||||
|
* Ensure fees are applied correctly (check the database against the exchange)
|
||||||
|
|
||||||
|
(*) Requires API keys and Balance on the exchange.
|
||||||
|
|
||||||
### Stoploss On Exchange
|
### Stoploss On Exchange
|
||||||
|
|
||||||
Check if the new exchange supports Stoploss on Exchange orders through their API.
|
Check if the new exchange supports Stoploss on Exchange orders through their API.
|
||||||
|
Loading…
Reference in New Issue
Block a user