Preparing search index...
The search index is not available
backtest-kit
backtest-kit
types
SignalClosedNotification
Interface SignalClosedNotification
Signal closed notification. Emitted when a trading position is closed (TP/SL hit).
interface
SignalClosedNotification
{
backtest
:
boolean
;
closeReason
:
string
;
duration
:
number
;
exchangeName
:
string
;
id
:
string
;
note
?:
string
;
pnlPercentage
:
number
;
position
:
"long"
|
"short"
;
priceClose
:
number
;
priceOpen
:
number
;
signalId
:
string
;
strategyName
:
string
;
symbol
:
string
;
timestamp
:
number
;
type
:
"signal.closed"
;
}
Index
Properties
backtest
close
Reason
duration
exchange
Name
id
note?
pnl
Percentage
position
price
Close
price
Open
signal
Id
strategy
Name
symbol
timestamp
type
Properties
backtest
backtest
:
boolean
close
Reason
closeReason
:
string
duration
duration
:
number
exchange
Name
exchangeName
:
string
id
id
:
string
Optional
note
note
?:
string
pnl
Percentage
pnlPercentage
:
number
position
position
:
"long"
|
"short"
price
Close
priceClose
:
number
price
Open
priceOpen
:
number
signal
Id
signalId
:
string
strategy
Name
strategyName
:
string
symbol
symbol
:
string
timestamp
timestamp
:
number
type
type
:
"signal.closed"
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
backtest
close
Reason
duration
exchange
Name
id
note
pnl
Percentage
position
price
Close
price
Open
signal
Id
strategy
Name
symbol
timestamp
type
backtest-kit
Loading...
Signal closed notification. Emitted when a trading position is closed (TP/SL hit).