@muhammedaksam/borsats 0.10.2 → 0.11.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.
package/dist/index.d.cts CHANGED
@@ -3,7 +3,7 @@ import { EventEmitter } from 'events';
3
3
 
4
4
  type Period = "1d" | "5d" | "1w" | "1mo" | "3mo" | "6mo" | "1y" | "2y" | "5y" | "10y" | "ytd" | "max" | "1g" | "5g" | "1ay" | "3ay" | "1h" | "3h";
5
5
  type Interval = "1m" | "3m" | "5m" | "15m" | "30m" | "45m" | "1h" | "4h" | "1d" | "1w" | "1mo";
6
- type FundType = "YAT" | "EMK";
6
+ type FundType = "YAT" | "EMK" | "BYF";
7
7
  interface OHLCVData {
8
8
  date: Date;
9
9
  open: number;
@@ -218,6 +218,7 @@ declare abstract class BaseProvider {
218
218
  private enforceRateLimit;
219
219
  private getCacheKey;
220
220
  clearCache(): void;
221
+ close(): void;
221
222
  }
222
223
 
223
224
  interface CapitalIncreaseData {
@@ -284,15 +285,16 @@ declare class TradingViewScannerProvider extends BaseProvider {
284
285
  }
285
286
  declare function getScannerProvider(): TradingViewScannerProvider;
286
287
 
287
- declare function calculateSMA(data: OHLCVData[], period?: number): number[];
288
- declare function calculateEMA(data: OHLCVData[], period?: number): number[];
289
- declare function calculateRSI(data: OHLCVData[], period?: number): number[];
290
- declare function calculateMACD(data: OHLCVData[], fast?: number, slow?: number, signal?: number): Array<{
288
+ type OHLCVColumn = "open" | "high" | "low" | "close";
289
+ declare function calculateSMA(data: OHLCVData[], period?: number, column?: OHLCVColumn): number[];
290
+ declare function calculateEMA(data: OHLCVData[], period?: number, column?: OHLCVColumn): number[];
291
+ declare function calculateRSI(data: OHLCVData[], period?: number, column?: OHLCVColumn): number[];
292
+ declare function calculateMACD(data: OHLCVData[], fast?: number, slow?: number, signal?: number, column?: OHLCVColumn): Array<{
291
293
  macd: number;
292
294
  signal: number;
293
295
  histogram: number;
294
296
  }>;
295
- declare function calculateBollingerBands(data: OHLCVData[], period?: number, stdDev?: number): Array<{
297
+ declare function calculateBollingerBands(data: OHLCVData[], period?: number, stdDev?: number, column?: OHLCVColumn): Array<{
296
298
  upper: number;
297
299
  middle: number;
298
300
  lower: number;
@@ -311,14 +313,14 @@ declare function calculateSupertrend(data: OHLCVData[], atrPeriod?: number, mult
311
313
  upper: number;
312
314
  lower: number;
313
315
  }>;
314
- declare function calculateTilsonT3(data: OHLCVData[], period?: number, vfactor?: number): number[];
316
+ declare function calculateTilsonT3(data: OHLCVData[], period?: number, vfactor?: number, column?: OHLCVColumn): number[];
315
317
  declare function calculateHHV(data: OHLCVData[], period?: number, column?: "high" | "low" | "close" | "open"): number[];
316
318
  declare function calculateLLV(data: OHLCVData[], period?: number, column?: "high" | "low" | "close" | "open"): number[];
317
- declare function calculateMOM(data: OHLCVData[], period?: number): number[];
318
- declare function calculateROC(data: OHLCVData[], period?: number): number[];
319
- declare function calculateWMA(data: OHLCVData[], period?: number): number[];
320
- declare function calculateDEMA(data: OHLCVData[], period?: number): number[];
321
- declare function calculateTEMA(data: OHLCVData[], period?: number): number[];
319
+ declare function calculateMOM(data: OHLCVData[], period?: number, column?: OHLCVColumn): number[];
320
+ declare function calculateROC(data: OHLCVData[], period?: number, column?: OHLCVColumn): number[];
321
+ declare function calculateWMA(data: OHLCVData[], period?: number, column?: OHLCVColumn): number[];
322
+ declare function calculateDEMA(data: OHLCVData[], period?: number, column?: OHLCVColumn): number[];
323
+ declare function calculateTEMA(data: OHLCVData[], period?: number, column?: OHLCVColumn): number[];
322
324
  declare function calculateCCI(data: OHLCVData[], period?: number): number[];
323
325
  declare function calculateWilliamsR(data: OHLCVData[], period?: number): number[];
324
326
  declare function calculatePivotPoints(data: OHLCVData[]): Array<{
@@ -365,6 +367,7 @@ declare class TechnicalAnalyzer {
365
367
  private data;
366
368
  constructor(data: OHLCVData[]);
367
369
  heikinAshi(): OHLCVData[];
370
+ all(options?: AddIndicatorsOptions): IndicatorData[];
368
371
  get latest(): Record<string, number>;
369
372
  rsi(period?: number): number[];
370
373
  sma(period?: number): number[];
@@ -420,6 +423,104 @@ declare class TechnicalAnalyzer {
420
423
  chikou: number;
421
424
  }>;
422
425
  }
426
+ declare abstract class TechnicalMixin {
427
+ protected abstract _getTechnicalHistory(period?: Period, interval?: Interval): Promise<OHLCVData[]>;
428
+ technicals(period?: Period, interval?: Interval): Promise<TechnicalAnalyzer>;
429
+ historyWithIndicators(period?: Period, options?: AddIndicatorsOptions & {
430
+ interval?: Interval;
431
+ }): Promise<IndicatorData[]>;
432
+ rsi(period?: Period, rsiPeriod?: number): Promise<number>;
433
+ sma(period?: Period, smaPeriod?: number): Promise<number>;
434
+ ema(period?: Period, emaPeriod?: number): Promise<number>;
435
+ tilsonT3(period?: Period, t3Period?: number, vfactor?: number): Promise<number>;
436
+ macd(period?: Period, fast?: number, slow?: number, signal?: number): Promise<{
437
+ macd: number;
438
+ signal: number;
439
+ histogram: number;
440
+ }>;
441
+ bollingerBands(period?: Period, bbPeriod?: number, stdDev?: number): Promise<{
442
+ upper: number;
443
+ middle: number;
444
+ lower: number;
445
+ }>;
446
+ atr(period?: Period, atrPeriod?: number): Promise<number>;
447
+ stochastic(period?: Period, kPeriod?: number, dPeriod?: number): Promise<{
448
+ k: number;
449
+ d: number;
450
+ }>;
451
+ obv(period?: Period): Promise<number>;
452
+ vwap(period?: Period): Promise<number>;
453
+ adx(period?: Period, adxPeriod?: number): Promise<number>;
454
+ supertrend(period?: Period, atrPeriod?: number, multiplier?: number): Promise<{
455
+ supertrend: number;
456
+ direction: number;
457
+ upper: number;
458
+ lower: number;
459
+ }>;
460
+ hhv(period?: Period, hhvPeriod?: number, column?: OHLCVColumn): Promise<number>;
461
+ llv(period?: Period, llvPeriod?: number, column?: OHLCVColumn): Promise<number>;
462
+ mom(period?: Period, momPeriod?: number): Promise<number>;
463
+ roc(period?: Period, rocPeriod?: number): Promise<number>;
464
+ wma(period?: Period, wmaPeriod?: number): Promise<number>;
465
+ dema(period?: Period, demaPeriod?: number): Promise<number>;
466
+ tema(period?: Period, temaPeriod?: number): Promise<number>;
467
+ heikinAshi(period?: Period, interval?: Interval): Promise<OHLCVData[]>;
468
+ }
469
+
470
+ interface TwitterAuthOptions {
471
+ authToken?: string;
472
+ ct0?: string;
473
+ cookies?: Record<string, string>;
474
+ cookiesFile?: string;
475
+ }
476
+ interface TwitterCredentials {
477
+ cookies?: Record<string, string>;
478
+ cookiesFile?: string;
479
+ }
480
+ interface TwitterSearchOptions {
481
+ period?: string;
482
+ since?: string;
483
+ until?: string;
484
+ lang?: string;
485
+ limit?: number;
486
+ product?: "Latest" | "Top";
487
+ queryId?: string;
488
+ }
489
+ interface Tweet {
490
+ tweet_id: string;
491
+ created_at: Date | null;
492
+ text: string;
493
+ author_handle: string;
494
+ author_name: string;
495
+ likes: number;
496
+ retweets: number;
497
+ replies: number;
498
+ views: number;
499
+ quotes: number;
500
+ bookmarks: number;
501
+ author_followers: number;
502
+ author_verified: boolean;
503
+ lang: string;
504
+ url: string;
505
+ }
506
+ declare const TWEET_COLUMNS: readonly ["tweet_id", "created_at", "text", "author_handle", "author_name", "likes", "retweets", "replies", "views", "quotes", "bookmarks", "author_followers", "author_verified", "lang", "url"];
507
+ declare const TWITTER_PERIOD_DAYS: Record<string, number>;
508
+ declare function setTwitterAuth(options: TwitterAuthOptions): void;
509
+ declare function clearTwitterAuth(): void;
510
+ declare function getTwitterAuth(): TwitterCredentials | null;
511
+ declare class TwitterProvider extends BaseProvider {
512
+ constructor();
513
+ searchTweets(query: string, options?: TwitterSearchOptions): Promise<Tweet[]>;
514
+ }
515
+ declare function getTwitterProvider(): TwitterProvider;
516
+
517
+ declare const FX_QUERY_MAP: Record<string, string>;
518
+ declare const CRYPTO_QUERY_MAP: Record<string, string>;
519
+ declare function buildStockQuery(symbol: string): Promise<string>;
520
+ declare function buildFundQuery(code: string, name?: string | null): string;
521
+ declare function buildFxQuery(asset: string): string;
522
+ declare function buildCryptoQuery(pair: string): string;
523
+ declare function searchTweets(query: string, options?: TwitterSearchOptions): Promise<Tweet[]>;
423
524
 
424
525
  declare function computeAdjClose(closePrices: number[], closeDates: Date[], dividends: DividendData[]): number[];
425
526
  type OHLCVWithActions = OHLCVData & {
@@ -457,26 +558,32 @@ declare class FastInfo {
457
558
  get(key: string): Promise<unknown>;
458
559
  get currency(): Promise<string>;
459
560
  get exchange(): Promise<string>;
561
+ get timezone(): Promise<string>;
460
562
  get lastPrice(): Promise<number>;
461
563
  get previousClose(): Promise<number>;
462
564
  get open(): Promise<number>;
463
565
  get dayHigh(): Promise<number>;
464
566
  get dayLow(): Promise<number>;
465
567
  get volume(): Promise<number>;
568
+ get amount(): Promise<number | undefined>;
466
569
  get marketCap(): Promise<number | undefined>;
570
+ get shares(): Promise<number | undefined>;
467
571
  get peRatio(): Promise<number | undefined>;
468
572
  get pbRatio(): Promise<number | undefined>;
469
573
  get fiftyDayAverage(): Promise<number | undefined>;
470
574
  get twoHundredDayAverage(): Promise<number | undefined>;
471
575
  get yearHigh(): Promise<number | undefined>;
472
576
  get yearLow(): Promise<number | undefined>;
577
+ get freeFloat(): Promise<number | undefined>;
578
+ get foreignRatio(): Promise<number | undefined>;
473
579
  keys(): string[];
474
580
  todict(): Promise<Record<string, unknown>>;
475
581
  }
476
- declare class Ticker {
582
+ declare class Ticker extends TechnicalMixin {
477
583
  readonly symbol: string;
478
584
  private _fastInfo;
479
585
  constructor(symbol: string);
586
+ protected _getTechnicalHistory(period?: Period, interval?: Interval): Promise<OHLCVData[]>;
480
587
  get fastInfo(): FastInfo;
481
588
  info(): Promise<EnrichedInfo>;
482
589
  history(options?: {
@@ -517,41 +624,21 @@ declare class Ticker {
517
624
  get etfHolders(): Promise<ETFHolder[]>;
518
625
  get news(): Promise<NewsItem[]>;
519
626
  get priceTarget(): Promise<PriceTarget | null>;
627
+ get analystPriceTargets(): Promise<PriceTarget | null>;
628
+ get recommendations(): Promise<{
629
+ recommendation: string | null;
630
+ target_price: number | null;
631
+ upside_potential: number | null;
632
+ }>;
633
+ tweets(options?: TwitterSearchOptions & {
634
+ query?: string;
635
+ }): Promise<Tweet[]>;
520
636
  get isin(): Promise<string>;
521
637
  technicals(period?: Period, interval?: Interval): Promise<TechnicalAnalyzer>;
522
638
  taSignals(interval?: Interval): Promise<TASignals>;
523
639
  taSignalsAllTimeframes(): Promise<Record<string, TASignals | {
524
640
  error: string;
525
641
  }>>;
526
- rsi(period?: Period, rsiPeriod?: number): Promise<number>;
527
- sma(period?: Period, smaPeriod?: number): Promise<number>;
528
- ema(period?: Period, emaPeriod?: number): Promise<number>;
529
- macd(period?: Period, fast?: number, slow?: number, signal?: number): Promise<{
530
- macd: number;
531
- signal: number;
532
- histogram: number;
533
- }>;
534
- bollingerBands(period?: Period, bbPeriod?: number, stdDev?: number): Promise<{
535
- upper: number;
536
- middle: number;
537
- lower: number;
538
- }>;
539
- atr(period?: Period, atrPeriod?: number): Promise<number>;
540
- stochastic(period?: Period, kPeriod?: number, dPeriod?: number): Promise<{
541
- k: number;
542
- d: number;
543
- }>;
544
- obv(period?: Period): Promise<number>;
545
- vwap(period?: Period): Promise<number>;
546
- adx(period?: Period, adxPeriod?: number): Promise<number>;
547
- hhv(period?: Period, hhvPeriod?: number): Promise<number>;
548
- llv(period?: Period, llvPeriod?: number): Promise<number>;
549
- mom(period?: Period, momPeriod?: number): Promise<number>;
550
- roc(period?: Period, rocPeriod?: number): Promise<number>;
551
- wma(period?: Period, wmaPeriod?: number): Promise<number>;
552
- dema(period?: Period, demaPeriod?: number): Promise<number>;
553
- tema(period?: Period, temaPeriod?: number): Promise<number>;
554
- heikinAshi(period?: Period, interval?: Interval): Promise<OHLCVData[]>;
555
642
  private calculateStartDate;
556
643
  private daysYTD;
557
644
  get actions(): Promise<Array<{
@@ -587,6 +674,8 @@ declare class Ticker {
587
674
  }>>;
588
675
  }
589
676
 
677
+ declare const ASSET_TYPE_LABELS: Record<string, string>;
678
+ declare const ASSET_NAME_STANDARDIZATION: Record<string, string>;
590
679
  interface FundDetail {
591
680
  fund_code: string;
592
681
  name: string;
@@ -597,6 +686,7 @@ interface FundDetail {
597
686
  founder?: string;
598
687
  manager?: string;
599
688
  fund_type: string;
689
+ fund_class?: FundType;
600
690
  category: string;
601
691
  risk_value: number;
602
692
  return_1m?: number;
@@ -613,14 +703,21 @@ interface FundDetail {
613
703
  market_share?: number;
614
704
  isin?: string;
615
705
  last_trading_time?: string;
616
- min_purchase?: string;
617
- min_redemption?: string;
706
+ first_trading_time?: string;
707
+ min_purchase?: string | number;
708
+ min_redemption?: string | number;
709
+ max_purchase?: string | number;
710
+ max_redemption?: string | number;
711
+ buy_valor?: number;
712
+ sell_valor?: number;
618
713
  entry_fee?: number;
619
714
  exit_fee?: number;
620
715
  kap_link?: string;
716
+ tefas_status?: string;
621
717
  allocation?: Array<{
622
- asset_type: string;
623
- asset_name: string;
718
+ code?: string;
719
+ asset_type: string | null;
720
+ asset_name: string | null;
624
721
  weight: number;
625
722
  }>;
626
723
  }
@@ -632,10 +729,23 @@ interface FundHistoryItem {
632
729
  }
633
730
  interface AllocationItem {
634
731
  date: Date;
635
- asset_type: string;
636
- asset_name: string;
732
+ code: string;
733
+ asset_type: string | null;
734
+ asset_name: string | null;
637
735
  weight: number;
638
736
  }
737
+ interface ScreenFundsOptions {
738
+ fundType?: FundType;
739
+ founder?: string;
740
+ minReturn1m?: number;
741
+ minReturn3m?: number;
742
+ minReturn6m?: number;
743
+ minReturnYtd?: number;
744
+ minReturn1y?: number;
745
+ minReturn3y?: number;
746
+ minReturn5y?: number;
747
+ limit?: number;
748
+ }
639
749
  interface ScreenFundResult {
640
750
  fund_code: string;
641
751
  name: string;
@@ -649,6 +759,59 @@ interface ScreenFundResult {
649
759
  return_5y?: number;
650
760
  }
651
761
 
762
+ declare const PORTFOLIO_REPORT_DISCLOSURE_TYPE = "8aca490d502e34b801502e380044002b";
763
+ declare const OPENROUTER_MODEL = "google/gemini-3-flash-preview";
764
+ interface FundHolding {
765
+ symbol: string;
766
+ isin: string | null;
767
+ name: string;
768
+ weight: number;
769
+ holding_type: string;
770
+ country: string | null;
771
+ nominal_value: number | null;
772
+ market_value: number | null;
773
+ }
774
+ interface FundHoldingRow {
775
+ symbol: string;
776
+ isin: string | null;
777
+ name: string;
778
+ weight: number;
779
+ type: string;
780
+ country: string | null;
781
+ value: number | null;
782
+ }
783
+ interface KAPFundDisclosure {
784
+ disclosure_id?: string | number;
785
+ disclosure_index?: number;
786
+ publish_date?: string;
787
+ title?: string;
788
+ summary?: string;
789
+ year?: number;
790
+ period?: number;
791
+ attachment_count: number;
792
+ }
793
+ declare class KAPHoldingsProvider extends BaseProvider {
794
+ static readonly DISCLOSURE_FILTER_URL = "https://kap.org.tr/tr/api/disclosure/filter/FILTERYFBF";
795
+ static readonly DISCLOSURE_PAGE_URL = "https://kap.org.tr/tr/Bildirim";
796
+ static readonly FILE_DOWNLOAD_URL = "https://kap.org.tr/tr/api/file/download";
797
+ static readonly FUND_INFO_URL = "https://www.kap.org.tr/tr/fon-bilgileri/genel";
798
+ static readonly OPENROUTER_URL = "https://openrouter.ai/api/v1/chat/completions";
799
+ private _fundIdCache;
800
+ private _holdingsCache;
801
+ constructor();
802
+ getFundId(fundCode: string): Promise<string | null>;
803
+ getDisclosures(fundCode: string, days?: number): Promise<KAPFundDisclosure[]>;
804
+ getLatestDisclosure(fundCode: string): Promise<KAPFundDisclosure | null>;
805
+ _getFileId(disclosureIndex: number): Promise<string | null>;
806
+ _downloadPdf(fileId: string): Promise<Buffer | null>;
807
+ _parseLlmResponseText(responseText: string): FundHolding[];
808
+ _parseHoldingsWithLlm(pdfData: Buffer, apiKey: string, model?: string): Promise<FundHolding[]>;
809
+ _deduplicateHoldings(holdings: FundHolding[]): FundHolding[];
810
+ getHoldings(fundCode: string, apiKey: string, period?: string): Promise<FundHolding[]>;
811
+ getHoldingsTable(fundCode: string, apiKey: string, period?: string): Promise<FundHoldingRow[]>;
812
+ }
813
+ declare function getKAPHoldingsProvider(): KAPHoldingsProvider;
814
+
652
815
  interface FundRiskMetrics {
653
816
  annualizedReturn: number;
654
817
  annualizedVolatility: number;
@@ -658,12 +821,17 @@ interface FundRiskMetrics {
658
821
  riskFreeRate: number;
659
822
  tradingDays: number;
660
823
  }
661
- declare class Fund {
824
+ declare class Fund extends TechnicalMixin {
662
825
  private _fundCode;
663
826
  private _infoCache;
664
827
  private _fundType;
665
828
  private _detectedFundType;
666
829
  constructor(fundCode: string, fundType?: FundType | null);
830
+ protected _getTechnicalHistory(period?: Period): Promise<OHLCVData[]>;
831
+ getHoldings(apiKey: string, period?: string): Promise<FundHolding[]>;
832
+ tweets(options?: TwitterSearchOptions & {
833
+ query?: string;
834
+ }): Promise<Tweet[]>;
667
835
  get fundCode(): string;
668
836
  get symbol(): string;
669
837
  get fundType(): Promise<FundType>;
@@ -689,11 +857,12 @@ declare class Fund {
689
857
  applied_fee: number | null;
690
858
  prospectus_fee: number | null;
691
859
  max_expense_ratio: number | null;
860
+ annual_return: number | null;
692
861
  } | null>;
693
- get taxCategory(): Promise<string>;
694
- withholdingTaxRate(purchaseDate?: Date, holdingDays?: number): Promise<number>;
862
+ get taxCategory(): Promise<string | null>;
863
+ withholdingTaxRate(purchaseDate?: Date | string, holdingDays?: number): Promise<number | null>;
695
864
  }
696
- declare function searchFunds(query: string): Promise<{
865
+ declare function searchFunds(query: string, limit?: number): Promise<{
697
866
  fund_code: string;
698
867
  name: string;
699
868
  fund_type: string;
@@ -709,11 +878,15 @@ declare function managementFees(fundType?: "YAT" | "EMK", founder?: string): Pro
709
878
  max_expense_ratio: number | null;
710
879
  annual_return: number | null;
711
880
  }[]>;
712
- declare function screenFunds(options: Record<string, unknown>): Promise<ScreenFundResult[]>;
881
+ declare function screenFunds(options?: ScreenFundsOptions | Record<string, unknown>): Promise<ScreenFundResult[]>;
713
882
  declare function compareFunds(fundCodes: string[]): Promise<{
714
883
  funds: FundDetail[];
715
884
  rankings: Record<string, string[]>;
716
- summary: Record<string, string | number>;
885
+ summary: Record<string, string | number | null>;
886
+ errors?: Array<{
887
+ fund_code: string;
888
+ error: string;
889
+ }>;
717
890
  }>;
718
891
 
719
892
  declare class Screener {
@@ -824,31 +997,44 @@ declare class Bond {
824
997
  declare function bonds(): Promise<BondData[]>;
825
998
  declare function riskFreeRate(): Promise<number | null>;
826
999
 
827
- declare class Crypto {
1000
+ declare class Crypto extends TechnicalMixin {
828
1001
  private _pair;
829
1002
  private _currentCache;
830
1003
  constructor(pair: string);
1004
+ protected _getTechnicalHistory(period?: Period, interval?: Interval): Promise<OHLCVData[]>;
1005
+ tweets(options?: TwitterSearchOptions & {
1006
+ query?: string;
1007
+ }): Promise<Tweet[]>;
831
1008
  get pair(): string;
832
1009
  get symbol(): string;
833
1010
  private get _btcturk();
834
1011
  get current(): Promise<CurrentData>;
1012
+ get info(): Promise<CurrentData>;
835
1013
  history(options?: {
1014
+ period?: string;
836
1015
  interval?: string;
837
1016
  start?: Date | string;
838
1017
  end?: Date | string;
839
1018
  }): Promise<OHLCVData[]>;
840
- technicals(interval?: string): Promise<TechnicalAnalyzer>;
1019
+ technicals(periodOrInterval?: Period | Interval, interval?: Interval): Promise<TechnicalAnalyzer>;
841
1020
  taSignals(interval?: Interval): Promise<TASignals>;
842
1021
  taSignalsAllTimeframes(): Promise<Record<string, TASignals | {
843
1022
  error: string;
844
1023
  }>>;
845
1024
  }
846
- declare function cryptoList(): Promise<string[]>;
1025
+ declare function cryptoPairs(quote?: string): Promise<string[]>;
1026
+ declare function cryptoList(quote?: string): Promise<string[]>;
847
1027
 
848
- declare class FX {
1028
+ declare class FX extends TechnicalMixin {
849
1029
  private _asset;
850
1030
  private _currentCache;
851
1031
  constructor(asset: string);
1032
+ static banks(): string[];
1033
+ static metalInstitutions(): string[];
1034
+ protected _getTechnicalHistory(period?: Period, interval?: Interval): Promise<OHLCVData[]>;
1035
+ tweets(options?: TwitterSearchOptions & {
1036
+ query?: string;
1037
+ }): Promise<Tweet[]>;
852
1038
  get asset(): string;
853
1039
  get symbol(): string;
854
1040
  private get _canlidoviz();
@@ -857,8 +1043,10 @@ declare class FX {
857
1043
  private isCanliDovizSupported;
858
1044
  private getTradingViewSymbol;
859
1045
  get current(): Promise<CurrentData>;
1046
+ private _currentFromBankRates;
860
1047
  get info(): Promise<CurrentData>;
861
1048
  get bankRates(): Promise<BankRate[]>;
1049
+ bankRate(bank: string): Promise<BankRate>;
862
1050
  institutionRates(): Promise<MetalInstitutionRate[]>;
863
1051
  institutionRate(institution: string): Promise<MetalInstitutionRate>;
864
1052
  institutionHistory(institution: string, options?: {
@@ -888,10 +1076,36 @@ interface CompanyInfo {
888
1076
  declare function companies(): Promise<CompanyInfo[]>;
889
1077
  declare function searchCompanies(query: string): Promise<CompanyInfo[]>;
890
1078
 
891
- declare class Portfolio {
892
- private holdings;
1079
+ declare class Tickers {
1080
+ readonly symbols: string[];
1081
+ readonly tickers: Record<string, Ticker>;
1082
+ constructor(symbols: string | string[]);
1083
+ history(options?: {
1084
+ period?: Period;
1085
+ interval?: Interval;
1086
+ start?: Date | string;
1087
+ end?: Date | string;
1088
+ groupBy?: "ticker" | "column";
1089
+ progress?: boolean;
1090
+ onProgress?: (progress: number) => void;
1091
+ }): Promise<Record<string, OHLCVData[]>>;
1092
+ }
1093
+ declare function download(tickers: string | string[], options?: {
1094
+ period?: Period;
1095
+ interval?: Interval;
1096
+ start?: Date | string;
1097
+ end?: Date | string;
1098
+ groupBy?: "ticker" | "column";
1099
+ progress?: boolean;
1100
+ onProgress?: (progress: number) => void;
1101
+ }): Promise<Record<string, OHLCVData[]>>;
1102
+
1103
+ declare class Portfolio extends TechnicalMixin {
1104
+ private _holdings;
893
1105
  private benchmark;
894
- private targetWeights;
1106
+ private _targetWeights;
1107
+ constructor(benchmark?: string);
1108
+ protected _getTechnicalHistory(period?: Period): Promise<OHLCVData[]>;
895
1109
  add(symbol: string, options: {
896
1110
  shares: number;
897
1111
  cost?: number;
@@ -928,6 +1142,7 @@ declare class Portfolio {
928
1142
  clear(): Portfolio;
929
1143
  private detectAssetType;
930
1144
  get symbols(): string[];
1145
+ get holdings(): ReturnType<Portfolio["holdingsDetail"]>;
931
1146
  holdingsDetail(): Promise<Array<{
932
1147
  symbol: string;
933
1148
  assetType: string;
@@ -938,7 +1153,9 @@ declare class Portfolio {
938
1153
  weight: number;
939
1154
  pnl: number;
940
1155
  pnlPct: number;
1156
+ holdingDays?: number | null;
941
1157
  }>>;
1158
+ private _fetchAssetHistory;
942
1159
  history(period?: string): Promise<Array<{
943
1160
  date: Date;
944
1161
  value: number;
@@ -957,6 +1174,8 @@ declare class Portfolio {
957
1174
  sharpeRatio: number;
958
1175
  sortinoRatio: number;
959
1176
  maxDrawdown: number;
1177
+ beta: number;
1178
+ alpha: number;
960
1179
  riskFreeRate: number;
961
1180
  tradingDays: number;
962
1181
  }>;
@@ -965,6 +1184,7 @@ declare class Portfolio {
965
1184
  beta(benchmarkSymbol?: string, period?: string): Promise<number>;
966
1185
  correlationMatrix(period?: string): Promise<Record<string, Record<string, number>>>;
967
1186
  setTargetWeights(weights: Record<string, number>): Portfolio;
1187
+ get targetWeights(): Record<string, number>;
968
1188
  getTargetWeights(): Record<string, number>;
969
1189
  drift(): Promise<Array<{
970
1190
  symbol: string;
@@ -992,9 +1212,11 @@ declare class Portfolio {
992
1212
  }>;
993
1213
  executed: boolean;
994
1214
  }>;
1215
+ private getAssetPrice;
995
1216
  }
996
1217
 
997
1218
  declare function calculateHeikinAshi(data: OHLCVData[] | null): OHLCVData[];
1219
+ declare const calculateHeikinAshiVectorized: typeof calculateHeikinAshi;
998
1220
 
999
1221
  declare const STANDARD_INDICATORS: Record<string, string>;
1000
1222
  declare const INDICATOR_OUTPUTS: Record<string, Record<string, string>>;
@@ -1012,11 +1234,13 @@ declare class PineFacadeProvider extends BaseProvider {
1012
1234
  constructor();
1013
1235
  getIndicator(indicatorId: string, version?: string, session?: string, signature?: string): Promise<IndicatorMetadata>;
1014
1236
  getOutputMapping(indicatorId: string): Record<string, string>;
1237
+ clearIndicatorCache(): void;
1015
1238
  private _normalizeIndicatorId;
1016
1239
  private _needsAuth;
1017
1240
  private _parseIndicatorResponse;
1018
1241
  }
1019
1242
  declare function getPineFacadeProvider(): PineFacadeProvider;
1243
+ declare function clearIndicatorCache(): void;
1020
1244
 
1021
1245
  interface SearchResult {
1022
1246
  symbol: string;
@@ -1053,6 +1277,7 @@ declare class TradingViewSearchProvider extends BaseProvider {
1053
1277
  searchCrypto(query: string, limit?: number): Promise<SearchResult[]>;
1054
1278
  searchForex(query: string, limit?: number): Promise<SearchResult[]>;
1055
1279
  searchViop(query: string, limit?: number): Promise<SearchResult[]>;
1280
+ getSymbols(symbols: string[]): Promise<Record<string, SearchResult | null>>;
1056
1281
  static readonly VIOP_MONTH_CODES: Record<string, string>;
1057
1282
  static monthCodeToName(code: string): string;
1058
1283
  getVIOPContracts(baseSymbol: string): Promise<VIOPContract$1[]>;
@@ -1060,6 +1285,22 @@ declare class TradingViewSearchProvider extends BaseProvider {
1060
1285
  private _parseResults;
1061
1286
  }
1062
1287
  declare function getSearchProvider(): TradingViewSearchProvider;
1288
+ declare function monthCodeToName(code: string): string;
1289
+
1290
+ declare let authCredentials: {
1291
+ session?: string;
1292
+ sessionSign?: string;
1293
+ authToken?: string;
1294
+ user?: Record<string, unknown>;
1295
+ } | null;
1296
+ declare function setTradingViewAuth(options: {
1297
+ username?: string;
1298
+ password?: string;
1299
+ session?: string;
1300
+ sessionSign?: string;
1301
+ }): Promise<typeof authCredentials>;
1302
+ declare function clearTradingViewAuth(): void;
1303
+ declare function getTradingViewAuth(): typeof authCredentials;
1063
1304
 
1064
1305
  type Signal = "BUY" | "SELL" | "HOLD" | null;
1065
1306
  type Position = "long" | "short" | null;
@@ -1085,7 +1326,7 @@ interface Trade {
1085
1326
  profitPct?: number;
1086
1327
  duration?: number;
1087
1328
  }
1088
- type BacktestSummaryData = Omit<BacktestResult, "equityCurve" | "drawdownCurve" | "buyHoldCurve" | "toObject" | "summary">;
1329
+ type BacktestSummaryData = Omit<BacktestResult, "equityCurve" | "drawdownCurve" | "buyHoldCurve" | "toObject" | "toDict" | "summary">;
1089
1330
  interface BacktestResult {
1090
1331
  symbol: string;
1091
1332
  period: string;
@@ -1127,6 +1368,7 @@ interface BacktestResult {
1127
1368
  value: number;
1128
1369
  }[];
1129
1370
  toObject(): BacktestSummaryData;
1371
+ toDict(): BacktestSummaryData;
1130
1372
  summary(): string;
1131
1373
  }
1132
1374
  declare class BacktestEngine {
@@ -1191,6 +1433,9 @@ declare class StudySession {
1191
1433
  add(symbol: string, interval: string, indicator: string, inputs?: Record<string, unknown>): Promise<string>;
1192
1434
  get(symbol: string, interval: string, indicator: string): Record<string, number> | null;
1193
1435
  handleData(studyId: string, data: StudyUpdateData): void;
1436
+ handleStudyLoading(studyId: string): void;
1437
+ handleStudyCompleted(studyId: string): void;
1438
+ handleStudyError(studyId: string, error: string): void;
1194
1439
  private _buildTvInputs;
1195
1440
  remove(symbol: string, interval: string, indicator: string): void;
1196
1441
  getAll(symbol: string, interval: string): Record<string, Record<string, number>>;
@@ -1207,10 +1452,14 @@ interface StreamCandle {
1207
1452
  volume: number;
1208
1453
  }
1209
1454
  declare class TradingViewStream extends EventEmitter {
1210
- private static readonly WS_URL;
1211
- private static readonly ORIGIN;
1455
+ static readonly WS_URL = "wss://data.tradingview.com/socket.io/websocket";
1456
+ static readonly ORIGIN = "https://www.tradingview.com";
1457
+ static readonly MAX_RECONNECT_ATTEMPTS = 10;
1458
+ static readonly MAX_RECONNECT_DELAY = 30;
1459
+ static readonly HEARTBEAT_INTERVAL = 30;
1212
1460
  private ws;
1213
- private isConnected;
1461
+ private _isConnected;
1462
+ private _authToken;
1214
1463
  private _quoteSession;
1215
1464
  private _chartSession;
1216
1465
  private _subscribedSymbols;
@@ -1218,17 +1467,28 @@ declare class TradingViewStream extends EventEmitter {
1218
1467
  private _seriesIdMap;
1219
1468
  private _candleCache;
1220
1469
  private _quoteCache;
1470
+ private _quoteCallbacks;
1471
+ private _candleCallbacks;
1221
1472
  private _seriesCounter;
1222
1473
  private _shouldReconnect;
1223
1474
  private _reconnecting;
1475
+ private _reconnectTimer;
1476
+ private _heartbeatCounter;
1224
1477
  readonly studies: StudySession;
1225
- constructor();
1478
+ constructor(authToken?: string);
1226
1479
  get chartSession(): string;
1227
- connect(): Promise<void>;
1480
+ get isConnected(): boolean;
1481
+ get subscribedSymbols(): string[];
1482
+ get chartSubscriptions(): Array<{
1483
+ symbol: string;
1484
+ interval: string;
1485
+ }>;
1486
+ connect(timeout?: number): Promise<void>;
1228
1487
  disconnect(): void;
1229
1488
  subscribe(symbol: string, exchange?: string): void;
1230
1489
  unsubscribe(symbol: string, exchange?: string): void;
1231
1490
  getQuote(symbol: string, exchange?: string): Quote | null;
1491
+ getAllQuotes(): Record<string, Quote>;
1232
1492
  waitForQuote(symbol: string, exchange?: string, timeout?: number): Promise<Quote>;
1233
1493
  subscribeMultiple(symbols: string[], exchange?: string): void;
1234
1494
  unsubscribeMultiple(symbols: string[], exchange?: string): void;
@@ -1244,7 +1504,18 @@ declare class TradingViewStream extends EventEmitter {
1244
1504
  getCandles(symbol: string, interval: string, count?: number, exchange?: string): StreamCandle[];
1245
1505
  waitForCandle(symbol: string, interval: string, timeout?: number, exchange?: string): Promise<StreamCandle>;
1246
1506
  onQuote(symbol: string, callback: (quote: Quote) => void, exchange?: string): void;
1507
+ removeCallback(symbol: string, callback: (quote: Quote) => void, exchange?: string): void;
1247
1508
  onCandle(symbol: string, interval: string, callback: (candle: StreamCandle) => void, exchange?: string): void;
1509
+ removeCandleCallback(symbol: string, interval: string, callback: (candle: StreamCandle) => void, exchange?: string): void;
1510
+ addStudy(symbol: string, interval: string, indicator: string, inputs?: Record<string, unknown>): Promise<string>;
1511
+ removeStudy(symbol: string, interval: string, indicator: string): void;
1512
+ getStudy(symbol: string, interval: string, indicator: string): Record<string, number> | null;
1513
+ getStudies(symbol: string, interval: string): Record<string, Record<string, number>>;
1514
+ onStudy(symbol: string, interval: string, indicator: string, callback: (values: Record<string, number>) => void): void;
1515
+ onAnyStudy(callback: (symbol: string, interval: string, indicator: string, values: Record<string, number>) => void): void;
1516
+ waitForStudy(symbol: string, interval: string, indicator: string, timeout?: number): Promise<Record<string, number>>;
1517
+ ping(): void;
1518
+ wait(signal?: AbortSignal): Promise<void>;
1248
1519
  send(method: string, params: unknown[]): void;
1249
1520
  private _generateId;
1250
1521
  private _parseMessage;
@@ -1253,6 +1524,7 @@ declare class TradingViewStream extends EventEmitter {
1253
1524
  private _handleChartData;
1254
1525
  private _reconnect;
1255
1526
  }
1527
+ declare function createStream(authToken?: string): TradingViewStream;
1256
1528
 
1257
1529
  interface ReplayCandle extends OHLCVData {
1258
1530
  _index: number;
@@ -1325,9 +1597,10 @@ declare function allIndices(): Promise<Array<{
1325
1597
  count: number;
1326
1598
  }>>;
1327
1599
  declare function index(symbol: string): Index;
1328
- declare class Index {
1600
+ declare class Index extends TechnicalMixin {
1329
1601
  readonly symbol: string;
1330
1602
  constructor(symbol: string);
1603
+ protected _getTechnicalHistory(period?: Period, interval?: Interval): Promise<OHLCVData[]>;
1331
1604
  get info(): Promise<IndexInfo & Record<string, unknown>>;
1332
1605
  history(options?: {
1333
1606
  period?: Period;
@@ -1592,30 +1865,33 @@ declare class InvalidIntervalError extends BorsaTSError {
1592
1865
  constructor(interval: string, validIntervals: string[]);
1593
1866
  }
1594
1867
 
1868
+ declare const TAX_CAT_VARIABLE: "degisken_karma_doviz";
1869
+ declare const TAX_CAT_EQUITY_HEAVY: "pay_senedi_yogun";
1870
+ declare const TAX_CAT_OTHER: "borclanma_para_maden";
1871
+ declare const TAX_CAT_GSYF_GYF_LONG: "gsyf_gyf_uzun";
1872
+ declare const TAX_CAT_GSYF_GYF_SHORT: "gsyf_gyf_kisa";
1595
1873
  declare const TAX_CATEGORIES: {
1596
- readonly HISSE_YOĞUN: "Hisse Yoğun Fon";
1597
- readonly HISSE_ENDEKS: "Hisse Endeks Fon";
1598
- readonly DIGER: "Diğer Fon";
1599
- readonly GIRISIM_SERMAYESI: "Girişim Sermayesi Fon";
1600
- readonly GAYRIMENKUL: "Gayrimenkul Yatırım Fon";
1601
- readonly ALTIN_GUMUS: "Altın/Gümüş ve Kıymetli Maden Fonları";
1602
- readonly DOVIZ: "Döviz Fonları";
1603
- readonly KATILIM: "Katılım Fonları (Faiz Dışı)";
1604
- readonly BYF_HISSE: "BYF Hisse";
1605
- readonly BYF_DIGER: "BYF Diğer";
1874
+ readonly VARIABLE: "degisken_karma_doviz";
1875
+ readonly EQUITY_HEAVY: "pay_senedi_yogun";
1876
+ readonly OTHER: "borclanma_para_maden";
1877
+ readonly GSYF_GYF_LONG: "gsyf_gyf_uzun";
1878
+ readonly GSYF_GYF_SHORT: "gsyf_gyf_kisa";
1606
1879
  };
1607
1880
  type TaxCategory = (typeof TAX_CATEGORIES)[keyof typeof TAX_CATEGORIES];
1881
+ declare const TAX_CAT_DESCRIPTIONS: Record<TaxCategory, string>;
1608
1882
  interface TaxPeriod {
1609
- startDate: Date;
1610
- endDate: Date | null;
1883
+ startDate: string | null;
1884
+ endDate: string | null;
1611
1885
  label: string;
1612
1886
  }
1613
1887
  declare const TAX_PERIODS: TaxPeriod[];
1614
- declare function classifyFundTaxCategory(category: string, fundName?: string): string;
1615
- declare function getWithholdingTaxRate(taxCategory: string, purchaseDate?: Date, _holdingDays?: number): number;
1616
- declare function withholdingTaxRate(fundCode: string, purchaseDate?: Date, holdingDays?: number): Promise<number>;
1888
+ declare const TAX_RATES: Record<TaxCategory, number[]>;
1889
+ declare function classifyFundTaxCategory(category: string, fundName?: string): TaxCategory | null;
1890
+ declare function getWithholdingTaxRate(taxCategory: string, purchaseDate?: Date | string, holdingDays?: number): number;
1891
+ declare function withholdingTaxRate(fundCode: string, purchaseDate?: Date | string, holdingDays?: number): Promise<number | null>;
1617
1892
  declare function withholdingTaxTable(): Array<{
1618
- category: string;
1893
+ tax_category: TaxCategory;
1894
+ description: string;
1619
1895
  periods: Array<{
1620
1896
  label: string;
1621
1897
  rate: number;
@@ -1773,7 +2049,7 @@ interface ScanResult {
1773
2049
  interface ParsedCondition {
1774
2050
  left: string;
1775
2051
  operator: string;
1776
- right: string | number;
2052
+ right: string | number | [string, number];
1777
2053
  }
1778
2054
  declare class TVScreenerProvider extends BaseProvider {
1779
2055
  private static readonly SCANNER_URL;
@@ -1794,4 +2070,5 @@ declare class TVScreenerProvider extends BaseProvider {
1794
2070
  }
1795
2071
  declare function getTVScreenerProvider(): TVScreenerProvider;
1796
2072
 
1797
- export { AGGREGATION, APIError, API_PREFIX, type ActionData, type AddIndicatorsOptions, type AllRatesRecord, type AllocationData, type AssetType, AuthenticationError, BASE_URL, Backtest, BacktestEngine, type BacktestResult, type BacktestSummaryData, type BalanceSheet, type BankRate, Bond, BorsaTSError, COUNTRIES, type CacheOptions, type CalendarEvent, type Candle, type CashFlowStatement, type CompanyInfo, Crypto, type CryptoPair, type CurrentData, DEFAULT_COLUMNS, DataNotAvailableError, type DividendData, type ETFHolder, EVDS, EVDSProvider, EVDSSeries, EconomicCalendar, type EnrichedInfo, Eurobond, type EurobondData, type EurobondHistoryRow, FIELD_MAP, FORMULA, FREQUENCY, FX, FastInfo, type FinancialRow, Fund, type FundInfo, type FundRiskMetrics, type FundType, type HolderData, type Holding, INDICATOR_OUTPUTS, INDICES, INTERVAL_MAP, type IncomeStatement, Index, type IndexComponent, type IndexInfo, type IndicatorData, type IndicatorMetadata, Inflation, type InstitutionRate, type Interval, InvalidIntervalError, InvalidPeriodError, LOCAL_CALC_FIELDS, MOVING_AVERAGE_COLUMNS, type MetalInstitutionRate, NUMERIC_FREQ_NORMALIZE, type NewsItem, type OHLCVData, type OHLCVWithActions, OPERATORS, OSCILLATOR_COLUMNS, type Period, PineFacadeProvider, type PineStudy, Portfolio, type Position, type PriceTarget, type ProviderConfig, type Quote, RateLimitError, type RateRecord, type Recommendation, type ReplayCandle, ReplaySession, type ReplayStats, type RequestOptions, type RiskMetrics, STANDARD_INDICATORS, type ScanOptions, type ScanResult$1 as ScanResult, Screener, type ScreenerCriteria, type ScreenerResult, type SearchResult, type Signal, type SplitData, type StrategyFunc, type StreamCandle, StudySession, type TASignalGroup, type TASignals, TAX_CATEGORIES, TAX_PERIODS, TCMB, type ScanResult as TVScanResult, TVScreenerProvider, type TaxCategory, type TaxPeriod, TechnicalAnalyzer, TechnicalScanner, Ticker, TickerNotFoundError, type Trade, TradingViewETFProvider, TradingViewScannerProvider, TradingViewSearchProvider, TradingViewStream, type UnifiedSearchResult, VIOP, type VIOPContract, type Eurobond$1 as ZiraatEurobondData, ZiraatEurobondProvider, addIndicators, allIndices, backtest, banks, bonds, calculateADX, calculateATR, calculateBollingerBands, calculateCCI, calculateDEMA, calculateEMA, calculateHHV, calculateHeikinAshi, calculateIchimoku, calculateLLV, calculateMACD, calculateMOM, calculateOBV, calculatePivotPoints, calculateROC, calculateRSI, calculateSMA, calculateStochastic, calculateSupertrend, calculateTEMA, calculateTilsonT3, calculateVWAP, calculateWMA, calculateWilliamsR, classifyFundTaxCategory, clearEVDSKey, companies, compareFunds, computeAdjClose, createReplay, cryptoList, denormalizeCode, economicCalendar, estimateObservations, eurobonds, evdsAnnouncements, evdsCategories, evdsDashboard, evdsDatagroups, evdsDownload, evdsSearch, evdsSeries, formatEVDSDate, getEVDSKey, getEVDSProvider, getEurobondProvider, getPineFacadeProvider, getScannerProvider, getSearchProvider, getTVScreenerProvider, getTradingViewETFProvider, getWithholdingTaxRate, index, indices, managementFees, mergeChunks, metalInstitutions, normalizeCode, periodToDates, policyRate, riskFreeRate, scan, screenFunds, screenStocks, screenerCriteria, search, searchBist, searchCompanies, searchCrypto, searchForex, searchFunds, searchIndex, searchViop, sectors, setEVDSKey, splitWindow, stockIndices, viopContracts, withholdingTaxRate, withholdingTaxTable };
2073
+ export { AGGREGATION, APIError, API_PREFIX, ASSET_NAME_STANDARDIZATION, ASSET_TYPE_LABELS, AuthenticationError, BASE_URL, Backtest, BacktestEngine, Bond, BorsaTSError, COUNTRIES, CRYPTO_QUERY_MAP, Crypto, DEFAULT_COLUMNS, DataNotAvailableError, EVDS, EVDSProvider, EVDSSeries, EconomicCalendar, Eurobond, FIELD_MAP, FORMULA, FREQUENCY, FX, FX_QUERY_MAP, FastInfo, Fund, INDICATOR_OUTPUTS, INDICES, INTERVAL_MAP, Index, Inflation, InvalidIntervalError, InvalidPeriodError, KAPHoldingsProvider, LOCAL_CALC_FIELDS, MOVING_AVERAGE_COLUMNS, NUMERIC_FREQ_NORMALIZE, OPENROUTER_MODEL, OPERATORS, OSCILLATOR_COLUMNS, PORTFOLIO_REPORT_DISCLOSURE_TYPE, PineFacadeProvider, Portfolio, RateLimitError, ReplaySession, STANDARD_INDICATORS, Screener, StudySession, TAX_CATEGORIES, TAX_CAT_DESCRIPTIONS, TAX_CAT_EQUITY_HEAVY, TAX_CAT_GSYF_GYF_LONG, TAX_CAT_GSYF_GYF_SHORT, TAX_CAT_OTHER, TAX_CAT_VARIABLE, TAX_PERIODS, TAX_RATES, TCMB, TVScreenerProvider, TWEET_COLUMNS, TWITTER_PERIOD_DAYS, TechnicalAnalyzer, TechnicalMixin, TechnicalScanner, Ticker, TickerNotFoundError, Tickers, TradingViewETFProvider, TradingViewScannerProvider, TradingViewSearchProvider, TradingViewStream, TwitterProvider, VIOP, ZiraatEurobondProvider, addIndicators, allIndices, backtest, banks, bonds, buildCryptoQuery, buildFundQuery, buildFxQuery, buildStockQuery, calculateADX, calculateATR, calculateBollingerBands, calculateCCI, calculateDEMA, calculateEMA, calculateHHV, calculateHeikinAshi, calculateHeikinAshiVectorized, calculateIchimoku, calculateLLV, calculateMACD, calculateMOM, calculateOBV, calculatePivotPoints, calculateROC, calculateRSI, calculateSMA, calculateStochastic, calculateSupertrend, calculateTEMA, calculateTilsonT3, calculateVWAP, calculateWMA, calculateWilliamsR, classifyFundTaxCategory, clearEVDSKey, clearIndicatorCache, clearTradingViewAuth, clearTwitterAuth, companies, compareFunds, computeAdjClose, createReplay, createStream, cryptoList, cryptoPairs, denormalizeCode, download, economicCalendar, estimateObservations, eurobonds, evdsAnnouncements, evdsCategories, evdsDashboard, evdsDatagroups, evdsDownload, evdsSearch, evdsSeries, formatEVDSDate, getEVDSKey, getEVDSProvider, getEurobondProvider, getKAPHoldingsProvider, getPineFacadeProvider, getScannerProvider, getSearchProvider, getTVScreenerProvider, getTradingViewAuth, getTradingViewETFProvider, getTwitterAuth, getTwitterProvider, getWithholdingTaxRate, index, indices, managementFees, mergeChunks, metalInstitutions, monthCodeToName, normalizeCode, periodToDates, policyRate, riskFreeRate, scan, screenFunds, screenStocks, screenerCriteria, search, searchBist, searchCompanies, searchCrypto, searchForex, searchFunds, searchIndex, searchTweets, searchViop, sectors, setEVDSKey, setTradingViewAuth, setTwitterAuth, splitWindow, stockIndices, viopContracts, withholdingTaxRate, withholdingTaxTable };
2074
+ export type { ActionData, AddIndicatorsOptions, AllRatesRecord, AllocationData, AssetType, BacktestResult, BacktestSummaryData, BalanceSheet, BankRate, CacheOptions, CalendarEvent, Candle, CashFlowStatement, CompanyInfo, CryptoPair, CurrentData, DividendData, ETFHolder, EnrichedInfo, EurobondData, EurobondHistoryRow, FinancialRow, FundHolding, FundHoldingRow, FundInfo, FundRiskMetrics, FundType, HolderData, Holding, IncomeStatement, IndexComponent, IndexInfo, IndicatorData, IndicatorMetadata, InstitutionRate, Interval, KAPFundDisclosure, MetalInstitutionRate, NewsItem, OHLCVColumn, OHLCVData, OHLCVWithActions, Period, PineStudy, Position, PriceTarget, ProviderConfig, Quote, RateRecord, Recommendation, ReplayCandle, ReplayStats, RequestOptions, RiskMetrics, ScanOptions, ScanResult$1 as ScanResult, ScreenerCriteria, ScreenerResult, SearchResult, Signal, SplitData, StrategyFunc, StreamCandle, TASignalGroup, TASignals, ScanResult as TVScanResult, TaxCategory, TaxPeriod, Trade, Tweet, TwitterAuthOptions, TwitterCredentials, TwitterSearchOptions, UnifiedSearchResult, VIOPContract, Eurobond$1 as ZiraatEurobondData };