Fix some formatting

This commit is contained in:
Matthias
2021-11-09 19:40:42 +01:00
parent e69a100c64
commit 4a67b33cb3
2 changed files with 16 additions and 20 deletions

View File

@@ -230,9 +230,9 @@ class Binance(Exchange):
pair=pair, timeframe=timeframe, since_ms=since_ms, is_new_pair=is_new_pair)
def funding_fee_cutoff(self, open_date: datetime):
'''
"""
# TODO-lev: Double check that gateio, ftx, and kraken don't also have this
:param open_date: The open date for a trade
:return: The cutoff open time for when a funding fee is charged
'''
"""
return open_date.minute > 0 or (open_date.minute == 0 and open_date.second > 15)