@muhammedaksam/borsats 0.5.0 → 0.7.2
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.cjs +4 -3
- package/dist/index.d.cts +161 -46
- package/dist/index.d.ts +161 -46
- package/dist/index.js +4 -3
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -3,6 +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
7
|
interface OHLCVData {
|
|
7
8
|
date: Date;
|
|
8
9
|
open: number;
|
|
@@ -161,6 +162,7 @@ interface Holding {
|
|
|
161
162
|
weight?: number;
|
|
162
163
|
pnl?: number;
|
|
163
164
|
pnlPct?: number;
|
|
165
|
+
purchaseDate?: Date | string;
|
|
164
166
|
}
|
|
165
167
|
interface RequestOptions {
|
|
166
168
|
method?: "GET" | "POST" | "PUT" | "DELETE";
|
|
@@ -248,6 +250,40 @@ declare class TradingViewETFProvider extends BaseProvider {
|
|
|
248
250
|
}
|
|
249
251
|
declare function getTradingViewETFProvider(): TradingViewETFProvider;
|
|
250
252
|
|
|
253
|
+
declare const OSCILLATOR_COLUMNS: string[];
|
|
254
|
+
declare const MOVING_AVERAGE_COLUMNS: string[];
|
|
255
|
+
declare const INTERVAL_MAP: Record<string, string>;
|
|
256
|
+
interface TASignalGroup {
|
|
257
|
+
recommendation: string;
|
|
258
|
+
buy: number;
|
|
259
|
+
sell: number;
|
|
260
|
+
neutral: number;
|
|
261
|
+
compute?: Record<string, string>;
|
|
262
|
+
values?: Record<string, number | null>;
|
|
263
|
+
}
|
|
264
|
+
interface TASignals {
|
|
265
|
+
symbol: string;
|
|
266
|
+
exchange: string;
|
|
267
|
+
interval: string;
|
|
268
|
+
summary: TASignalGroup;
|
|
269
|
+
oscillators: TASignalGroup;
|
|
270
|
+
moving_averages: TASignalGroup;
|
|
271
|
+
}
|
|
272
|
+
declare class TradingViewScannerProvider extends BaseProvider {
|
|
273
|
+
private static readonly SCANNER_URL;
|
|
274
|
+
private static readonly SCREENERS;
|
|
275
|
+
private static readonly CACHE_TTL;
|
|
276
|
+
constructor();
|
|
277
|
+
getTASignals(symbol: string, screener?: string, interval?: string): Promise<TASignals>;
|
|
278
|
+
private _getColumnsWithInterval;
|
|
279
|
+
private _calculateSignals;
|
|
280
|
+
private _processRec;
|
|
281
|
+
private _recToSignal;
|
|
282
|
+
private _countSignals;
|
|
283
|
+
private _getRecommendation;
|
|
284
|
+
}
|
|
285
|
+
declare function getScannerProvider(): TradingViewScannerProvider;
|
|
286
|
+
|
|
251
287
|
declare function calculateSMA(data: OHLCVData[], period?: number): number[];
|
|
252
288
|
declare function calculateEMA(data: OHLCVData[], period?: number): number[];
|
|
253
289
|
declare function calculateRSI(data: OHLCVData[], period?: number): number[];
|
|
@@ -442,6 +478,10 @@ declare class Ticker {
|
|
|
442
478
|
get priceTarget(): Promise<PriceTarget | null>;
|
|
443
479
|
get isin(): Promise<string>;
|
|
444
480
|
technicals(period?: Period, interval?: Interval): Promise<TechnicalAnalyzer>;
|
|
481
|
+
taSignals(interval?: Interval): Promise<TASignals>;
|
|
482
|
+
taSignalsAllTimeframes(): Promise<Record<string, TASignals | {
|
|
483
|
+
error: string;
|
|
484
|
+
}>>;
|
|
445
485
|
rsi(period?: Period, rsiPeriod?: number): Promise<number>;
|
|
446
486
|
sma(period?: Period, smaPeriod?: number): Promise<number>;
|
|
447
487
|
ema(period?: Period, emaPeriod?: number): Promise<number>;
|
|
@@ -558,9 +598,13 @@ interface FundRiskMetrics {
|
|
|
558
598
|
declare class Fund {
|
|
559
599
|
private _fundCode;
|
|
560
600
|
private _infoCache;
|
|
561
|
-
|
|
601
|
+
private _fundType;
|
|
602
|
+
private _detectedFundType;
|
|
603
|
+
constructor(fundCode: string, fundType?: FundType | null);
|
|
562
604
|
get fundCode(): string;
|
|
563
605
|
get symbol(): string;
|
|
606
|
+
get fundType(): Promise<FundType>;
|
|
607
|
+
private detectFundType;
|
|
564
608
|
get info(): Promise<FundDetail>;
|
|
565
609
|
get detail(): Promise<FundDetail>;
|
|
566
610
|
get performance(): Promise<Partial<FundDetail>>;
|
|
@@ -603,12 +647,12 @@ declare class Screener {
|
|
|
603
647
|
}>;
|
|
604
648
|
static readonly TEMPLATES: string[];
|
|
605
649
|
constructor();
|
|
606
|
-
addFilter(criteria: string, min?: number, max?: number, required?: boolean):
|
|
650
|
+
addFilter(criteria: string, min?: number, max?: number, required?: boolean): Screener;
|
|
607
651
|
setSector(sector: string): Screener;
|
|
608
652
|
setIndex(index: string): Screener;
|
|
609
653
|
setRecommendation(recommendation: string): Screener;
|
|
610
654
|
clear(): Screener;
|
|
611
|
-
run(
|
|
655
|
+
run(template?: string): Promise<ScreenerResult[]>;
|
|
612
656
|
private _filterByIndex;
|
|
613
657
|
}
|
|
614
658
|
declare function screenStocks(options: {
|
|
@@ -620,8 +664,16 @@ declare function screenStocks(options: {
|
|
|
620
664
|
market_cap_max?: number;
|
|
621
665
|
pe_min?: number;
|
|
622
666
|
pe_max?: number;
|
|
667
|
+
pb_min?: number;
|
|
668
|
+
pb_max?: number;
|
|
623
669
|
dividend_yield_min?: number;
|
|
624
670
|
dividend_yield_max?: number;
|
|
671
|
+
upside_potential_min?: number;
|
|
672
|
+
upside_potential_max?: number;
|
|
673
|
+
net_margin_min?: number;
|
|
674
|
+
net_margin_max?: number;
|
|
675
|
+
roe_min?: number;
|
|
676
|
+
roe_max?: number;
|
|
625
677
|
[key: string]: unknown;
|
|
626
678
|
}): Promise<ScreenerResult[]>;
|
|
627
679
|
declare function screenerCriteria(): Promise<ScreenerCriteria[]>;
|
|
@@ -640,7 +692,7 @@ interface ScanResult$1 {
|
|
|
640
692
|
conditionsMet: string[];
|
|
641
693
|
timestamp: Date;
|
|
642
694
|
}
|
|
643
|
-
declare function scan(universe: string | string[], condition: string, interval?:
|
|
695
|
+
declare function scan(universe: string | string[], condition: string, interval?: Interval, limit?: number): Promise<ScanResult$1[]>;
|
|
644
696
|
declare class TechnicalScanner {
|
|
645
697
|
private _symbols;
|
|
646
698
|
private _conditions;
|
|
@@ -653,11 +705,13 @@ declare class TechnicalScanner {
|
|
|
653
705
|
addCondition(condition: string, name?: string): TechnicalScanner;
|
|
654
706
|
removeCondition(nameOrCondition: string): TechnicalScanner;
|
|
655
707
|
clearConditions(): TechnicalScanner;
|
|
656
|
-
setInterval(interval:
|
|
708
|
+
setInterval(interval: Interval): TechnicalScanner;
|
|
657
709
|
addColumn(column: string): TechnicalScanner;
|
|
658
710
|
run(limit?: number): Promise<ScanResult$1[]>;
|
|
659
711
|
private _evaluateCondition;
|
|
660
712
|
private _getValue;
|
|
713
|
+
private _requiresLocalCalc;
|
|
714
|
+
private _getRequiredHistoryLength;
|
|
661
715
|
get symbols(): string[];
|
|
662
716
|
get conditions(): string[];
|
|
663
717
|
toString(): string;
|
|
@@ -704,6 +758,10 @@ declare class Crypto {
|
|
|
704
758
|
end?: Date | string;
|
|
705
759
|
}): Promise<OHLCVData[]>;
|
|
706
760
|
technicals(interval?: string): Promise<TechnicalAnalyzer>;
|
|
761
|
+
taSignals(interval?: Interval): Promise<TASignals>;
|
|
762
|
+
taSignalsAllTimeframes(): Promise<Record<string, TASignals | {
|
|
763
|
+
error: string;
|
|
764
|
+
}>>;
|
|
707
765
|
}
|
|
708
766
|
declare function cryptoList(): Promise<string[]>;
|
|
709
767
|
|
|
@@ -722,12 +780,22 @@ declare class FX {
|
|
|
722
780
|
get info(): Promise<CurrentData>;
|
|
723
781
|
get bankRates(): Promise<BankRate[]>;
|
|
724
782
|
institutionRates(): Promise<MetalInstitutionRate[]>;
|
|
783
|
+
institutionRate(institution: string): Promise<MetalInstitutionRate>;
|
|
784
|
+
institutionHistory(institution: string, options?: {
|
|
785
|
+
period?: string;
|
|
786
|
+
start?: Date | string;
|
|
787
|
+
end?: Date | string;
|
|
788
|
+
}): Promise<OHLCVData[]>;
|
|
725
789
|
history(options?: {
|
|
726
790
|
period?: string;
|
|
727
791
|
interval?: string;
|
|
728
792
|
start?: Date | string;
|
|
729
793
|
end?: Date | string;
|
|
730
794
|
}): Promise<OHLCVData[]>;
|
|
795
|
+
taSignals(interval?: Interval): Promise<TASignals>;
|
|
796
|
+
taSignalsAllTimeframes(): Promise<Record<string, TASignals | {
|
|
797
|
+
error: string;
|
|
798
|
+
}>>;
|
|
731
799
|
}
|
|
732
800
|
declare function banks(): string[];
|
|
733
801
|
declare function metalInstitutions(): string[];
|
|
@@ -747,10 +815,12 @@ declare class Portfolio {
|
|
|
747
815
|
shares: number;
|
|
748
816
|
cost?: number;
|
|
749
817
|
assetType?: "stock" | "fx" | "crypto" | "fund";
|
|
818
|
+
purchaseDate?: Date | string;
|
|
750
819
|
}): Portfolio;
|
|
751
820
|
update(symbol: string, options: {
|
|
752
821
|
shares?: number;
|
|
753
822
|
cost?: number;
|
|
823
|
+
purchaseDate?: Date | string;
|
|
754
824
|
}): Portfolio;
|
|
755
825
|
remove(symbol: string): Portfolio;
|
|
756
826
|
setBenchmark(symbol: string): Portfolio;
|
|
@@ -837,40 +907,6 @@ declare class PineFacadeProvider extends BaseProvider {
|
|
|
837
907
|
}
|
|
838
908
|
declare function getPineFacadeProvider(): PineFacadeProvider;
|
|
839
909
|
|
|
840
|
-
declare const OSCILLATOR_COLUMNS: string[];
|
|
841
|
-
declare const MOVING_AVERAGE_COLUMNS: string[];
|
|
842
|
-
declare const INTERVAL_MAP: Record<string, string>;
|
|
843
|
-
interface TASignalGroup {
|
|
844
|
-
recommendation: string;
|
|
845
|
-
buy: number;
|
|
846
|
-
sell: number;
|
|
847
|
-
neutral: number;
|
|
848
|
-
compute?: Record<string, string>;
|
|
849
|
-
values?: Record<string, number | null>;
|
|
850
|
-
}
|
|
851
|
-
interface TASignals {
|
|
852
|
-
symbol: string;
|
|
853
|
-
exchange: string;
|
|
854
|
-
interval: string;
|
|
855
|
-
summary: TASignalGroup;
|
|
856
|
-
oscillators: TASignalGroup;
|
|
857
|
-
moving_averages: TASignalGroup;
|
|
858
|
-
}
|
|
859
|
-
declare class TradingViewScannerProvider extends BaseProvider {
|
|
860
|
-
private static readonly SCANNER_URL;
|
|
861
|
-
private static readonly SCREENERS;
|
|
862
|
-
private static readonly CACHE_TTL;
|
|
863
|
-
constructor();
|
|
864
|
-
getTASignals(symbol: string, screener?: string, interval?: string): Promise<TASignals>;
|
|
865
|
-
private _getColumnsWithInterval;
|
|
866
|
-
private _calculateSignals;
|
|
867
|
-
private _processRec;
|
|
868
|
-
private _recToSignal;
|
|
869
|
-
private _countSignals;
|
|
870
|
-
private _getRecommendation;
|
|
871
|
-
}
|
|
872
|
-
declare function getScannerProvider(): TradingViewScannerProvider;
|
|
873
|
-
|
|
874
910
|
interface SearchResult {
|
|
875
911
|
symbol: string;
|
|
876
912
|
full_name: string;
|
|
@@ -881,6 +917,17 @@ interface SearchResult {
|
|
|
881
917
|
country: string;
|
|
882
918
|
provider_id?: string;
|
|
883
919
|
}
|
|
920
|
+
interface VIOPContract$1 {
|
|
921
|
+
symbol: string;
|
|
922
|
+
full_name: string;
|
|
923
|
+
description: string;
|
|
924
|
+
base: string;
|
|
925
|
+
month_code: string;
|
|
926
|
+
year: string;
|
|
927
|
+
is_continuous: boolean;
|
|
928
|
+
exchange: string;
|
|
929
|
+
type: string;
|
|
930
|
+
}
|
|
884
931
|
declare class TradingViewSearchProvider extends BaseProvider {
|
|
885
932
|
private static readonly SEARCH_URL_V3;
|
|
886
933
|
private static readonly SEARCH_URL_LEGACY;
|
|
@@ -894,6 +941,10 @@ declare class TradingViewSearchProvider extends BaseProvider {
|
|
|
894
941
|
searchBist(query: string, limit?: number): Promise<SearchResult[]>;
|
|
895
942
|
searchCrypto(query: string, limit?: number): Promise<SearchResult[]>;
|
|
896
943
|
searchForex(query: string, limit?: number): Promise<SearchResult[]>;
|
|
944
|
+
searchViop(query: string, limit?: number): Promise<SearchResult[]>;
|
|
945
|
+
static readonly VIOP_MONTH_CODES: Record<string, string>;
|
|
946
|
+
static monthCodeToName(code: string): string;
|
|
947
|
+
getVIOPContracts(baseSymbol: string): Promise<VIOPContract$1[]>;
|
|
897
948
|
private _fetch;
|
|
898
949
|
private _parseResults;
|
|
899
950
|
}
|
|
@@ -923,6 +974,7 @@ interface Trade {
|
|
|
923
974
|
profitPct?: number;
|
|
924
975
|
duration?: number;
|
|
925
976
|
}
|
|
977
|
+
type BacktestSummaryData = Omit<BacktestResult, "equityCurve" | "drawdownCurve" | "buyHoldCurve" | "toObject" | "summary">;
|
|
926
978
|
interface BacktestResult {
|
|
927
979
|
symbol: string;
|
|
928
980
|
period: string;
|
|
@@ -938,8 +990,12 @@ interface BacktestResult {
|
|
|
938
990
|
winningTrades: number;
|
|
939
991
|
losingTrades: number;
|
|
940
992
|
winRate: number;
|
|
941
|
-
profitFactor: number;
|
|
993
|
+
profitFactor: number | string;
|
|
942
994
|
avgTrade: number;
|
|
995
|
+
avgWinningTrade: number;
|
|
996
|
+
avgLosingTrade: number;
|
|
997
|
+
maxConsecutiveWins: number;
|
|
998
|
+
maxConsecutiveLosses: number;
|
|
943
999
|
maxDrawdown: number;
|
|
944
1000
|
maxDrawdownDuration: number;
|
|
945
1001
|
sharpeRatio: number;
|
|
@@ -959,27 +1015,40 @@ interface BacktestResult {
|
|
|
959
1015
|
date: Date;
|
|
960
1016
|
value: number;
|
|
961
1017
|
}[];
|
|
1018
|
+
toObject(): BacktestSummaryData;
|
|
1019
|
+
summary(): string;
|
|
962
1020
|
}
|
|
963
1021
|
declare class BacktestEngine {
|
|
1022
|
+
static readonly WARMUP_PERIOD = 50;
|
|
964
1023
|
private symbol;
|
|
965
1024
|
private strategy;
|
|
966
1025
|
private period;
|
|
967
1026
|
private interval;
|
|
968
1027
|
private capital;
|
|
969
1028
|
private commission;
|
|
1029
|
+
private slippage;
|
|
970
1030
|
private indicators;
|
|
971
|
-
private warmupPeriod;
|
|
972
1031
|
constructor(symbol: string, strategy: StrategyFunc, options?: {
|
|
973
1032
|
period?: Period;
|
|
974
1033
|
interval?: Interval;
|
|
975
1034
|
capital?: number;
|
|
976
1035
|
commission?: number;
|
|
1036
|
+
slippage?: number;
|
|
977
1037
|
indicators?: string[];
|
|
978
1038
|
});
|
|
979
1039
|
run(): Promise<BacktestResult>;
|
|
980
1040
|
private _calculateIndicators;
|
|
981
1041
|
private _merge;
|
|
982
1042
|
}
|
|
1043
|
+
declare const Backtest: typeof BacktestEngine;
|
|
1044
|
+
declare function backtest(symbol: string, strategy: StrategyFunc, options?: {
|
|
1045
|
+
period?: Period;
|
|
1046
|
+
interval?: Interval;
|
|
1047
|
+
capital?: number;
|
|
1048
|
+
commission?: number;
|
|
1049
|
+
slippage?: number;
|
|
1050
|
+
indicators?: string[];
|
|
1051
|
+
}): Promise<BacktestResult>;
|
|
983
1052
|
|
|
984
1053
|
interface Quote {
|
|
985
1054
|
symbol: string;
|
|
@@ -1148,7 +1217,7 @@ declare function index(symbol: string): Index;
|
|
|
1148
1217
|
declare class Index {
|
|
1149
1218
|
readonly symbol: string;
|
|
1150
1219
|
constructor(symbol: string);
|
|
1151
|
-
get info(): Promise<IndexInfo
|
|
1220
|
+
get info(): Promise<IndexInfo & Record<string, unknown>>;
|
|
1152
1221
|
history(options?: {
|
|
1153
1222
|
period?: Period;
|
|
1154
1223
|
interval?: Interval;
|
|
@@ -1157,6 +1226,14 @@ declare class Index {
|
|
|
1157
1226
|
}): Promise<OHLCVData[]>;
|
|
1158
1227
|
get components(): Promise<IndexComponent[]>;
|
|
1159
1228
|
componentSymbols(): Promise<string[]>;
|
|
1229
|
+
taSignals(interval?: Interval): Promise<TASignals>;
|
|
1230
|
+
taSignalsAllTimeframes(): Promise<Record<string, TASignals | {
|
|
1231
|
+
error: string;
|
|
1232
|
+
}>>;
|
|
1233
|
+
scan(condition: string, options?: {
|
|
1234
|
+
period?: Period;
|
|
1235
|
+
interval?: Interval;
|
|
1236
|
+
}): Promise<ScanResult$1[]>;
|
|
1160
1237
|
private calculateStartDate;
|
|
1161
1238
|
}
|
|
1162
1239
|
|
|
@@ -1180,6 +1257,8 @@ declare function searchBist(query: string, limit?: number): Promise<string[]>;
|
|
|
1180
1257
|
declare function searchCrypto(query: string, limit?: number): Promise<string[]>;
|
|
1181
1258
|
declare function searchForex(query: string, limit?: number): Promise<string[]>;
|
|
1182
1259
|
declare function searchIndex(query: string, limit?: number): Promise<string[]>;
|
|
1260
|
+
declare function searchViop(query: string, limit?: number): Promise<string[]>;
|
|
1261
|
+
declare function viopContracts(baseSymbol: string, fullInfo?: boolean): Promise<string[] | VIOPContract$1[]>;
|
|
1183
1262
|
|
|
1184
1263
|
interface VIOPContract {
|
|
1185
1264
|
code: string;
|
|
@@ -1275,9 +1354,37 @@ declare function economicCalendar(options?: {
|
|
|
1275
1354
|
importance?: "low" | "mid" | "high";
|
|
1276
1355
|
}): Promise<CalendarEvent[]>;
|
|
1277
1356
|
|
|
1357
|
+
interface InflationData {
|
|
1358
|
+
date: Date;
|
|
1359
|
+
yearMonth: string;
|
|
1360
|
+
yearlyInflation: number;
|
|
1361
|
+
monthlyInflation: number;
|
|
1362
|
+
}
|
|
1363
|
+
|
|
1278
1364
|
declare class Inflation {
|
|
1279
|
-
latest(): Promise<
|
|
1280
|
-
|
|
1365
|
+
latest(inflationType?: "tufe" | "ufe"): Promise<{
|
|
1366
|
+
year: number;
|
|
1367
|
+
month: number;
|
|
1368
|
+
value: number;
|
|
1369
|
+
monthlyChange: number;
|
|
1370
|
+
annualChange: number;
|
|
1371
|
+
}>;
|
|
1372
|
+
tufe(options?: {
|
|
1373
|
+
start?: string | Date;
|
|
1374
|
+
end?: string | Date;
|
|
1375
|
+
limit?: number;
|
|
1376
|
+
}): Promise<InflationData[]>;
|
|
1377
|
+
ufe(options?: {
|
|
1378
|
+
start?: string | Date;
|
|
1379
|
+
end?: string | Date;
|
|
1380
|
+
limit?: number;
|
|
1381
|
+
}): Promise<InflationData[]>;
|
|
1382
|
+
calculate(amount: number, startDate: string, endDate: string): Promise<{
|
|
1383
|
+
initialAmount: number;
|
|
1384
|
+
finalAmount: number;
|
|
1385
|
+
totalInflation: number;
|
|
1386
|
+
multiplier: number;
|
|
1387
|
+
}>;
|
|
1281
1388
|
}
|
|
1282
1389
|
|
|
1283
1390
|
interface EurobondData {
|
|
@@ -1294,8 +1401,16 @@ declare function eurobonds(currency?: string): Promise<EurobondData[]>;
|
|
|
1294
1401
|
declare class Eurobond$1 {
|
|
1295
1402
|
readonly isin: string;
|
|
1296
1403
|
constructor(isin: string);
|
|
1297
|
-
|
|
1404
|
+
maturity(): Promise<Date | null>;
|
|
1405
|
+
daysToMaturity(): Promise<number>;
|
|
1406
|
+
currency(): Promise<string>;
|
|
1407
|
+
bidPrice(): Promise<number | null>;
|
|
1408
|
+
bidYield(): Promise<number | null>;
|
|
1409
|
+
yieldRate(): Promise<number | null>;
|
|
1410
|
+
askPrice(): Promise<number | null>;
|
|
1411
|
+
askYield(): Promise<number | null>;
|
|
1298
1412
|
getData(): Promise<EurobondData | null>;
|
|
1413
|
+
info(): Promise<EurobondData | null>;
|
|
1299
1414
|
}
|
|
1300
1415
|
|
|
1301
1416
|
declare class BorsaTSError extends Error {
|
|
@@ -1390,4 +1505,4 @@ declare class ZiraatEurobondProvider extends BaseProvider {
|
|
|
1390
1505
|
}
|
|
1391
1506
|
declare function getEurobondProvider(): ZiraatEurobondProvider;
|
|
1392
1507
|
|
|
1393
|
-
export { APIError, type ActionData, type AddIndicatorsOptions, type AllRatesRecord, type AllocationData, type AssetType, AuthenticationError, BacktestEngine, type BacktestResult, 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, EconomicCalendar, type EnrichedInfo, Eurobond$1 as Eurobond, type EurobondData, FIELD_MAP, FX, FastInfo, type FinancialRow, Fund, type FundInfo, type FundRiskMetrics, 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, 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, TCMB, type ScanResult as TVScanResult, TVScreenerProvider, TechnicalAnalyzer, TechnicalScanner, Ticker, TickerNotFoundError, type Trade, TradingViewETFProvider, TradingViewScannerProvider, TradingViewSearchProvider, TradingViewStream, type UnifiedSearchResult, VIOP, type VIOPContract, type Eurobond as ZiraatEurobondData, ZiraatEurobondProvider, addIndicators, allIndices, banks, bonds, calculateADX, calculateATR, calculateBollingerBands, calculateCCI, calculateEMA, calculateHeikinAshi, calculateIchimoku, calculateMACD, calculateOBV, calculatePivotPoints, calculateRSI, calculateSMA, calculateStochastic, calculateSupertrend, calculateTilsonT3, calculateVWAP, calculateWilliamsR, companies, compareFunds, createReplay, cryptoList, economicCalendar, eurobonds, getEurobondProvider, getPineFacadeProvider, getScannerProvider, getSearchProvider, getTVScreenerProvider, getTradingViewETFProvider, index, indices, metalInstitutions, policyRate, riskFreeRate, scan, screenFunds, screenStocks, screenerCriteria, search, searchBist, searchCompanies, searchCrypto, searchForex, searchFunds, searchIndex, sectors, stockIndices };
|
|
1508
|
+
export { APIError, type ActionData, type AddIndicatorsOptions, type AllRatesRecord, type AllocationData, type AssetType, AuthenticationError, 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, EconomicCalendar, type EnrichedInfo, Eurobond$1 as Eurobond, type EurobondData, FIELD_MAP, 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, 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, TCMB, type ScanResult as TVScanResult, TVScreenerProvider, TechnicalAnalyzer, TechnicalScanner, Ticker, TickerNotFoundError, type Trade, TradingViewETFProvider, TradingViewScannerProvider, TradingViewSearchProvider, TradingViewStream, type UnifiedSearchResult, VIOP, type VIOPContract, type Eurobond as ZiraatEurobondData, ZiraatEurobondProvider, addIndicators, allIndices, backtest, banks, bonds, calculateADX, calculateATR, calculateBollingerBands, calculateCCI, calculateEMA, calculateHeikinAshi, calculateIchimoku, calculateMACD, calculateOBV, calculatePivotPoints, calculateRSI, calculateSMA, calculateStochastic, calculateSupertrend, calculateTilsonT3, calculateVWAP, calculateWilliamsR, companies, compareFunds, createReplay, cryptoList, economicCalendar, eurobonds, getEurobondProvider, getPineFacadeProvider, getScannerProvider, getSearchProvider, getTVScreenerProvider, getTradingViewETFProvider, index, indices, metalInstitutions, policyRate, riskFreeRate, scan, screenFunds, screenStocks, screenerCriteria, search, searchBist, searchCompanies, searchCrypto, searchForex, searchFunds, searchIndex, searchViop, sectors, stockIndices, viopContracts };
|