Add locks side to type

This commit is contained in:
Matthias 2022-04-24 14:51:46 +02:00
parent 30317bf2b0
commit a983bc3f51
2 changed files with 3 additions and 0 deletions

View File

@ -60,6 +60,7 @@ export interface StrategyBacktestResult {
profit_mean: number; profit_mean: number;
profit_total: number; profit_total: number;
profit_total_abs: number; profit_total_abs: number;
cagr?: number;
backtest_end: string; backtest_end: string;
backtest_end_ts: number; backtest_end_ts: number;

View File

@ -11,6 +11,8 @@ export interface Lock {
/** Time of lock end - will be rounded up to the next candle */ /** Time of lock end - will be rounded up to the next candle */
lock_end_timestamp: number; lock_end_timestamp: number;
reason: string; reason: string;
/** Lock side, can be long, short or '*' */
side?: string;
active: boolean; active: boolean;
} }