@tigeropenapi/tigeropen 0.4.9 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -407,16 +407,26 @@ export interface KlineQuota {
|
|
|
407
407
|
}
|
|
408
408
|
/** Option historical-volatility time series point. */
|
|
409
409
|
export interface OptionVolatilityPoint {
|
|
410
|
-
|
|
411
|
-
|
|
410
|
+
impliedVol?: number;
|
|
411
|
+
percentile?: number;
|
|
412
|
+
rank?: number;
|
|
413
|
+
hisVolatility?: number;
|
|
414
|
+
timestamp?: number;
|
|
415
|
+
}
|
|
416
|
+
/** Implied-volatility metric for a specific period. */
|
|
417
|
+
export interface ImpliedVolMetric {
|
|
418
|
+
period?: string;
|
|
419
|
+
percentile?: number;
|
|
420
|
+
rank?: number;
|
|
412
421
|
}
|
|
413
422
|
/** Option analysis (option_analysis). */
|
|
414
423
|
export interface OptionAnalysis {
|
|
415
424
|
symbol?: string;
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
425
|
+
impliedVol30Days?: number;
|
|
426
|
+
hisVolatility?: number;
|
|
427
|
+
ivHisVRatio?: number;
|
|
428
|
+
callPutRatio?: number;
|
|
429
|
+
impliedVolMetric?: ImpliedVolMetric;
|
|
420
430
|
volatilityList?: OptionVolatilityPoint[];
|
|
421
431
|
}
|
|
422
432
|
/** Option symbol listing (option_symbol). */
|
|
@@ -541,11 +551,14 @@ export interface MarketScannerTag {
|
|
|
541
551
|
name?: string;
|
|
542
552
|
values?: string[];
|
|
543
553
|
}
|
|
544
|
-
/** Market
|
|
545
|
-
export interface
|
|
546
|
-
|
|
547
|
-
|
|
554
|
+
/** Market-scanner tag group (one entry per market). wire: market_scanner_tags returns array of these. */
|
|
555
|
+
export interface MarketScannerTagGroup {
|
|
556
|
+
market?: string;
|
|
557
|
+
multiTagField?: string;
|
|
558
|
+
tagList?: MarketScannerTag[];
|
|
548
559
|
}
|
|
560
|
+
/** @deprecated Use MarketScannerTagGroup[] instead. Kept for backwards compatibility. */
|
|
561
|
+
export type MarketScannerTags = MarketScannerTagGroup;
|
|
549
562
|
/** Fund contract info (fund_contracts). */
|
|
550
563
|
export interface FundContractInfo {
|
|
551
564
|
symbol?: string;
|
|
@@ -203,7 +203,8 @@ export interface SegmentFundHistoryItem {
|
|
|
203
203
|
updatedAt?: number;
|
|
204
204
|
}
|
|
205
205
|
export interface FundDetails {
|
|
206
|
-
|
|
206
|
+
/** int64 fund-detail ID — server may return as string (e.g. "4733519770"). */
|
|
207
|
+
id?: string | number;
|
|
207
208
|
account?: string;
|
|
208
209
|
segType?: string;
|
|
209
210
|
fundType?: string;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { HttpClient } from '../client/http-client';
|
|
9
9
|
import type { ClientConfig } from '../config/client-config';
|
|
10
|
-
import type { MarketState, Brief, Kline, KlineItem, Timeline, TradeTick, Depth, OptionExpiration, OptionChain, FutureExchange, FutureContractInfo, FutureQuote, FutureKline, FutureKlineItem, FinancialDailyItem, FinancialReportItem, CorporateAction, CapitalFlow, CapitalDistribution, ScannerResult, QuotePermission, MarketScannerRequest, SymbolName, TradeMeta, StockDetail, StockBroker, StockIndustry, TradeRankItem, ShortInterest, KlineQuota, OptionAnalysis, OptionSymbol, FutureMainContractHistory, FutureTradingTime, FutureTradeTickItem, FutureDepth, WarrantBrief, WarrantFilterResult, IndustryItem, IndustryStock, TradingCalendarItem, ExchangeRate, FinancialCurrency, QuoteOvernight,
|
|
10
|
+
import type { MarketState, Brief, Kline, KlineItem, Timeline, TradeTick, Depth, OptionExpiration, OptionChain, FutureExchange, FutureContractInfo, FutureQuote, FutureKline, FutureKlineItem, FinancialDailyItem, FinancialReportItem, CorporateAction, CapitalFlow, CapitalDistribution, ScannerResult, QuotePermission, MarketScannerRequest, SymbolName, TradeMeta, StockDetail, StockBroker, StockIndustry, TradeRankItem, ShortInterest, KlineQuota, OptionAnalysis, OptionSymbol, FutureMainContractHistory, FutureTradingTime, FutureTradeTickItem, FutureDepth, WarrantBrief, WarrantFilterResult, IndustryItem, IndustryStock, TradingCalendarItem, ExchangeRate, FinancialCurrency, QuoteOvernight, MarketScannerTagGroup, FundContractInfo, FundQuote, FundHistoryQuote, FinancialDailyRequest, FinancialReportRequest, CorporateActionRequest } from '../model/quote';
|
|
11
11
|
import type { BriefRequest, DepthQuoteRequest, TradeTickRequest, FutureBriefRequest, SymbolsRequest, TradeMetasRequest, StockDetailsRequest, StockDelayBriefsRequest, KlineRequest, KlineByPageRequest, TimelineHistoryRequest, TradeRankRequest, ShortInterestRequest, StockBrokerRequest, StockFundamentalRequest, StockIndustryRequest, KlineQuotaRequest, QuotePermissionRequest, OptionTradeTicksRequest, OptionTimelineRequest, OptionDepthRequest, OptionSymbolsRequest, OptionAnalysisRequest, FutureContractSingleRequest, AllFutureContractsRequest, FutureContinuousContractsRequest, FutureHistoryMainContractRequest, FutureKlineRequest, FutureKlineByPageRequest, FutureTradeTicksRequest, FutureDepthRequest, FutureTradingTimesRequest, FundSymbolsRequest, FundContractsRequest, FundQuoteRequest, FundHistoryQuoteRequest, WarrantBriefsRequest, WarrantFilterRequest, IndustryListRequest, IndustryStocksRequest, TradingCalendarRequest, FinancialExchangeRateRequest, FinancialCurrencyRequest, MarketScannerTagsRequest, QuoteOvernightRequest } from '../model/quote-requests';
|
|
12
12
|
/**
|
|
13
13
|
* Parse an OCC-style option identifier like "AAPL 260619C00150000"
|
|
@@ -180,7 +180,7 @@ export declare class QuoteClient {
|
|
|
180
180
|
/** Trading calendar. wire: trading_calendar */
|
|
181
181
|
getTradingCalendar(req: TradingCalendarRequest): Promise<TradingCalendarItem[]>;
|
|
182
182
|
/** Available market-scanner tags. wire: market_scanner_tags */
|
|
183
|
-
getMarketScannerTags(req: MarketScannerTagsRequest): Promise<
|
|
183
|
+
getMarketScannerTags(req: MarketScannerTagsRequest): Promise<MarketScannerTagGroup[]>;
|
|
184
184
|
/** Overnight quote. wire: quote_overnight */
|
|
185
185
|
getQuoteOvernight(req: QuoteOvernightRequest): Promise<QuoteOvernight[]>;
|
|
186
186
|
}
|
package/package.json
CHANGED