Added gateio and kucoin funding fee times
This commit is contained in:
parent
057b048f31
commit
b83933a10a
@ -59,7 +59,6 @@ dependencies:
|
|||||||
- plotly
|
- plotly
|
||||||
- jupyter
|
- jupyter
|
||||||
|
|
||||||
|
|
||||||
- pip:
|
- pip:
|
||||||
- pycoingecko
|
- pycoingecko
|
||||||
- py_find_1st
|
- py_find_1st
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
""" Gate.io exchange subclass """
|
""" Gate.io exchange subclass """
|
||||||
import logging
|
import logging
|
||||||
from typing import Dict
|
from typing import Dict, List
|
||||||
|
|
||||||
from freqtrade.exchange import Exchange
|
from freqtrade.exchange import Exchange
|
||||||
|
|
||||||
@ -23,3 +23,5 @@ class Gateio(Exchange):
|
|||||||
}
|
}
|
||||||
|
|
||||||
_headers = {'X-Gate-Channel-Id': 'freqtrade'}
|
_headers = {'X-Gate-Channel-Id': 'freqtrade'}
|
||||||
|
|
||||||
|
funding_fee_times: List[int] = [0, 8, 16] # hours of the day
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
""" Kucoin exchange subclass """
|
""" Kucoin exchange subclass """
|
||||||
import logging
|
import logging
|
||||||
from typing import Dict
|
from typing import Dict, List
|
||||||
|
|
||||||
from freqtrade.exchange import Exchange
|
from freqtrade.exchange import Exchange
|
||||||
|
|
||||||
@ -24,3 +24,5 @@ class Kucoin(Exchange):
|
|||||||
"order_time_in_force": ['gtc', 'fok', 'ioc'],
|
"order_time_in_force": ['gtc', 'fok', 'ioc'],
|
||||||
"time_in_force_parameter": "timeInForce",
|
"time_in_force_parameter": "timeInForce",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
funding_fee_times: List[int] = [4, 12, 20] # hours of the day
|
||||||
|
@ -4,7 +4,7 @@ Freqtrade is the main module of this bot. It contains the class Freqtrade()
|
|||||||
import copy
|
import copy
|
||||||
import logging
|
import logging
|
||||||
import traceback
|
import traceback
|
||||||
from datetime import datetime, time, timezone, timedelta, tzinfo
|
from datetime import datetime, time, timezone
|
||||||
from math import isclose
|
from math import isclose
|
||||||
from threading import Lock
|
from threading import Lock
|
||||||
from typing import Any, Dict, List, Optional
|
from typing import Any, Dict, List, Optional
|
||||||
|
Loading…
Reference in New Issue
Block a user