Ruff format: more random files
This commit is contained in:
@@ -10,10 +10,7 @@ twenty_four = FtPrecise(24.0)
|
|||||||
|
|
||||||
|
|
||||||
def interest(
|
def interest(
|
||||||
exchange_name: str,
|
exchange_name: str, borrowed: FtPrecise, rate: FtPrecise, hours: FtPrecise
|
||||||
borrowed: FtPrecise,
|
|
||||||
rate: FtPrecise,
|
|
||||||
hours: FtPrecise
|
|
||||||
) -> FtPrecise:
|
) -> FtPrecise:
|
||||||
"""
|
"""
|
||||||
Equation to calculate interest on margin trades
|
Equation to calculate interest on margin trades
|
||||||
|
|||||||
@@ -16,9 +16,9 @@ class BacktestResultType(TypedDict):
|
|||||||
|
|
||||||
def get_BacktestResultType_default() -> BacktestResultType:
|
def get_BacktestResultType_default() -> BacktestResultType:
|
||||||
return {
|
return {
|
||||||
'metadata': {},
|
"metadata": {},
|
||||||
'strategy': {},
|
"strategy": {},
|
||||||
'strategy_comparison': [],
|
"strategy_comparison": [],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user