Binance.VipLoans (binance v2.0.0-beta.1)
Link to this section Summary
Functions
Check Locked Value of VIP Collateral Account (USER_DATA)
Get VIP Loan Ongoing Orders (USER_DATA)
Get VIP Loan Repayment History (USER_DATA)
VIP Loan Repay (TRADE)
Link to this section Functions
Link to this function
get_loan_vip_collateral_account(opts \\ [])
Specs
get_loan_vip_collateral_account( recvWindow: any(), collateralAccountId: any(), orderId: any(), timestamp: any() ) :: {:ok, any()} | {:error, any()}
Check Locked Value of VIP Collateral Account (USER_DATA)
- If startTime and endTime are not sent, the recent 7-day data will be returned.
- The max interval between startTime and endTime is 30 days.
Weight(UID): 6000
Details:
- METHOD: get
- URL: /sapi/v1/loan/vip/collateral/account
Mandatory params:
Optional params:
- timestamp - timestamp
- orderId -
- collateralAccountId -
- recvWindow - The value cannot be greater than 60000
Link to this function
get_loan_vip_ongoing_orders(opts \\ [])
Specs
get_loan_vip_ongoing_orders( recvWindow: any(), current: any(), collateralCoin: any(), loanCoin: any(), collateralAccountId: any(), orderId: any(), timestamp: any() ) :: {:ok, any()} | {:error, any()}
Get VIP Loan Ongoing Orders (USER_DATA)
- If startTime and endTime are not sent, the recent 7-day data will be returned.
- The max interval between startTime and endTime is 30 days.
Weight(UID): 6000
Details:
- METHOD: get
- URL: /sapi/v1/loan/vip/ongoing/orders
Mandatory params:
Optional params:
- timestamp - timestamp
- orderId -
- collateralAccountId -
- loanCoin -
- collateralCoin -
- current - Currently querying page. Start from 1, Default:1, Max: 1000.
- recvWindow - The value cannot be greater than 60000
Link to this function
get_loan_vip_repay_history(opts \\ [])
Specs
get_loan_vip_repay_history( recvWindow: any(), limit: any(), current: any(), endTime: any(), startTime: any(), loanCoin: any(), orderId: any(), timestamp: any() ) :: {:ok, any()} | {:error, any()}
Get VIP Loan Repayment History (USER_DATA)
- If startTime and endTime are not sent, the recent 7-day data will be returned.
- The max interval between startTime and endTime is 30 days.
Weight(UID): 6000
Details:
- METHOD: get
- URL: /sapi/v1/loan/vip/repay/history
Mandatory params:
Optional params:
- timestamp - timestamp
- orderId -
- loanCoin -
- startTime -
- endTime -
- current - Currently querying page. Start from 1, Default:1, Max: 1000.
- limit - Default: 10, Max: 100
- recvWindow - The value cannot be greater than 60000
Link to this function
post_loan_vip_repay(orderId, amount, opts \\ [])
Specs
post_loan_vip_repay(any(), any(), recvWindow: any(), timestamp: any()) :: {:ok, any()} | {:error, any()}
VIP Loan Repay (TRADE)
- If startTime and endTime are not sent, the recent 7-day data will be returned.
- The max interval between startTime and endTime is 30 days.
Weight(UID): 6000
Details:
- METHOD: post
- URL: /sapi/v1/loan/vip/repay
Mandatory params:
- orderId -
- amount -
Optional params:
- timestamp - timestamp
- recvWindow - The value cannot be greater than 60000