module Binance::Spot::Subaccount
def withdraw_from_sub_account(fromEmail:, asset:, amount:, **kwargs)
- See: https://developers.binance.com/docs/sub_account/managed-sub-account/Withdrawl-Assets-From-The-Managed-Sub-account -
Options Hash:
(**kwargs)-
:recvWindow(Integer) -- The value cannot be greater than 60000 -
:transferDate(Integer) --
Parameters:
-
kwargs(Hash) -- -
amount(Float) -- -
asset(String) -- -
fromEmail(String) --
def withdraw_from_sub_account(fromEmail:, asset:, amount:, **kwargs) Binance::Utils::Validation.require_param('fromEmail', fromEmail) Binance::Utils::Validation.require_param('asset', asset) Binance::Utils::Validation.require_param('amount', amount) @session.sign_request(:post, '/sapi/v1/managed-subaccount/withdraw', params: kwargs.merge( fromEmail: fromEmail, asset: asset, amount: amount )) end