getTimeValue

fun getTimeValue(underlyingPrice: Double, isCall: Boolean): Double?(source)

시간 가치 (Time Value)

시간 가치 = 옵션 가격 - 내재 가치 lastPrice가 없으면 null을 반환합니다.

Return

시간 가치, lastPrice가 없으면 null

Parameters

underlyingPrice

기초 자산 현재가

isCall

콜옵션이면 true, 풋옵션이면 false