C2CApi: C2C operations

C2CApiR Documentation

C2C operations

Description

binanceRapi.C2C

Format

An R6Class generator object

Methods

SapiV1C2cOrderMatchListUserOrderHistoryGet Get C2C Trade History (USER_DATA) - If startTimestamp and endTimestamp are not sent, the recent 30-day data will be returned. - The max interval between startTimestamp and endTimestamp is 30 days. Weight(IP): 1

  • @param trade.type Enum < [BUY, SELL] >

  • @param start.timestamp integer

  • @param end.timestamp integer

  • @param page integer

  • @param rows integer

  • @param recv.window integer

  • @returnType InlineResponse200132

  • status code : 200 | Trades history

  • return type : InlineResponse200132

  • 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
C2CApi$new(apiClient)

Method SapiV1C2cOrderMatchListUserOrderHistoryGet()

Usage
C2CApi$SapiV1C2cOrderMatchListUserOrderHistoryGet(
  trade.type,
  start.timestamp = NULL,
  end.timestamp = NULL,
  page = NULL,
  rows = NULL,
  recv.window = NULL,
  ...
)

Method SapiV1C2cOrderMatchListUserOrderHistoryGetWithHttpInfo()

Usage
C2CApi$SapiV1C2cOrderMatchListUserOrderHistoryGetWithHttpInfo(
  trade.type,
  start.timestamp = NULL,
  end.timestamp = NULL,
  page = NULL,
  rows = NULL,
  recv.window = NULL,
  ...
)

Method clone()

The objects of this class are cloneable with this method.

Usage
C2CApi$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Examples

## Not run: 
####################  SapiV1C2cOrderMatchListUserOrderHistoryGet  ####################

library(binanceRapi)
var.trade.type <- 'trade.type_example' # character | 
var.start.timestamp <- 56 # integer | UTC timestamp in ms
var.end.timestamp <- 56 # integer | UTC timestamp in ms
var.page <- 1 # integer | Default 1
var.rows <- 56 # integer | default 100, max 100
var.recv.window <- 5000 # integer | The value cannot be greater than 60000

#Get C2C Trade History (USER_DATA)
api.instance <- C2CApi$new()

result <- api.instance$SapiV1C2cOrderMatchListUserOrderHistoryGet(trade.type=var.trade.type, start.timestamp=var.start.timestamp, end.timestamp=var.end.timestamp, page=var.page, rows=var.rows, recv.window=var.recv.window)



## End(Not run)

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