@sigrex/client 2.1.4 → 2.1.5
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/README.md +10 -0
- package/dist/index.d.mts +42 -22
- package/dist/index.d.ts +42 -22
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,7 +17,17 @@ A fully-typed, isomorphic, zero-dependency TypeScript API client for the **Sigre
|
|
|
17
17
|
## Installation
|
|
18
18
|
|
|
19
19
|
```bash
|
|
20
|
+
# npm
|
|
20
21
|
npm install @sigrex/client
|
|
22
|
+
|
|
23
|
+
# Deno
|
|
24
|
+
deno add @sigrex/client
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
When using Deno, import directly from the JSR scope:
|
|
28
|
+
|
|
29
|
+
```typescript
|
|
30
|
+
import { SigrexClient } from "jsr:@sigrex/client";
|
|
21
31
|
```
|
|
22
32
|
|
|
23
33
|
---
|
package/dist/index.d.mts
CHANGED
|
@@ -8195,15 +8195,20 @@ interface components {
|
|
|
8195
8195
|
*/
|
|
8196
8196
|
folder_id?: number;
|
|
8197
8197
|
/**
|
|
8198
|
-
* @description
|
|
8198
|
+
* @description Set true to enable signal generation
|
|
8199
|
+
* @example true
|
|
8200
|
+
*/
|
|
8201
|
+
send_signal?: boolean;
|
|
8202
|
+
/**
|
|
8203
|
+
* @description The id of the bot hook where signal will be sent (required if send_signal is true)
|
|
8199
8204
|
* @example 12
|
|
8200
8205
|
*/
|
|
8201
|
-
webhook_id
|
|
8206
|
+
webhook_id?: number;
|
|
8202
8207
|
/**
|
|
8203
|
-
* @description The signal symbol or symbols of the strategy separated by comma
|
|
8208
|
+
* @description The signal symbol or symbols of the strategy separated by comma (required if send_signal is true)
|
|
8204
8209
|
* @example BTCUSDT,ETHUSDT
|
|
8205
8210
|
*/
|
|
8206
|
-
symbol
|
|
8211
|
+
symbol?: string;
|
|
8207
8212
|
/**
|
|
8208
8213
|
* @description The JavaScript code of the strategy
|
|
8209
8214
|
* @example (()=>{ $.Strategy.action($.Action.LONG); })();
|
|
@@ -8237,15 +8242,20 @@ interface components {
|
|
|
8237
8242
|
*/
|
|
8238
8243
|
folder_id?: number;
|
|
8239
8244
|
/**
|
|
8240
|
-
* @description
|
|
8245
|
+
* @description Set true to enable signal generation
|
|
8246
|
+
* @example true
|
|
8247
|
+
*/
|
|
8248
|
+
send_signal?: boolean;
|
|
8249
|
+
/**
|
|
8250
|
+
* @description The id of the bot hook where signal will be sent (required if send_signal is true)
|
|
8241
8251
|
* @example 12
|
|
8242
8252
|
*/
|
|
8243
|
-
webhook_id
|
|
8253
|
+
webhook_id?: number;
|
|
8244
8254
|
/**
|
|
8245
|
-
* @description The signal symbol or symbols of the strategy separated by comma
|
|
8255
|
+
* @description The signal symbol or symbols of the strategy separated by comma (required if send_signal is true)
|
|
8246
8256
|
* @example BTCUSDT,ETHUSDT
|
|
8247
8257
|
*/
|
|
8248
|
-
symbol
|
|
8258
|
+
symbol?: string;
|
|
8249
8259
|
/**
|
|
8250
8260
|
* @description The JavaScript code of the strategy
|
|
8251
8261
|
* @example (()=>{ $.Strategy.action($.Action.LONG); })();
|
|
@@ -8473,21 +8483,26 @@ interface components {
|
|
|
8473
8483
|
* @example 12
|
|
8474
8484
|
*/
|
|
8475
8485
|
folder_id?: number;
|
|
8476
|
-
/**
|
|
8477
|
-
* @description The id of the bot hook where signal will be sent
|
|
8478
|
-
* @example 12
|
|
8479
|
-
*/
|
|
8480
|
-
webhook_id: number;
|
|
8481
8486
|
/**
|
|
8482
8487
|
* @description The id of the data hook witch will be used to get data
|
|
8483
8488
|
* @example 13
|
|
8484
8489
|
*/
|
|
8485
8490
|
data_webhook_id: number;
|
|
8486
8491
|
/**
|
|
8487
|
-
* @description
|
|
8492
|
+
* @description Set true to enable signal generation
|
|
8493
|
+
* @example true
|
|
8494
|
+
*/
|
|
8495
|
+
send_signal?: boolean;
|
|
8496
|
+
/**
|
|
8497
|
+
* @description The id of the bot hook where signal will be sent (required if send_signal is true)
|
|
8498
|
+
* @example 12
|
|
8499
|
+
*/
|
|
8500
|
+
webhook_id?: number;
|
|
8501
|
+
/**
|
|
8502
|
+
* @description The signal symbol or symbols of the strategy separated by comma (required if send_signal is true)
|
|
8488
8503
|
* @example BTCUSDT,ETHUSDT
|
|
8489
8504
|
*/
|
|
8490
|
-
symbol
|
|
8505
|
+
symbol?: string;
|
|
8491
8506
|
/**
|
|
8492
8507
|
* @description Set how often the reaction will check for new signals. eg. 10 means 10 in 1 second
|
|
8493
8508
|
* @example 10
|
|
@@ -8525,21 +8540,26 @@ interface components {
|
|
|
8525
8540
|
* @example 12
|
|
8526
8541
|
*/
|
|
8527
8542
|
folder_id?: number;
|
|
8528
|
-
/**
|
|
8529
|
-
* @description The id of the bot hook where signal will be sent
|
|
8530
|
-
* @example 12
|
|
8531
|
-
*/
|
|
8532
|
-
webhook_id: number;
|
|
8533
8543
|
/**
|
|
8534
8544
|
* @description The id of the data hook witch will be used to get data
|
|
8535
8545
|
* @example 13
|
|
8536
8546
|
*/
|
|
8537
8547
|
data_webhook_id: number;
|
|
8538
8548
|
/**
|
|
8539
|
-
* @description
|
|
8549
|
+
* @description Set true to enable signal generation
|
|
8550
|
+
* @example true
|
|
8551
|
+
*/
|
|
8552
|
+
send_signal?: boolean;
|
|
8553
|
+
/**
|
|
8554
|
+
* @description The id of the bot hook where signal will be sent (required if send_signal is true)
|
|
8555
|
+
* @example 12
|
|
8556
|
+
*/
|
|
8557
|
+
webhook_id?: number;
|
|
8558
|
+
/**
|
|
8559
|
+
* @description The signal symbol or symbols of the strategy separated by comma (required if send_signal is true)
|
|
8540
8560
|
* @example BTCUSDT,ETHUSDT
|
|
8541
8561
|
*/
|
|
8542
|
-
symbol
|
|
8562
|
+
symbol?: string;
|
|
8543
8563
|
/**
|
|
8544
8564
|
* @description Set how often the reaction will check for new signals. eg. 10 means 10 in 1 second
|
|
8545
8565
|
* @example 10
|
package/dist/index.d.ts
CHANGED
|
@@ -8195,15 +8195,20 @@ interface components {
|
|
|
8195
8195
|
*/
|
|
8196
8196
|
folder_id?: number;
|
|
8197
8197
|
/**
|
|
8198
|
-
* @description
|
|
8198
|
+
* @description Set true to enable signal generation
|
|
8199
|
+
* @example true
|
|
8200
|
+
*/
|
|
8201
|
+
send_signal?: boolean;
|
|
8202
|
+
/**
|
|
8203
|
+
* @description The id of the bot hook where signal will be sent (required if send_signal is true)
|
|
8199
8204
|
* @example 12
|
|
8200
8205
|
*/
|
|
8201
|
-
webhook_id
|
|
8206
|
+
webhook_id?: number;
|
|
8202
8207
|
/**
|
|
8203
|
-
* @description The signal symbol or symbols of the strategy separated by comma
|
|
8208
|
+
* @description The signal symbol or symbols of the strategy separated by comma (required if send_signal is true)
|
|
8204
8209
|
* @example BTCUSDT,ETHUSDT
|
|
8205
8210
|
*/
|
|
8206
|
-
symbol
|
|
8211
|
+
symbol?: string;
|
|
8207
8212
|
/**
|
|
8208
8213
|
* @description The JavaScript code of the strategy
|
|
8209
8214
|
* @example (()=>{ $.Strategy.action($.Action.LONG); })();
|
|
@@ -8237,15 +8242,20 @@ interface components {
|
|
|
8237
8242
|
*/
|
|
8238
8243
|
folder_id?: number;
|
|
8239
8244
|
/**
|
|
8240
|
-
* @description
|
|
8245
|
+
* @description Set true to enable signal generation
|
|
8246
|
+
* @example true
|
|
8247
|
+
*/
|
|
8248
|
+
send_signal?: boolean;
|
|
8249
|
+
/**
|
|
8250
|
+
* @description The id of the bot hook where signal will be sent (required if send_signal is true)
|
|
8241
8251
|
* @example 12
|
|
8242
8252
|
*/
|
|
8243
|
-
webhook_id
|
|
8253
|
+
webhook_id?: number;
|
|
8244
8254
|
/**
|
|
8245
|
-
* @description The signal symbol or symbols of the strategy separated by comma
|
|
8255
|
+
* @description The signal symbol or symbols of the strategy separated by comma (required if send_signal is true)
|
|
8246
8256
|
* @example BTCUSDT,ETHUSDT
|
|
8247
8257
|
*/
|
|
8248
|
-
symbol
|
|
8258
|
+
symbol?: string;
|
|
8249
8259
|
/**
|
|
8250
8260
|
* @description The JavaScript code of the strategy
|
|
8251
8261
|
* @example (()=>{ $.Strategy.action($.Action.LONG); })();
|
|
@@ -8473,21 +8483,26 @@ interface components {
|
|
|
8473
8483
|
* @example 12
|
|
8474
8484
|
*/
|
|
8475
8485
|
folder_id?: number;
|
|
8476
|
-
/**
|
|
8477
|
-
* @description The id of the bot hook where signal will be sent
|
|
8478
|
-
* @example 12
|
|
8479
|
-
*/
|
|
8480
|
-
webhook_id: number;
|
|
8481
8486
|
/**
|
|
8482
8487
|
* @description The id of the data hook witch will be used to get data
|
|
8483
8488
|
* @example 13
|
|
8484
8489
|
*/
|
|
8485
8490
|
data_webhook_id: number;
|
|
8486
8491
|
/**
|
|
8487
|
-
* @description
|
|
8492
|
+
* @description Set true to enable signal generation
|
|
8493
|
+
* @example true
|
|
8494
|
+
*/
|
|
8495
|
+
send_signal?: boolean;
|
|
8496
|
+
/**
|
|
8497
|
+
* @description The id of the bot hook where signal will be sent (required if send_signal is true)
|
|
8498
|
+
* @example 12
|
|
8499
|
+
*/
|
|
8500
|
+
webhook_id?: number;
|
|
8501
|
+
/**
|
|
8502
|
+
* @description The signal symbol or symbols of the strategy separated by comma (required if send_signal is true)
|
|
8488
8503
|
* @example BTCUSDT,ETHUSDT
|
|
8489
8504
|
*/
|
|
8490
|
-
symbol
|
|
8505
|
+
symbol?: string;
|
|
8491
8506
|
/**
|
|
8492
8507
|
* @description Set how often the reaction will check for new signals. eg. 10 means 10 in 1 second
|
|
8493
8508
|
* @example 10
|
|
@@ -8525,21 +8540,26 @@ interface components {
|
|
|
8525
8540
|
* @example 12
|
|
8526
8541
|
*/
|
|
8527
8542
|
folder_id?: number;
|
|
8528
|
-
/**
|
|
8529
|
-
* @description The id of the bot hook where signal will be sent
|
|
8530
|
-
* @example 12
|
|
8531
|
-
*/
|
|
8532
|
-
webhook_id: number;
|
|
8533
8543
|
/**
|
|
8534
8544
|
* @description The id of the data hook witch will be used to get data
|
|
8535
8545
|
* @example 13
|
|
8536
8546
|
*/
|
|
8537
8547
|
data_webhook_id: number;
|
|
8538
8548
|
/**
|
|
8539
|
-
* @description
|
|
8549
|
+
* @description Set true to enable signal generation
|
|
8550
|
+
* @example true
|
|
8551
|
+
*/
|
|
8552
|
+
send_signal?: boolean;
|
|
8553
|
+
/**
|
|
8554
|
+
* @description The id of the bot hook where signal will be sent (required if send_signal is true)
|
|
8555
|
+
* @example 12
|
|
8556
|
+
*/
|
|
8557
|
+
webhook_id?: number;
|
|
8558
|
+
/**
|
|
8559
|
+
* @description The signal symbol or symbols of the strategy separated by comma (required if send_signal is true)
|
|
8540
8560
|
* @example BTCUSDT,ETHUSDT
|
|
8541
8561
|
*/
|
|
8542
|
-
symbol
|
|
8562
|
+
symbol?: string;
|
|
8543
8563
|
/**
|
|
8544
8564
|
* @description Set how often the reaction will check for new signals. eg. 10 means 10 in 1 second
|
|
8545
8565
|
* @example 10
|
package/package.json
CHANGED