tests/testthat/test_c2_c_api.R

# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate

context("Test C2CApi")

api.instance <- C2CApi$new()

test_that("SapiV1C2cOrderMatchListUserOrderHistoryGet", {
  # tests for SapiV1C2cOrderMatchListUserOrderHistoryGet
  # base path: https://api.binance.com
  # 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 timestamp integer UTC timestamp in ms
  # @param signature character Signature
  # @param trade.type character  (optional)
  # @param start.timestamp integer UTC timestamp in ms (optional)
  # @param end.timestamp integer UTC timestamp in ms (optional)
  # @param page integer Default 1 (optional)
  # @param rows integer default 100, max 100 (optional)
  # @param recv.window integer The value cannot be greater than 60000 (optional)
  # @return [InlineResponse200111]

  # uncomment below to test the operation
  #expect_equal(result, "EXPECTED_RESULT")
})
grahamjwhite/binanceRapi documentation built on Nov. 22, 2022, 9:37 p.m.