feat(#339): add longshort ratio v5 method
This commit is contained in:
@@ -69,6 +69,7 @@ import {
|
||||
GetInternalDepositRecordParamsV5,
|
||||
GetInternalTransferParamsV5,
|
||||
GetKlineParamsV5,
|
||||
GetLongShortRatioParamsV5,
|
||||
GetMarkPriceKlineParamsV5,
|
||||
GetOpenInterestParamsV5,
|
||||
GetOptionDeliveryPriceParamsV5,
|
||||
@@ -94,6 +95,7 @@ import {
|
||||
InternalTransferRecordV5,
|
||||
LeverageTokenInfoV5,
|
||||
LeveragedTokenMarketResultV5,
|
||||
LongShortRatioV5,
|
||||
MMPModifyParamsV5,
|
||||
MMPStateV5,
|
||||
OHLCKlineV5,
|
||||
@@ -390,6 +392,12 @@ export class RestClientV5 extends BaseRestClient {
|
||||
return this.get('/v5/market/delivery-price', params);
|
||||
}
|
||||
|
||||
getLongShortRatio(
|
||||
params: GetLongShortRatioParamsV5,
|
||||
): Promise<APIResponseV3WithTime<{ list: LongShortRatioV5[] }>> {
|
||||
return this.get('/v5/market/account-ratio', params);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
****** Trade APIs
|
||||
|
||||
Reference in New Issue
Block a user