PortfolioMarginApi: PortfolioMargin operations

PortfolioMarginApiR Documentation

PortfolioMargin operations

Description

binanceRapi.PortfolioMargin

Format

An R6Class generator object

Methods

SapiV1PortfolioAccountGet Get Portfolio Margin Account Info (USER_DATA) Weight(IP): 1

  • @param timestamp integer

  • @param signature character

  • @param recv.window integer

  • @returnType InlineResponse200114

  • status code : 200 | Portfolio account.

  • return type : InlineResponse200114

  • response headers :

  • status code : 400 | Bad Request

  • return type : Error

  • response headers :

  • status code : 401 | Unauthorized Request

  • return type : Error

  • response headers :

Public fields

apiClient

Handles the client-server communication.

Methods

Public methods


Method new()

Usage
PortfolioMarginApi$new(apiClient)

Method SapiV1PortfolioAccountGet()

Usage
PortfolioMarginApi$SapiV1PortfolioAccountGet(
  timestamp,
  signature,
  recv.window = NULL,
  ...
)

Method SapiV1PortfolioAccountGetWithHttpInfo()

Usage
PortfolioMarginApi$SapiV1PortfolioAccountGetWithHttpInfo(
  timestamp,
  signature,
  recv.window = NULL,
  ...
)

Method clone()

The objects of this class are cloneable with this method.

Usage
PortfolioMarginApi$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Examples

## Not run: 
####################  SapiV1PortfolioAccountGet  ####################

library(binanceRapi)
var.timestamp <- 56 # integer | UTC timestamp in ms
var.signature <- 'signature_example' # character | Signature
var.recv.window <- 5000 # integer | The value cannot be greater than 60000

#Get Portfolio Margin Account Info (USER_DATA)
api.instance <- PortfolioMarginApi$new()

#Configure API key authorization: ApiKeyAuth
api.instance$apiClient$apiKeys['X-MBX-APIKEY'] <- 'TODO_YOUR_API_KEY';

result <- api.instance$SapiV1PortfolioAccountGet(var.timestamp, var.signature, recv.window=var.recv.window)



## End(Not run)

grahamjwhite/binanceRapi documentation built on Nov. 22, 2022, 9:37 p.m.