get_margins: Function to get the details of margins for the logged on...

Description Usage Arguments Details Value

View source: R/restful.R

Description

Gets the margin details of the user.

Usage

1
get_margins(object, segment = NULL)

Arguments

object

An object of type kite connect with valid api_key and access_token.

segment

Either 'equity' or 'commodity'.

Details

Returns a list with margin details. If no segment is specified. returns for both the segments, else only for the one specified.

Value

Returns a list with margin details, if successful.


prodipta/kiteconnect3 documentation built on Sept. 24, 2020, 8:30 a.m.