mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 10:21:55 +00:00
Add locks side to type
This commit is contained in:
parent
30317bf2b0
commit
a983bc3f51
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user