Skip to content

API Reference


API Reference / volatilitySize

Function: volatilitySize()

volatilitySize(input): number

Defined in: src/risk/positionSizing.ts:90

Fixed-risk sizing where the stop distance comes from ATR.

Parameters

input

VolatilitySizingInput

Returns

number

Community project — not affiliated with Dhan. MIT License.