fix(): adjusted type definitions for instruments endpoint

This commit is contained in:
Allan Prado
2025-01-15 19:07:49 -03:00
parent dd559b156c
commit e199b07278

View File

@@ -75,6 +75,10 @@ export interface LinearInverseInstrumentInfoV5 {
copyTrading: CopyTradingV5; copyTrading: CopyTradingV5;
upperFundingRate: string; upperFundingRate: string;
lowerFundingRate: string; lowerFundingRate: string;
riskParameters: {
priceLimitRatioX: string;
priceLimitRatioY: string;
};
isPreListing: boolean; isPreListing: boolean;
preListingInfo: { preListingInfo: {
curAuctionPhase: string; curAuctionPhase: string;
@@ -97,7 +101,7 @@ export interface OptionInstrumentInfoV5 {
status: InstrumentStatusV5; status: InstrumentStatusV5;
baseCoin: string; baseCoin: string;
quoteCoin: string; quoteCoin: string;
settleCoin: boolean; settleCoin: string;
launchTime: string; launchTime: string;
deliveryTime: string; deliveryTime: string;
deliveryFeeRate: string; deliveryFeeRate: string;
@@ -120,6 +124,7 @@ export interface SpotInstrumentInfoV5 {
innovation: '0' | '1'; innovation: '0' | '1';
status: InstrumentStatusV5; status: InstrumentStatusV5;
marginTrading: MarginTradingV5; marginTrading: MarginTradingV5;
stTag: '0' | '1';
lotSizeFilter: { lotSizeFilter: {
basePrecision: string; basePrecision: string;
quotePrecision: string; quotePrecision: string;
@@ -132,8 +137,8 @@ export interface SpotInstrumentInfoV5 {
tickSize: string; tickSize: string;
}; };
riskParameters: { riskParameters: {
limitParameter: string; priceLimitRatioX: string;
marketParameter: string; priceLimitRatioY: string;
}; };
} }