14 lines
249 B
Python
14 lines
249 B
Python
from dataclasses import dataclass
|
|
|
|
@dataclass
|
|
class BacktestResult:
|
|
date: str
|
|
entry_time: str
|
|
exit_time: str
|
|
spreads: list
|
|
trade_entered: bool
|
|
trade_pnl: float
|
|
profit: float
|
|
credit: float
|
|
mfe: float
|
|
mae: float |