Skip to content

API Reference


API Reference / GlobalStocksMarginCalculator

Class: GlobalStocksMarginCalculator

Defined in: src/resources/GlobalStocks.ts:189

Constructors

Constructor

new GlobalStocksMarginCalculator(httpClient): GlobalStocksMarginCalculator

Defined in: src/resources/GlobalStocks.ts:190

Parameters

httpClient

HttpClient

Returns

GlobalStocksMarginCalculator

Methods

calculate()

calculate(request): Promise<GlobalMarginResponse>

Defined in: src/resources/GlobalStocks.ts:193

Margin required for a prospective US order.

Parameters

request

GlobalEstimateRequest

Returns

Promise<GlobalMarginResponse>


estimate()

estimate(request): Promise<GlobalOrderEstimateResponse>

Defined in: src/resources/GlobalStocks.ts:205

Brokerage and statutory charges for a prospective US order.

Parameters

request

GlobalEstimateRequest

Returns

Promise<GlobalOrderEstimateResponse>

Community project — not affiliated with Dhan. MIT License.