public interface MarginAPI
| 限定符和类型 | 方法和说明 |
|---|---|
MarginOrderCreateResponse |
createMarginOrder(MarginOrderCreateRequest request)
You can place two types of orders: limit and market.
|
MarginAccountResponse |
getMarginAccount()
Get Margin Account
Request via this endpoint to get the info of the margin account.
|
MarginConfigResponse |
getMarginConfig()
Get Margin Configuration Info
Request via this endpoint to get the configure info of the margin.
|
List<MarginPriceStrategyResponse> |
getMarginPriceStrategy(String marginModel)
Get Margin Price Strategy
Request via this endpoint to get the cross/isolated margin risk limit.
|
MarkPriceResponse |
getMarkPrice(String symbol)
Get Mark Price
Request via this endpoint to get the index price of the specified symbol.
|
MarkPriceResponse getMarkPrice(String symbol) throws IOException
Request via this endpoint to get the index price of the specified symbol.
symbol - IOExceptionMarginConfigResponse getMarginConfig() throws IOException
Request via this endpoint to get the configure info of the margin.
IOExceptionMarginAccountResponse getMarginAccount() throws IOException
Request via this endpoint to get the info of the margin account.
IOExceptionMarginOrderCreateResponse createMarginOrder(MarginOrderCreateRequest request) throws IOException
request - IOExceptionList<MarginPriceStrategyResponse> getMarginPriceStrategy(String marginModel) throws IOException
Request via this endpoint to get the cross/isolated margin risk limit.
marginModel - IOExceptionCopyright © 2023. All rights reserved.