tests/testthat/test_isolated_margin_stream_api.R

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

context("Test IsolatedMarginStreamApi")

api.instance <- IsolatedMarginStreamApi$new()

test_that("SapiV1UserDataStreamIsolatedDelete", {
  # tests for SapiV1UserDataStreamIsolatedDelete
  # base path: https://api.binance.com
  # Close a ListenKey (USER_STREAM)
  # Close out a user data stream.  Weight: 1
  # @param listen.key character User websocket listen key (optional)
  # @return [object]

  # uncomment below to test the operation
  #expect_equal(result, "EXPECTED_RESULT")
})

test_that("SapiV1UserDataStreamIsolatedPost", {
  # tests for SapiV1UserDataStreamIsolatedPost
  # base path: https://api.binance.com
  # Generate a Listen Key (USER_STREAM)
  # Start a new user data stream. The stream will close after 60 minutes unless a keepalive is sent. If the account has an active &#x60;listenKey&#x60;, that &#x60;listenKey&#x60; will be returned and its validity will be extended for 60 minutes.  Weight: 1
  # @return [InlineResponse20071]

  # uncomment below to test the operation
  #expect_equal(result, "EXPECTED_RESULT")
})

test_that("SapiV1UserDataStreamIsolatedPut", {
  # tests for SapiV1UserDataStreamIsolatedPut
  # base path: https://api.binance.com
  # Ping/Keep-alive a Listen Key (USER_STREAM)
  # Keepalive a user data stream to prevent a time out. User data streams will close after 60 minutes. It&#39;s recommended to send a ping about every 30 minutes.  Weight: 1
  # @param listen.key character User websocket listen key (optional)
  # @return [object]

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