@sigrex/client 2.1.1 → 2.1.3
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.mts +80 -0
- package/dist/index.d.ts +80 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -8478,6 +8478,11 @@ interface components {
|
|
|
8478
8478
|
* @example BTCUSDT,ETHUSDT
|
|
8479
8479
|
*/
|
|
8480
8480
|
symbol: string;
|
|
8481
|
+
/**
|
|
8482
|
+
* @description Set how often the reaction will check for new signals. eg. 10 means 10 in 1 second
|
|
8483
|
+
* @example 10
|
|
8484
|
+
*/
|
|
8485
|
+
delay?: number;
|
|
8481
8486
|
/**
|
|
8482
8487
|
* @description The JavaScript code of the strategy
|
|
8483
8488
|
* @example (()=>{ $.Strategy.action($.Action.LONG); })();
|
|
@@ -8525,6 +8530,11 @@ interface components {
|
|
|
8525
8530
|
* @example BTCUSDT,ETHUSDT
|
|
8526
8531
|
*/
|
|
8527
8532
|
symbol: string;
|
|
8533
|
+
/**
|
|
8534
|
+
* @description Set how often the reaction will check for new signals. eg. 10 means 10 in 1 second
|
|
8535
|
+
* @example 10
|
|
8536
|
+
*/
|
|
8537
|
+
delay?: number;
|
|
8528
8538
|
/**
|
|
8529
8539
|
* @description The JavaScript code of the strategy
|
|
8530
8540
|
* @example (()=>{ $.Strategy.action($.Action.LONG); })();
|
|
@@ -8577,6 +8587,41 @@ interface components {
|
|
|
8577
8587
|
* @example 15
|
|
8578
8588
|
*/
|
|
8579
8589
|
fallback_api_id?: number;
|
|
8590
|
+
/**
|
|
8591
|
+
* @description Set how often the reaction will check for new signals. eg. 10 means 10 in 1 second
|
|
8592
|
+
* @example 10
|
|
8593
|
+
*/
|
|
8594
|
+
delay?: number;
|
|
8595
|
+
/**
|
|
8596
|
+
* @description Set true if you want to send chart image with the strategy prompt
|
|
8597
|
+
* @example true
|
|
8598
|
+
*/
|
|
8599
|
+
use_chart?: boolean;
|
|
8600
|
+
/**
|
|
8601
|
+
* @description The Tradingview symbol of the chart (required if use_chart is true)
|
|
8602
|
+
* @example BINANCE:BTCUSDT
|
|
8603
|
+
*/
|
|
8604
|
+
chart_symbol?: string;
|
|
8605
|
+
/**
|
|
8606
|
+
* @description The interval of the chart (required if use_chart is true)
|
|
8607
|
+
* @example 5
|
|
8608
|
+
* @enum {string}
|
|
8609
|
+
*/
|
|
8610
|
+
chart_interval?: "1" | "3" | "5" | "15" | "30" | "60" | "120" | "240" | "D";
|
|
8611
|
+
/**
|
|
8612
|
+
* @description The studies of the chart (optional if use_chart is true)
|
|
8613
|
+
* @example [
|
|
8614
|
+
* "RSI@tv-basicstudies",
|
|
8615
|
+
* "MACD@tv-basicstudies"
|
|
8616
|
+
* ]
|
|
8617
|
+
*/
|
|
8618
|
+
chart_studies?: ("ACCD@tv-basicstudies" | "studyADR@tv-basicstudies" | "AROON@tv-basicstudies" | "ATR@tv-basicstudies" | "AwesomeOscillator@tv-basicstudies" | "BB@tv-basicstudies" | "BollingerBandsR@tv-basicstudies" | "BollingerBandsWidth@tv-basicstudies" | "CMF@tv-basicstudies" | "ChaikinOscillator@tv-basicstudies" | "chandeMO@tv-basicstudies" | "ChoppinessIndex@tv-basicstudies" | "CCI@tv-basicstudies" | "CRSI@tv-basicstudies" | "CorrelationCoefficient@tv-basicstudies" | "DetrendedPriceOscillator@tv-basicstudies" | "DM@tv-basicstudies" | "DONCH@tv-basicstudies" | "DoubleEMA@tv-basicstudies" | "EaseOfMovement@tv-basicstudies" | "EFI@tv-basicstudies" | "ENV@tv-basicstudies" | "FisherTransform@tv-basicstudies" | "HV@tv-basicstudies" | "hullMA@tv-basicstudies" | "IchimokuCloud@tv-basicstudies" | "KLTNR@tv-basicstudies" | "KST@tv-basicstudies" | "LinearRegression@tv-basicstudies" | "MACD@tv-basicstudies" | "MOM@tv-basicstudies" | "MF@tv-basicstudies" | "MoonPhases@tv-basicstudies" | "MASimple@tv-basicstudies" | "MAExp@tv-basicstudies" | "MAWeighted@tv-basicstudies" | "OBV@tv-basicstudies" | "PSAR@tv-basicstudies" | "PivotPointsHighLow@tv-basicstudies" | "PivotPointsStandard@tv-basicstudies" | "PriceOsc@tv-basicstudies" | "PriceVolumeTrend@tv-basicstudies" | "ROC@tv-basicstudies" | "RSI@tv-basicstudies" | "VigorIndex@tv-basicstudies" | "VolatilityIndex@tv-basicstudies" | "SMIErgodicIndicator@tv-basicstudies" | "SMIErgodicOscillator@tv-basicstudies" | "Stochastic@tv-basicstudies" | "StochasticRSI@tv-basicstudies" | "TripleEMA@tv-basicstudies" | "Trix@tv-basicstudies" | "UltimateOsc@tv-basicstudies" | "VSTOP@tv-basicstudies" | "Volume@tv-basicstudies" | "VWAP@tv-basicstudies" | "MAVolumeWeighted@tv-basicstudies" | "WilliamR@tv-basicstudies" | "WilliamsAlligator@tv-basicstudies" | "WilliamsFractal@tv-basicstudies" | "ZigZag@tv-basicstudies")[];
|
|
8619
|
+
/**
|
|
8620
|
+
* @description The data range of the chart (optional if use_chart is true)
|
|
8621
|
+
* @example 1D
|
|
8622
|
+
* @enum {string}
|
|
8623
|
+
*/
|
|
8624
|
+
chart_data_range?: "1D" | "5D" | "1M" | "3M" | "6M" | "YTD" | "12M" | "60M" | "ALL";
|
|
8580
8625
|
/**
|
|
8581
8626
|
* @description The prompt used for the strategy
|
|
8582
8627
|
* @example Analyze the incoming data and give me a signal
|
|
@@ -8629,6 +8674,41 @@ interface components {
|
|
|
8629
8674
|
* @example 15
|
|
8630
8675
|
*/
|
|
8631
8676
|
fallback_api_id?: number;
|
|
8677
|
+
/**
|
|
8678
|
+
* @description Set how often the reaction will check for new signals. eg. 10 means 10 in 1 second
|
|
8679
|
+
* @example 10
|
|
8680
|
+
*/
|
|
8681
|
+
delay?: number;
|
|
8682
|
+
/**
|
|
8683
|
+
* @description Set true if you want to send chart image with the strategy prompt
|
|
8684
|
+
* @example true
|
|
8685
|
+
*/
|
|
8686
|
+
use_chart?: boolean;
|
|
8687
|
+
/**
|
|
8688
|
+
* @description The Tradingview symbol of the chart (required if use_chart is true)
|
|
8689
|
+
* @example BINANCE:BTCUSDT
|
|
8690
|
+
*/
|
|
8691
|
+
chart_symbol?: string;
|
|
8692
|
+
/**
|
|
8693
|
+
* @description The interval of the chart (required if use_chart is true)
|
|
8694
|
+
* @example 5
|
|
8695
|
+
* @enum {string}
|
|
8696
|
+
*/
|
|
8697
|
+
chart_interval?: "1" | "3" | "5" | "15" | "30" | "60" | "120" | "240" | "D";
|
|
8698
|
+
/**
|
|
8699
|
+
* @description The studies of the chart (optional if use_chart is true)
|
|
8700
|
+
* @example [
|
|
8701
|
+
* "RSI@tv-basicstudies",
|
|
8702
|
+
* "MACD@tv-basicstudies"
|
|
8703
|
+
* ]
|
|
8704
|
+
*/
|
|
8705
|
+
chart_studies?: ("ACCD@tv-basicstudies" | "studyADR@tv-basicstudies" | "AROON@tv-basicstudies" | "ATR@tv-basicstudies" | "AwesomeOscillator@tv-basicstudies" | "BB@tv-basicstudies" | "BollingerBandsR@tv-basicstudies" | "BollingerBandsWidth@tv-basicstudies" | "CMF@tv-basicstudies" | "ChaikinOscillator@tv-basicstudies" | "chandeMO@tv-basicstudies" | "ChoppinessIndex@tv-basicstudies" | "CCI@tv-basicstudies" | "CRSI@tv-basicstudies" | "CorrelationCoefficient@tv-basicstudies" | "DetrendedPriceOscillator@tv-basicstudies" | "DM@tv-basicstudies" | "DONCH@tv-basicstudies" | "DoubleEMA@tv-basicstudies" | "EaseOfMovement@tv-basicstudies" | "EFI@tv-basicstudies" | "ENV@tv-basicstudies" | "FisherTransform@tv-basicstudies" | "HV@tv-basicstudies" | "hullMA@tv-basicstudies" | "IchimokuCloud@tv-basicstudies" | "KLTNR@tv-basicstudies" | "KST@tv-basicstudies" | "LinearRegression@tv-basicstudies" | "MACD@tv-basicstudies" | "MOM@tv-basicstudies" | "MF@tv-basicstudies" | "MoonPhases@tv-basicstudies" | "MASimple@tv-basicstudies" | "MAExp@tv-basicstudies" | "MAWeighted@tv-basicstudies" | "OBV@tv-basicstudies" | "PSAR@tv-basicstudies" | "PivotPointsHighLow@tv-basicstudies" | "PivotPointsStandard@tv-basicstudies" | "PriceOsc@tv-basicstudies" | "PriceVolumeTrend@tv-basicstudies" | "ROC@tv-basicstudies" | "RSI@tv-basicstudies" | "VigorIndex@tv-basicstudies" | "VolatilityIndex@tv-basicstudies" | "SMIErgodicIndicator@tv-basicstudies" | "SMIErgodicOscillator@tv-basicstudies" | "Stochastic@tv-basicstudies" | "StochasticRSI@tv-basicstudies" | "TripleEMA@tv-basicstudies" | "Trix@tv-basicstudies" | "UltimateOsc@tv-basicstudies" | "VSTOP@tv-basicstudies" | "Volume@tv-basicstudies" | "VWAP@tv-basicstudies" | "MAVolumeWeighted@tv-basicstudies" | "WilliamR@tv-basicstudies" | "WilliamsAlligator@tv-basicstudies" | "WilliamsFractal@tv-basicstudies" | "ZigZag@tv-basicstudies")[];
|
|
8706
|
+
/**
|
|
8707
|
+
* @description The data range of the chart (optional if use_chart is true)
|
|
8708
|
+
* @example 1D
|
|
8709
|
+
* @enum {string}
|
|
8710
|
+
*/
|
|
8711
|
+
chart_data_range?: "1D" | "5D" | "1M" | "3M" | "6M" | "YTD" | "12M" | "60M" | "ALL";
|
|
8632
8712
|
/**
|
|
8633
8713
|
* @description The prompt used for the strategy
|
|
8634
8714
|
* @example Analyze the incoming data and give me a signal
|
package/dist/index.d.ts
CHANGED
|
@@ -8478,6 +8478,11 @@ interface components {
|
|
|
8478
8478
|
* @example BTCUSDT,ETHUSDT
|
|
8479
8479
|
*/
|
|
8480
8480
|
symbol: string;
|
|
8481
|
+
/**
|
|
8482
|
+
* @description Set how often the reaction will check for new signals. eg. 10 means 10 in 1 second
|
|
8483
|
+
* @example 10
|
|
8484
|
+
*/
|
|
8485
|
+
delay?: number;
|
|
8481
8486
|
/**
|
|
8482
8487
|
* @description The JavaScript code of the strategy
|
|
8483
8488
|
* @example (()=>{ $.Strategy.action($.Action.LONG); })();
|
|
@@ -8525,6 +8530,11 @@ interface components {
|
|
|
8525
8530
|
* @example BTCUSDT,ETHUSDT
|
|
8526
8531
|
*/
|
|
8527
8532
|
symbol: string;
|
|
8533
|
+
/**
|
|
8534
|
+
* @description Set how often the reaction will check for new signals. eg. 10 means 10 in 1 second
|
|
8535
|
+
* @example 10
|
|
8536
|
+
*/
|
|
8537
|
+
delay?: number;
|
|
8528
8538
|
/**
|
|
8529
8539
|
* @description The JavaScript code of the strategy
|
|
8530
8540
|
* @example (()=>{ $.Strategy.action($.Action.LONG); })();
|
|
@@ -8577,6 +8587,41 @@ interface components {
|
|
|
8577
8587
|
* @example 15
|
|
8578
8588
|
*/
|
|
8579
8589
|
fallback_api_id?: number;
|
|
8590
|
+
/**
|
|
8591
|
+
* @description Set how often the reaction will check for new signals. eg. 10 means 10 in 1 second
|
|
8592
|
+
* @example 10
|
|
8593
|
+
*/
|
|
8594
|
+
delay?: number;
|
|
8595
|
+
/**
|
|
8596
|
+
* @description Set true if you want to send chart image with the strategy prompt
|
|
8597
|
+
* @example true
|
|
8598
|
+
*/
|
|
8599
|
+
use_chart?: boolean;
|
|
8600
|
+
/**
|
|
8601
|
+
* @description The Tradingview symbol of the chart (required if use_chart is true)
|
|
8602
|
+
* @example BINANCE:BTCUSDT
|
|
8603
|
+
*/
|
|
8604
|
+
chart_symbol?: string;
|
|
8605
|
+
/**
|
|
8606
|
+
* @description The interval of the chart (required if use_chart is true)
|
|
8607
|
+
* @example 5
|
|
8608
|
+
* @enum {string}
|
|
8609
|
+
*/
|
|
8610
|
+
chart_interval?: "1" | "3" | "5" | "15" | "30" | "60" | "120" | "240" | "D";
|
|
8611
|
+
/**
|
|
8612
|
+
* @description The studies of the chart (optional if use_chart is true)
|
|
8613
|
+
* @example [
|
|
8614
|
+
* "RSI@tv-basicstudies",
|
|
8615
|
+
* "MACD@tv-basicstudies"
|
|
8616
|
+
* ]
|
|
8617
|
+
*/
|
|
8618
|
+
chart_studies?: ("ACCD@tv-basicstudies" | "studyADR@tv-basicstudies" | "AROON@tv-basicstudies" | "ATR@tv-basicstudies" | "AwesomeOscillator@tv-basicstudies" | "BB@tv-basicstudies" | "BollingerBandsR@tv-basicstudies" | "BollingerBandsWidth@tv-basicstudies" | "CMF@tv-basicstudies" | "ChaikinOscillator@tv-basicstudies" | "chandeMO@tv-basicstudies" | "ChoppinessIndex@tv-basicstudies" | "CCI@tv-basicstudies" | "CRSI@tv-basicstudies" | "CorrelationCoefficient@tv-basicstudies" | "DetrendedPriceOscillator@tv-basicstudies" | "DM@tv-basicstudies" | "DONCH@tv-basicstudies" | "DoubleEMA@tv-basicstudies" | "EaseOfMovement@tv-basicstudies" | "EFI@tv-basicstudies" | "ENV@tv-basicstudies" | "FisherTransform@tv-basicstudies" | "HV@tv-basicstudies" | "hullMA@tv-basicstudies" | "IchimokuCloud@tv-basicstudies" | "KLTNR@tv-basicstudies" | "KST@tv-basicstudies" | "LinearRegression@tv-basicstudies" | "MACD@tv-basicstudies" | "MOM@tv-basicstudies" | "MF@tv-basicstudies" | "MoonPhases@tv-basicstudies" | "MASimple@tv-basicstudies" | "MAExp@tv-basicstudies" | "MAWeighted@tv-basicstudies" | "OBV@tv-basicstudies" | "PSAR@tv-basicstudies" | "PivotPointsHighLow@tv-basicstudies" | "PivotPointsStandard@tv-basicstudies" | "PriceOsc@tv-basicstudies" | "PriceVolumeTrend@tv-basicstudies" | "ROC@tv-basicstudies" | "RSI@tv-basicstudies" | "VigorIndex@tv-basicstudies" | "VolatilityIndex@tv-basicstudies" | "SMIErgodicIndicator@tv-basicstudies" | "SMIErgodicOscillator@tv-basicstudies" | "Stochastic@tv-basicstudies" | "StochasticRSI@tv-basicstudies" | "TripleEMA@tv-basicstudies" | "Trix@tv-basicstudies" | "UltimateOsc@tv-basicstudies" | "VSTOP@tv-basicstudies" | "Volume@tv-basicstudies" | "VWAP@tv-basicstudies" | "MAVolumeWeighted@tv-basicstudies" | "WilliamR@tv-basicstudies" | "WilliamsAlligator@tv-basicstudies" | "WilliamsFractal@tv-basicstudies" | "ZigZag@tv-basicstudies")[];
|
|
8619
|
+
/**
|
|
8620
|
+
* @description The data range of the chart (optional if use_chart is true)
|
|
8621
|
+
* @example 1D
|
|
8622
|
+
* @enum {string}
|
|
8623
|
+
*/
|
|
8624
|
+
chart_data_range?: "1D" | "5D" | "1M" | "3M" | "6M" | "YTD" | "12M" | "60M" | "ALL";
|
|
8580
8625
|
/**
|
|
8581
8626
|
* @description The prompt used for the strategy
|
|
8582
8627
|
* @example Analyze the incoming data and give me a signal
|
|
@@ -8629,6 +8674,41 @@ interface components {
|
|
|
8629
8674
|
* @example 15
|
|
8630
8675
|
*/
|
|
8631
8676
|
fallback_api_id?: number;
|
|
8677
|
+
/**
|
|
8678
|
+
* @description Set how often the reaction will check for new signals. eg. 10 means 10 in 1 second
|
|
8679
|
+
* @example 10
|
|
8680
|
+
*/
|
|
8681
|
+
delay?: number;
|
|
8682
|
+
/**
|
|
8683
|
+
* @description Set true if you want to send chart image with the strategy prompt
|
|
8684
|
+
* @example true
|
|
8685
|
+
*/
|
|
8686
|
+
use_chart?: boolean;
|
|
8687
|
+
/**
|
|
8688
|
+
* @description The Tradingview symbol of the chart (required if use_chart is true)
|
|
8689
|
+
* @example BINANCE:BTCUSDT
|
|
8690
|
+
*/
|
|
8691
|
+
chart_symbol?: string;
|
|
8692
|
+
/**
|
|
8693
|
+
* @description The interval of the chart (required if use_chart is true)
|
|
8694
|
+
* @example 5
|
|
8695
|
+
* @enum {string}
|
|
8696
|
+
*/
|
|
8697
|
+
chart_interval?: "1" | "3" | "5" | "15" | "30" | "60" | "120" | "240" | "D";
|
|
8698
|
+
/**
|
|
8699
|
+
* @description The studies of the chart (optional if use_chart is true)
|
|
8700
|
+
* @example [
|
|
8701
|
+
* "RSI@tv-basicstudies",
|
|
8702
|
+
* "MACD@tv-basicstudies"
|
|
8703
|
+
* ]
|
|
8704
|
+
*/
|
|
8705
|
+
chart_studies?: ("ACCD@tv-basicstudies" | "studyADR@tv-basicstudies" | "AROON@tv-basicstudies" | "ATR@tv-basicstudies" | "AwesomeOscillator@tv-basicstudies" | "BB@tv-basicstudies" | "BollingerBandsR@tv-basicstudies" | "BollingerBandsWidth@tv-basicstudies" | "CMF@tv-basicstudies" | "ChaikinOscillator@tv-basicstudies" | "chandeMO@tv-basicstudies" | "ChoppinessIndex@tv-basicstudies" | "CCI@tv-basicstudies" | "CRSI@tv-basicstudies" | "CorrelationCoefficient@tv-basicstudies" | "DetrendedPriceOscillator@tv-basicstudies" | "DM@tv-basicstudies" | "DONCH@tv-basicstudies" | "DoubleEMA@tv-basicstudies" | "EaseOfMovement@tv-basicstudies" | "EFI@tv-basicstudies" | "ENV@tv-basicstudies" | "FisherTransform@tv-basicstudies" | "HV@tv-basicstudies" | "hullMA@tv-basicstudies" | "IchimokuCloud@tv-basicstudies" | "KLTNR@tv-basicstudies" | "KST@tv-basicstudies" | "LinearRegression@tv-basicstudies" | "MACD@tv-basicstudies" | "MOM@tv-basicstudies" | "MF@tv-basicstudies" | "MoonPhases@tv-basicstudies" | "MASimple@tv-basicstudies" | "MAExp@tv-basicstudies" | "MAWeighted@tv-basicstudies" | "OBV@tv-basicstudies" | "PSAR@tv-basicstudies" | "PivotPointsHighLow@tv-basicstudies" | "PivotPointsStandard@tv-basicstudies" | "PriceOsc@tv-basicstudies" | "PriceVolumeTrend@tv-basicstudies" | "ROC@tv-basicstudies" | "RSI@tv-basicstudies" | "VigorIndex@tv-basicstudies" | "VolatilityIndex@tv-basicstudies" | "SMIErgodicIndicator@tv-basicstudies" | "SMIErgodicOscillator@tv-basicstudies" | "Stochastic@tv-basicstudies" | "StochasticRSI@tv-basicstudies" | "TripleEMA@tv-basicstudies" | "Trix@tv-basicstudies" | "UltimateOsc@tv-basicstudies" | "VSTOP@tv-basicstudies" | "Volume@tv-basicstudies" | "VWAP@tv-basicstudies" | "MAVolumeWeighted@tv-basicstudies" | "WilliamR@tv-basicstudies" | "WilliamsAlligator@tv-basicstudies" | "WilliamsFractal@tv-basicstudies" | "ZigZag@tv-basicstudies")[];
|
|
8706
|
+
/**
|
|
8707
|
+
* @description The data range of the chart (optional if use_chart is true)
|
|
8708
|
+
* @example 1D
|
|
8709
|
+
* @enum {string}
|
|
8710
|
+
*/
|
|
8711
|
+
chart_data_range?: "1D" | "5D" | "1M" | "3M" | "6M" | "YTD" | "12M" | "60M" | "ALL";
|
|
8632
8712
|
/**
|
|
8633
8713
|
* @description The prompt used for the strategy
|
|
8634
8714
|
* @example Analyze the incoming data and give me a signal
|
package/package.json
CHANGED