mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-09-20 01:21:11 +00:00
Ruff format: more random files
This commit is contained in:
parent
73e182260e
commit
c9d301e4f9
|
@ -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": [],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user