module Binance::Spot::Subaccount

def sub_account_futures_transfer(email:, asset:, amount:, type:, **kwargs)

Other tags:
    See: https://binance-docs.github.io/apidocs/spot/en/#futures-transfer-for-sub-account-for-master-account -

Options Hash: (**kwargs)
  • :recvWindow (Integer) -- The value cannot be greater than 60000

Parameters:
  • kwargs (Hash) --
  • type (Integer) -- 1: transfer from subaccount's spot account to its USDT-margined futures account
  • amount (Float) --
  • asset (String) --
  • email (String) --
def sub_account_futures_transfer(email:, asset:, amount:, type:, **kwargs)
  Binance::Utils::Validation.require_param('email', email)
  Binance::Utils::Validation.require_param('asset', asset)
  Binance::Utils::Validation.require_param('amount', amount)
  Binance::Utils::Validation.require_param('type', type)
  @session.sign_request(:post, '/sapi/v1/sub-account/futures/transfer', params: kwargs.merge(
    email: email,
    asset: asset,
    amount: amount,
    type: type
  ))
end