|
Binance C++ Connector 2.0.0
Official C++ connectors for the Binance APIs
|
#include <market_data_api.hpp>
|
explicit |
|
nodiscard |
Cross margin collateral ratio (MARKET_DATA).
GET /sapi/v1/margin/crossMarginCollateralRatio.
Cross margin collateral ratio
Weight(IP): 100
Security Type: MARKET_DATA
|
inline |
Asynchronous cross_margin_collateral_ratio().
Completes with void(std::exception_ptr, common::RestApiResponse<std::vector<CrossMarginCollateralRatioResponseInner>>).
|
nodiscard |
Get All Cross Margin Pairs (MARKET_DATA).
GET /sapi/v1/margin/allPairs.
Get All Cross Margin Pairs
Weight(IP): 1
Security Type: MARKET_DATA
|
inline |
Asynchronous get_all_cross_margin_pairs().
Completes with void(std::exception_ptr, common::RestApiResponse<std::vector<GetAllCrossMarginPairsResponseInner>>).
|
nodiscard |
Get All Isolated Margin Symbol (MARKET_DATA).
GET /sapi/v1/margin/isolated/allPairs.
Get All Isolated Margin Symbol
Weight(IP): 10
Security Type: MARKET_DATA
|
inline |
Asynchronous get_all_isolated_margin_symbol().
Completes with void(std::exception_ptr, common::RestApiResponse<std::vector<GetAllIsolatedMarginSymbolResponseInner>>).
|
nodiscard |
Get All Margin Assets (MARKET_DATA).
GET /sapi/v1/margin/allAssets.
Get All Margin Assets.
Weight(IP): 1
Security Type: MARKET_DATA
|
inline |
Asynchronous get_all_margin_assets().
Completes with void(std::exception_ptr, common::RestApiResponse<std::vector<GetAllMarginAssetsResponseInner>>).
|
nodiscard |
Get Delist Schedule (MARKET_DATA).
GET /sapi/v1/margin/delist-schedule.
Get tokens or symbols delist schedule for cross margin and isolated margin
Weight(IP): 100
Security Type: MARKET_DATA
|
inline |
Asynchronous get_delist_schedule().
Completes with void(std::exception_ptr, common::RestApiResponse<std::vector<GetDelistScheduleResponseInner>>).
|
nodiscard |
Get Limit Price Pairs (MARKET_DATA).
GET /sapi/v1/margin/limit-price-pairs.
Query trading pairs with restriction on limit price range.
In margin trading, you can place orders with limit price. Limit price should be within (-15%, 15%) of current index price for a list of margin trading pairs. This rule only impacts limit sell orders with limit price that is lower than current index price and limit buy orders with limit price that is higher than current index price.
Please review the limit price order placing strategy, backtest and calibrate the planned order size with the trading volume and order book depth to prevent trading loss.
Weight(IP): 1
Security Type: MARKET_DATA
|
inline |
Asynchronous get_limit_price_pairs().
Completes with void(std::exception_ptr, common::RestApiResponse<GetLimitPricePairsResponse>).
|
nodiscard |
Get list Schedule (MARKET_DATA).
GET /sapi/v1/margin/list-schedule.
Get the upcoming tokens or symbols listing schedule for Cross Margin and Isolated Margin.
Weight(IP): 100
Security Type: MARKET_DATA
|
inline |
Asynchronous get_list_schedule().
Completes with void(std::exception_ptr, common::RestApiResponse<std::vector<GetListScheduleResponseInner>>).
|
nodiscard |
Get Margin Asset Risk-Based Liquidation Ratio (MARKET_DATA).
GET /sapi/v1/margin/risk-based-liquidation-ratio.
Get Margin Asset Risk-Based Liquidation Ratio
Weight(IP): 1
Security Type: MARKET_DATA
|
inline |
Asynchronous get_margin_asset_risk_based_liquidation_ratio().
Completes with void(std::exception_ptr, common::RestApiResponse<std::vector<GetMarginAssetRiskBasedLiquidationRatioResponseInner>>).
|
nodiscard |
Get Margin Restricted Assets (MARKET_DATA).
GET /sapi/v1/margin/restricted-asset.
Get the list of margin-restricted assets.
Weight(IP): 1
Security Type: MARKET_DATA
|
inline |
Asynchronous get_margin_restricted_assets().
Completes with void(std::exception_ptr, common::RestApiResponse<GetMarginRestrictedAssetsResponse>).
|
nodiscard |
Query Isolated Margin Tier Data (USER_DATA).
GET /sapi/v1/margin/isolatedMarginTier.
Get isolated margin tier data collection with any tier as https://www.binance.com/en/margin-data
Weight(IP): 1
Security Type: USER_DATA
|
inline |
Asynchronous query_isolated_margin_tier_data().
Completes with void(std::exception_ptr, common::RestApiResponse<std::vector<QueryIsolatedMarginTierDataResponseInner>>).
|
nodiscard |
Query Liability Coin Leverage Bracket in Cross Margin Pro Mode (MARKET_DATA).
GET /sapi/v1/margin/leverageBracket.
Liability Coin Leverage Bracket in Cross Margin Pro Mode
Weight(IP): 1
Security Type: MARKET_DATA
|
inline |
Asynchronous query_liability_coin_leverage_bracket_in_cross_margin_pro_mode().
Completes with void(std::exception_ptr, common::RestApiResponse<std::vector<QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponseInner>>).
|
nodiscard |
Query Margin Available Inventory (USER_DATA).
GET /sapi/v1/margin/available-inventory.
Margin available Inventory query
Weight(UID): 50
Security Type: USER_DATA
|
inline |
Asynchronous query_margin_available_inventory().
Completes with void(std::exception_ptr, common::RestApiResponse<QueryMarginAvailableInventoryResponse>).
|
nodiscard |
Query Margin PriceIndex (MARKET_DATA).
GET /sapi/v1/margin/priceIndex.
Query Margin PriceIndex
Weight(IP): 10
Security Type: MARKET_DATA
|
inline |
Asynchronous query_margin_priceindex().
Completes with void(std::exception_ptr, common::RestApiResponse<QueryMarginPriceindexResponse>).