feat(#339): add longshort ratio v5 method

This commit is contained in:
tiagosiebler
2024-05-07 13:15:46 +01:00
parent bd10bd9e63
commit d4ebc8227c
3 changed files with 23 additions and 1 deletions

View File

@@ -125,3 +125,10 @@ export interface GetDeliveryPriceParamsV5 {
limit?: number;
cursor?: string;
}
export interface GetLongShortRatioParamsV5 {
category: 'linear' | 'inverse';
symbol: string;
period: OpenInterestIntervalV5;
limit?: number;
}

View File

@@ -120,7 +120,7 @@ export interface SpotInstrumentInfoV5 {
riskParameters: {
limitParameter: string;
marketParameter: string;
}
};
}
type InstrumentInfoV5Mapping = {
@@ -290,3 +290,10 @@ export interface DeliveryPriceV5 {
deliveryPrice: string;
deliveryTime: string;
}
export interface LongShortRatioV5 {
symbol: string;
buyRatio: string;
sellRatio: string;
timestamp: string;
}