merged with feat/short

This commit is contained in:
Sam Germain
2021-09-15 22:28:10 -06:00
parent 8e83cb4d64
commit 98b00e8daf
93 changed files with 673 additions and 2067 deletions

View File

@@ -161,9 +161,12 @@ class Ftx(Exchange):
def _get_funding_fee(
self,
pair: str,
contract_size: float,
mark_price: float,
funding_rate: Optional[float],
premium_index: Optional[float],
# index_price: float,
# interest_rate: float)
) -> float:
"""
Calculates a single funding fee