charton API / @chart-on/core / index / positionStats
Function: positionStats()
positionStats(
side,entry,target,stop):PositionStats
Defined in: packages/core/src/drawing/measure-tools.ts:52
Profit or loss at the target and the stop of a long or short position entered at entry, and its reward-to-risk ratio.
Parameters
side
entry
number
target
number
stop
number