Binance.Savings (binance v2.0.1)
Savings Endpoints
Summary
Functions
Get Fixed and Activity Project List (USER_DATA)
Get Fixed/Activity Project Position (USER_DATA)
Purchase Fixed/Activity Project (USER_DATA)
Change Fixed/Activity Position to Daily Position (USER_DATA)
Functions
Link to this function
get_lending_project_list(type, opts \\ [])
@spec get_lending_project_list(any(), recvWindow: any(), size: any(), current: any(), sortBy: any(), isSortAsc: any(), status: any(), asset: any(), timestamp: any() ) :: {:ok, any()} | {:error, any()}
Get Fixed and Activity Project List (USER_DATA)
Weight(IP): 1
Details:
- METHOD: get
- URL: /sapi/v1/lending/project/list
Mandatory params:
- type - "ACTIVITY", "CUSTOMIZED_FIXED"
Optional params:
- timestamp - timestamp
- asset -
- status - Default
ALL
- isSortAsc - default "true"
- sortBy - Default
START_TIME
- current - Current querying page. Start from 1. Default:1
- size - Default:10 Max:100
- recvWindow - The value cannot be greater than 60000
Link to this function
get_lending_project_position_list(asset, opts \\ [])
@spec get_lending_project_position_list(any(), recvWindow: any(), status: any(), projectId: any(), timestamp: any() ) :: {:ok, any()} | {:error, any()}
Get Fixed/Activity Project Position (USER_DATA)
Weight(IP): 1
Details:
- METHOD: get
- URL: /sapi/v1/lending/project/position/list
Mandatory params:
- asset -
Optional params:
- timestamp - timestamp
- projectId -
- status - Default
ALL
- recvWindow - The value cannot be greater than 60000
Link to this function
post_lending_customized_fixed_purchase(projectId, lot, opts \\ [])
@spec post_lending_customized_fixed_purchase(any(), any(), recvWindow: any(), timestamp: any() ) :: {:ok, any()} | {:error, any()}
Purchase Fixed/Activity Project (USER_DATA)
Weight(IP): 1
Details:
- METHOD: post
- URL: /sapi/v1/lending/customizedFixed/purchase
Mandatory params:
- projectId -
- lot -
Optional params:
- timestamp - timestamp
- recvWindow - The value cannot be greater than 60000
Link to this function
post_lending_position_changed(projectId, lot, opts \\ [])
@spec post_lending_position_changed(any(), any(), recvWindow: any(), positionId: any(), timestamp: any() ) :: {:ok, any()} | {:error, any()}
Change Fixed/Activity Position to Daily Position (USER_DATA)
- PositionId is mandatory parameter for fixed position.
Weight(IP): 1
Details:
- METHOD: post
- URL: /sapi/v1/lending/positionChanged
Mandatory params:
- projectId -
- lot -
Optional params:
- timestamp - timestamp
- positionId -
- recvWindow - The value cannot be greater than 60000