mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
6ea450a4e1
closes #9560
35 lines
789 B
Python
35 lines
789 B
Python
"""Bitvavo exchange subclass."""
|
|
|
|
import logging
|
|
from typing import Dict
|
|
|
|
from ccxt import DECIMAL_PLACES
|
|
|
|
from freqtrade.exchange import Exchange
|
|
|
|
|
|
logger = logging.getLogger(__name__)
|
|
|
|
|
|
class Bitvavo(Exchange):
|
|
"""Bitvavo exchange class.
|
|
|
|
Contains adjustments needed for Freqtrade to work with this exchange.
|
|
|
|
Please note that this exchange is not included in the list of exchanges
|
|
officially supported by the Freqtrade development team. So some features
|
|
may still not work as expected.
|
|
"""
|
|
|
|
_ft_has: Dict = {
|
|
"ohlcv_candle_limit": 1440,
|
|
}
|
|
|
|
@property
|
|
def precisionMode(self) -> int:
|
|
"""
|
|
Exchange ccxt precisionMode
|
|
Override due to https://github.com/ccxt/ccxt/issues/20408
|
|
"""
|
|
return DECIMAL_PLACES
|