Skip to content

API Reference


API Reference / resolveChain

Function: resolveChain()

resolveChain(client, symbol, expiry, segment): Promise<ResolvedChain>

Defined in: src/skills/Skill.ts:136

Resolves a symbol to its spot price and option chain — the opening move of every option-structure skill.

Parameters

client

DhanClient

symbol

string

expiry

string

segment

string

Returns

Promise<ResolvedChain>

Community project — not affiliated with Dhan. MIT License.