Skip to content

API Reference


API Reference / riskTypeFor

Function: riskTypeFor()

riskTypeFor(instrument?): RiskInstrumentKind

Defined in: src/risk/Pipeline.ts:152

Picks the check set from an instrument's type — anything whose instrumentType starts with OPT gets the options rules on top.

Parameters

instrument?

Instrument

Returns

RiskInstrumentKind

Community project — not affiliated with Dhan. MIT License.