@pear-protocol/core-sdk 2.1.0 → 2.2.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/core/index.d.ts +297 -232
- package/dist/core/index.js +41 -28
- package/package.json +3 -3
package/dist/core/index.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ declare class Core {
|
|
|
13
13
|
accounts: {
|
|
14
14
|
id: string;
|
|
15
15
|
alias: string;
|
|
16
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
16
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
17
17
|
kind: "vault" | "eoa";
|
|
18
18
|
exchangeIdentifier: string;
|
|
19
19
|
createdAt: string;
|
|
@@ -32,7 +32,7 @@ declare class Core {
|
|
|
32
32
|
account: {
|
|
33
33
|
id: string;
|
|
34
34
|
alias: string;
|
|
35
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
35
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
36
36
|
kind: "vault" | "eoa";
|
|
37
37
|
exchangeIdentifier: string;
|
|
38
38
|
createdAt: string;
|
|
@@ -51,7 +51,7 @@ declare class Core {
|
|
|
51
51
|
account: {
|
|
52
52
|
id: string;
|
|
53
53
|
alias: string;
|
|
54
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
54
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
55
55
|
kind: "vault" | "eoa";
|
|
56
56
|
exchangeIdentifier: string;
|
|
57
57
|
createdAt: string;
|
|
@@ -72,7 +72,7 @@ declare class Core {
|
|
|
72
72
|
account: {
|
|
73
73
|
id: string;
|
|
74
74
|
alias: string;
|
|
75
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
75
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
76
76
|
kind: "vault" | "eoa";
|
|
77
77
|
exchangeIdentifier: string;
|
|
78
78
|
createdAt: string;
|
|
@@ -94,7 +94,7 @@ declare class Core {
|
|
|
94
94
|
account: {
|
|
95
95
|
id: string;
|
|
96
96
|
alias: string;
|
|
97
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
97
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
98
98
|
kind: "vault" | "eoa";
|
|
99
99
|
exchangeIdentifier: string;
|
|
100
100
|
createdAt: string;
|
|
@@ -123,7 +123,7 @@ declare class Core {
|
|
|
123
123
|
account: {
|
|
124
124
|
id: string;
|
|
125
125
|
alias: string;
|
|
126
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
126
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
127
127
|
kind: "vault" | "eoa";
|
|
128
128
|
exchangeIdentifier: string;
|
|
129
129
|
createdAt: string;
|
|
@@ -146,7 +146,7 @@ declare class Core {
|
|
|
146
146
|
account: {
|
|
147
147
|
id: string;
|
|
148
148
|
alias: string;
|
|
149
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
149
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
150
150
|
kind: "vault" | "eoa";
|
|
151
151
|
exchangeIdentifier: string;
|
|
152
152
|
createdAt: string;
|
|
@@ -170,7 +170,7 @@ declare class Core {
|
|
|
170
170
|
account: {
|
|
171
171
|
id: string;
|
|
172
172
|
alias: string;
|
|
173
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
173
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
174
174
|
kind: "vault" | "eoa";
|
|
175
175
|
exchangeIdentifier: string;
|
|
176
176
|
createdAt: string;
|
|
@@ -188,13 +188,36 @@ declare class Core {
|
|
|
188
188
|
api_private_key: string;
|
|
189
189
|
api_key_index: number;
|
|
190
190
|
};
|
|
191
|
+
} | {
|
|
192
|
+
account: {
|
|
193
|
+
id: string;
|
|
194
|
+
alias: string;
|
|
195
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
196
|
+
kind: "vault" | "eoa";
|
|
197
|
+
exchangeIdentifier: string;
|
|
198
|
+
createdAt: string;
|
|
199
|
+
updatedAt: string;
|
|
200
|
+
metadata?: {
|
|
201
|
+
agentWalletAddress: string;
|
|
202
|
+
isSubaccount: boolean;
|
|
203
|
+
mainAccountAddress: string;
|
|
204
|
+
} | {
|
|
205
|
+
l1_address: string;
|
|
206
|
+
} | undefined;
|
|
207
|
+
deletedAt?: string | undefined;
|
|
208
|
+
};
|
|
209
|
+
credentials: {
|
|
210
|
+
api_private_key: string;
|
|
211
|
+
api_key_index: number;
|
|
212
|
+
};
|
|
213
|
+
connector: "lighter_rhc";
|
|
191
214
|
}>;
|
|
192
215
|
restore: (id: string, headers?: ClientHeaders) => Promise<void>;
|
|
193
216
|
createVault: (body: HttpTypes.CreateVaultTradeAccountInput, headers?: ClientHeaders) => Promise<{
|
|
194
217
|
account: {
|
|
195
218
|
id: string;
|
|
196
219
|
alias: string;
|
|
197
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
220
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
198
221
|
kind: "vault" | "eoa";
|
|
199
222
|
exchangeIdentifier: string;
|
|
200
223
|
createdAt: string;
|
|
@@ -218,7 +241,7 @@ declare class Core {
|
|
|
218
241
|
account: {
|
|
219
242
|
id: string;
|
|
220
243
|
alias: string;
|
|
221
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
244
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
222
245
|
kind: "vault" | "eoa";
|
|
223
246
|
exchangeIdentifier: string;
|
|
224
247
|
createdAt: string;
|
|
@@ -238,7 +261,7 @@ declare class Core {
|
|
|
238
261
|
account: {
|
|
239
262
|
id: string;
|
|
240
263
|
alias: string;
|
|
241
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
264
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
242
265
|
kind: "vault" | "eoa";
|
|
243
266
|
exchangeIdentifier: string;
|
|
244
267
|
createdAt: string;
|
|
@@ -258,7 +281,7 @@ declare class Core {
|
|
|
258
281
|
get: (query?: HttpTypes.QuoteFeeParamsInput, headers?: ClientHeaders) => Promise<{
|
|
259
282
|
baseBps: string;
|
|
260
283
|
discounts: {
|
|
261
|
-
scope: "
|
|
284
|
+
scope: "connector" | "all" | "user" | "client_id";
|
|
262
285
|
rate: string;
|
|
263
286
|
}[];
|
|
264
287
|
finalBps: string;
|
|
@@ -379,7 +402,7 @@ declare class Core {
|
|
|
379
402
|
limit: number;
|
|
380
403
|
executions: ({
|
|
381
404
|
id: string;
|
|
382
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
405
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
383
406
|
status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
|
|
384
407
|
createdAt: string;
|
|
385
408
|
updatedAt: string;
|
|
@@ -403,7 +426,7 @@ declare class Core {
|
|
|
403
426
|
error?: string | undefined;
|
|
404
427
|
orders?: {
|
|
405
428
|
id: string;
|
|
406
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
429
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
407
430
|
status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
|
|
408
431
|
createdAt: string;
|
|
409
432
|
updatedAt: string;
|
|
@@ -420,7 +443,7 @@ declare class Core {
|
|
|
420
443
|
}[] | undefined;
|
|
421
444
|
} | {
|
|
422
445
|
id: string;
|
|
423
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
446
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
424
447
|
status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
|
|
425
448
|
createdAt: string;
|
|
426
449
|
updatedAt: string;
|
|
@@ -448,7 +471,7 @@ declare class Core {
|
|
|
448
471
|
error?: string | undefined;
|
|
449
472
|
orders?: {
|
|
450
473
|
id: string;
|
|
451
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
474
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
452
475
|
status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
|
|
453
476
|
createdAt: string;
|
|
454
477
|
updatedAt: string;
|
|
@@ -465,7 +488,7 @@ declare class Core {
|
|
|
465
488
|
}[] | undefined;
|
|
466
489
|
} | {
|
|
467
490
|
id: string;
|
|
468
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
491
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
469
492
|
status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
|
|
470
493
|
createdAt: string;
|
|
471
494
|
updatedAt: string;
|
|
@@ -478,7 +501,7 @@ declare class Core {
|
|
|
478
501
|
error?: string | undefined;
|
|
479
502
|
orders?: {
|
|
480
503
|
id: string;
|
|
481
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
504
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
482
505
|
status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
|
|
483
506
|
createdAt: string;
|
|
484
507
|
updatedAt: string;
|
|
@@ -495,7 +518,7 @@ declare class Core {
|
|
|
495
518
|
}[] | undefined;
|
|
496
519
|
} | {
|
|
497
520
|
id: string;
|
|
498
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
521
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
499
522
|
status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
|
|
500
523
|
createdAt: string;
|
|
501
524
|
updatedAt: string;
|
|
@@ -508,7 +531,7 @@ declare class Core {
|
|
|
508
531
|
error?: string | undefined;
|
|
509
532
|
orders?: {
|
|
510
533
|
id: string;
|
|
511
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
534
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
512
535
|
status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
|
|
513
536
|
createdAt: string;
|
|
514
537
|
updatedAt: string;
|
|
@@ -529,7 +552,7 @@ declare class Core {
|
|
|
529
552
|
get: (id: string, headers?: ClientHeaders) => Promise<{
|
|
530
553
|
execution: {
|
|
531
554
|
id: string;
|
|
532
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
555
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
533
556
|
status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
|
|
534
557
|
createdAt: string;
|
|
535
558
|
updatedAt: string;
|
|
@@ -553,7 +576,7 @@ declare class Core {
|
|
|
553
576
|
error?: string | undefined;
|
|
554
577
|
orders?: {
|
|
555
578
|
id: string;
|
|
556
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
579
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
557
580
|
status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
|
|
558
581
|
createdAt: string;
|
|
559
582
|
updatedAt: string;
|
|
@@ -570,7 +593,7 @@ declare class Core {
|
|
|
570
593
|
}[] | undefined;
|
|
571
594
|
} | {
|
|
572
595
|
id: string;
|
|
573
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
596
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
574
597
|
status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
|
|
575
598
|
createdAt: string;
|
|
576
599
|
updatedAt: string;
|
|
@@ -598,7 +621,7 @@ declare class Core {
|
|
|
598
621
|
error?: string | undefined;
|
|
599
622
|
orders?: {
|
|
600
623
|
id: string;
|
|
601
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
624
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
602
625
|
status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
|
|
603
626
|
createdAt: string;
|
|
604
627
|
updatedAt: string;
|
|
@@ -615,7 +638,7 @@ declare class Core {
|
|
|
615
638
|
}[] | undefined;
|
|
616
639
|
} | {
|
|
617
640
|
id: string;
|
|
618
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
641
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
619
642
|
status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
|
|
620
643
|
createdAt: string;
|
|
621
644
|
updatedAt: string;
|
|
@@ -628,7 +651,7 @@ declare class Core {
|
|
|
628
651
|
error?: string | undefined;
|
|
629
652
|
orders?: {
|
|
630
653
|
id: string;
|
|
631
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
654
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
632
655
|
status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
|
|
633
656
|
createdAt: string;
|
|
634
657
|
updatedAt: string;
|
|
@@ -645,7 +668,7 @@ declare class Core {
|
|
|
645
668
|
}[] | undefined;
|
|
646
669
|
} | {
|
|
647
670
|
id: string;
|
|
648
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
671
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
649
672
|
status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
|
|
650
673
|
createdAt: string;
|
|
651
674
|
updatedAt: string;
|
|
@@ -658,7 +681,7 @@ declare class Core {
|
|
|
658
681
|
error?: string | undefined;
|
|
659
682
|
orders?: {
|
|
660
683
|
id: string;
|
|
661
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
684
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
662
685
|
status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
|
|
663
686
|
createdAt: string;
|
|
664
687
|
updatedAt: string;
|
|
@@ -684,7 +707,7 @@ declare class Core {
|
|
|
684
707
|
tradeAccountId: string;
|
|
685
708
|
symbol: string;
|
|
686
709
|
positionId: string;
|
|
687
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
710
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
688
711
|
side: "BUY" | "SELL";
|
|
689
712
|
reduceOnly: boolean;
|
|
690
713
|
isExternal: boolean;
|
|
@@ -711,7 +734,7 @@ declare class Core {
|
|
|
711
734
|
tradeAccountId: string;
|
|
712
735
|
symbol: string;
|
|
713
736
|
positionId: string;
|
|
714
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
737
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
715
738
|
side: "BUY" | "SELL";
|
|
716
739
|
reduceOnly: boolean;
|
|
717
740
|
isExternal: boolean;
|
|
@@ -754,7 +777,7 @@ declare class Core {
|
|
|
754
777
|
limit: number;
|
|
755
778
|
ladders: {
|
|
756
779
|
id: string;
|
|
757
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
780
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
758
781
|
positionKey: string;
|
|
759
782
|
config: {
|
|
760
783
|
thresholdStart: number;
|
|
@@ -766,7 +789,7 @@ declare class Core {
|
|
|
766
789
|
triggers: ({
|
|
767
790
|
id: string;
|
|
768
791
|
tradeAccountId: string;
|
|
769
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
792
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
770
793
|
status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
|
|
771
794
|
bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
|
|
772
795
|
createdAt: string;
|
|
@@ -805,7 +828,7 @@ declare class Core {
|
|
|
805
828
|
} | {
|
|
806
829
|
type: "funding_rate";
|
|
807
830
|
data: {
|
|
808
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
831
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
809
832
|
symbol: string;
|
|
810
833
|
track: "PEAK" | "TROUGH";
|
|
811
834
|
threshold: number;
|
|
@@ -858,7 +881,7 @@ declare class Core {
|
|
|
858
881
|
tradeAccountId: string;
|
|
859
882
|
symbol: string;
|
|
860
883
|
positionId: string;
|
|
861
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
884
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
862
885
|
side: "BUY" | "SELL";
|
|
863
886
|
reduceOnly: boolean;
|
|
864
887
|
isExternal: boolean;
|
|
@@ -880,7 +903,7 @@ declare class Core {
|
|
|
880
903
|
} | {
|
|
881
904
|
id: string;
|
|
882
905
|
tradeAccountId: string;
|
|
883
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
906
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
884
907
|
status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
|
|
885
908
|
bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
|
|
886
909
|
createdAt: string;
|
|
@@ -940,7 +963,7 @@ declare class Core {
|
|
|
940
963
|
} | {
|
|
941
964
|
type: "funding_rate";
|
|
942
965
|
data: {
|
|
943
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
966
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
944
967
|
symbol: string;
|
|
945
968
|
track: "PEAK" | "TROUGH";
|
|
946
969
|
threshold: number;
|
|
@@ -995,7 +1018,7 @@ declare class Core {
|
|
|
995
1018
|
tradeAccountId: string;
|
|
996
1019
|
symbol: string;
|
|
997
1020
|
positionId: string;
|
|
998
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
1021
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
999
1022
|
side: "BUY" | "SELL";
|
|
1000
1023
|
reduceOnly: boolean;
|
|
1001
1024
|
isExternal: boolean;
|
|
@@ -1025,7 +1048,7 @@ declare class Core {
|
|
|
1025
1048
|
} | {
|
|
1026
1049
|
id: string;
|
|
1027
1050
|
tradeAccountId: string;
|
|
1028
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
1051
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
1029
1052
|
status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
|
|
1030
1053
|
bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
|
|
1031
1054
|
createdAt: string;
|
|
@@ -1123,7 +1146,7 @@ declare class Core {
|
|
|
1123
1146
|
} | {
|
|
1124
1147
|
type: "funding_rate";
|
|
1125
1148
|
data: {
|
|
1126
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
1149
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
1127
1150
|
symbol: string;
|
|
1128
1151
|
track: "PEAK" | "TROUGH";
|
|
1129
1152
|
threshold: number;
|
|
@@ -1163,7 +1186,7 @@ declare class Core {
|
|
|
1163
1186
|
tradeAccountId: string;
|
|
1164
1187
|
symbol: string;
|
|
1165
1188
|
positionId: string;
|
|
1166
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
1189
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
1167
1190
|
side: "BUY" | "SELL";
|
|
1168
1191
|
reduceOnly: boolean;
|
|
1169
1192
|
isExternal: boolean;
|
|
@@ -1193,7 +1216,7 @@ declare class Core {
|
|
|
1193
1216
|
} | {
|
|
1194
1217
|
id: string;
|
|
1195
1218
|
tradeAccountId: string;
|
|
1196
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
1219
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
1197
1220
|
status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
|
|
1198
1221
|
bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
|
|
1199
1222
|
createdAt: string;
|
|
@@ -1253,7 +1276,7 @@ declare class Core {
|
|
|
1253
1276
|
} | {
|
|
1254
1277
|
type: "funding_rate";
|
|
1255
1278
|
data: {
|
|
1256
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
1279
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
1257
1280
|
symbol: string;
|
|
1258
1281
|
track: "PEAK" | "TROUGH";
|
|
1259
1282
|
threshold: number;
|
|
@@ -1311,7 +1334,7 @@ declare class Core {
|
|
|
1311
1334
|
tradeAccountId: string;
|
|
1312
1335
|
symbol: string;
|
|
1313
1336
|
positionId: string;
|
|
1314
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
1337
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
1315
1338
|
side: "BUY" | "SELL";
|
|
1316
1339
|
reduceOnly: boolean;
|
|
1317
1340
|
isExternal: boolean;
|
|
@@ -1342,7 +1365,7 @@ declare class Core {
|
|
|
1342
1365
|
} | {
|
|
1343
1366
|
id: string;
|
|
1344
1367
|
tradeAccountId: string;
|
|
1345
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
1368
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
1346
1369
|
status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
|
|
1347
1370
|
bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
|
|
1348
1371
|
createdAt: string;
|
|
@@ -1440,7 +1463,7 @@ declare class Core {
|
|
|
1440
1463
|
} | {
|
|
1441
1464
|
type: "funding_rate";
|
|
1442
1465
|
data: {
|
|
1443
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
1466
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
1444
1467
|
symbol: string;
|
|
1445
1468
|
track: "PEAK" | "TROUGH";
|
|
1446
1469
|
threshold: number;
|
|
@@ -1486,7 +1509,7 @@ declare class Core {
|
|
|
1486
1509
|
tradeAccountId: string;
|
|
1487
1510
|
symbol: string;
|
|
1488
1511
|
positionId: string;
|
|
1489
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
1512
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
1490
1513
|
side: "BUY" | "SELL";
|
|
1491
1514
|
reduceOnly: boolean;
|
|
1492
1515
|
isExternal: boolean;
|
|
@@ -1571,7 +1594,7 @@ declare class Core {
|
|
|
1571
1594
|
create: (body: HttpTypes.CreateLadder, headers?: ClientHeaders) => Promise<{
|
|
1572
1595
|
ladder: {
|
|
1573
1596
|
id: string;
|
|
1574
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
1597
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
1575
1598
|
positionKey: string;
|
|
1576
1599
|
config: {
|
|
1577
1600
|
thresholdStart: number;
|
|
@@ -1583,7 +1606,7 @@ declare class Core {
|
|
|
1583
1606
|
triggers: ({
|
|
1584
1607
|
id: string;
|
|
1585
1608
|
tradeAccountId: string;
|
|
1586
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
1609
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
1587
1610
|
status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
|
|
1588
1611
|
bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
|
|
1589
1612
|
createdAt: string;
|
|
@@ -1622,7 +1645,7 @@ declare class Core {
|
|
|
1622
1645
|
} | {
|
|
1623
1646
|
type: "funding_rate";
|
|
1624
1647
|
data: {
|
|
1625
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
1648
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
1626
1649
|
symbol: string;
|
|
1627
1650
|
track: "PEAK" | "TROUGH";
|
|
1628
1651
|
threshold: number;
|
|
@@ -1675,7 +1698,7 @@ declare class Core {
|
|
|
1675
1698
|
tradeAccountId: string;
|
|
1676
1699
|
symbol: string;
|
|
1677
1700
|
positionId: string;
|
|
1678
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
1701
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
1679
1702
|
side: "BUY" | "SELL";
|
|
1680
1703
|
reduceOnly: boolean;
|
|
1681
1704
|
isExternal: boolean;
|
|
@@ -1697,7 +1720,7 @@ declare class Core {
|
|
|
1697
1720
|
} | {
|
|
1698
1721
|
id: string;
|
|
1699
1722
|
tradeAccountId: string;
|
|
1700
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
1723
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
1701
1724
|
status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
|
|
1702
1725
|
bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
|
|
1703
1726
|
createdAt: string;
|
|
@@ -1757,7 +1780,7 @@ declare class Core {
|
|
|
1757
1780
|
} | {
|
|
1758
1781
|
type: "funding_rate";
|
|
1759
1782
|
data: {
|
|
1760
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
1783
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
1761
1784
|
symbol: string;
|
|
1762
1785
|
track: "PEAK" | "TROUGH";
|
|
1763
1786
|
threshold: number;
|
|
@@ -1812,7 +1835,7 @@ declare class Core {
|
|
|
1812
1835
|
tradeAccountId: string;
|
|
1813
1836
|
symbol: string;
|
|
1814
1837
|
positionId: string;
|
|
1815
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
1838
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
1816
1839
|
side: "BUY" | "SELL";
|
|
1817
1840
|
reduceOnly: boolean;
|
|
1818
1841
|
isExternal: boolean;
|
|
@@ -1842,7 +1865,7 @@ declare class Core {
|
|
|
1842
1865
|
} | {
|
|
1843
1866
|
id: string;
|
|
1844
1867
|
tradeAccountId: string;
|
|
1845
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
1868
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
1846
1869
|
status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
|
|
1847
1870
|
bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
|
|
1848
1871
|
createdAt: string;
|
|
@@ -1940,7 +1963,7 @@ declare class Core {
|
|
|
1940
1963
|
} | {
|
|
1941
1964
|
type: "funding_rate";
|
|
1942
1965
|
data: {
|
|
1943
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
1966
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
1944
1967
|
symbol: string;
|
|
1945
1968
|
track: "PEAK" | "TROUGH";
|
|
1946
1969
|
threshold: number;
|
|
@@ -1980,7 +2003,7 @@ declare class Core {
|
|
|
1980
2003
|
tradeAccountId: string;
|
|
1981
2004
|
symbol: string;
|
|
1982
2005
|
positionId: string;
|
|
1983
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
2006
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
1984
2007
|
side: "BUY" | "SELL";
|
|
1985
2008
|
reduceOnly: boolean;
|
|
1986
2009
|
isExternal: boolean;
|
|
@@ -2010,7 +2033,7 @@ declare class Core {
|
|
|
2010
2033
|
} | {
|
|
2011
2034
|
id: string;
|
|
2012
2035
|
tradeAccountId: string;
|
|
2013
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
2036
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
2014
2037
|
status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
|
|
2015
2038
|
bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
|
|
2016
2039
|
createdAt: string;
|
|
@@ -2070,7 +2093,7 @@ declare class Core {
|
|
|
2070
2093
|
} | {
|
|
2071
2094
|
type: "funding_rate";
|
|
2072
2095
|
data: {
|
|
2073
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
2096
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
2074
2097
|
symbol: string;
|
|
2075
2098
|
track: "PEAK" | "TROUGH";
|
|
2076
2099
|
threshold: number;
|
|
@@ -2128,7 +2151,7 @@ declare class Core {
|
|
|
2128
2151
|
tradeAccountId: string;
|
|
2129
2152
|
symbol: string;
|
|
2130
2153
|
positionId: string;
|
|
2131
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
2154
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
2132
2155
|
side: "BUY" | "SELL";
|
|
2133
2156
|
reduceOnly: boolean;
|
|
2134
2157
|
isExternal: boolean;
|
|
@@ -2159,7 +2182,7 @@ declare class Core {
|
|
|
2159
2182
|
} | {
|
|
2160
2183
|
id: string;
|
|
2161
2184
|
tradeAccountId: string;
|
|
2162
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
2185
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
2163
2186
|
status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
|
|
2164
2187
|
bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
|
|
2165
2188
|
createdAt: string;
|
|
@@ -2257,7 +2280,7 @@ declare class Core {
|
|
|
2257
2280
|
} | {
|
|
2258
2281
|
type: "funding_rate";
|
|
2259
2282
|
data: {
|
|
2260
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
2283
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
2261
2284
|
symbol: string;
|
|
2262
2285
|
track: "PEAK" | "TROUGH";
|
|
2263
2286
|
threshold: number;
|
|
@@ -2303,7 +2326,7 @@ declare class Core {
|
|
|
2303
2326
|
tradeAccountId: string;
|
|
2304
2327
|
symbol: string;
|
|
2305
2328
|
positionId: string;
|
|
2306
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
2329
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
2307
2330
|
side: "BUY" | "SELL";
|
|
2308
2331
|
reduceOnly: boolean;
|
|
2309
2332
|
isExternal: boolean;
|
|
@@ -2387,7 +2410,7 @@ declare class Core {
|
|
|
2387
2410
|
get: (ladderId: string, headers?: ClientHeaders) => Promise<{
|
|
2388
2411
|
ladder: {
|
|
2389
2412
|
id: string;
|
|
2390
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
2413
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
2391
2414
|
positionKey: string;
|
|
2392
2415
|
config: {
|
|
2393
2416
|
thresholdStart: number;
|
|
@@ -2399,7 +2422,7 @@ declare class Core {
|
|
|
2399
2422
|
triggers: ({
|
|
2400
2423
|
id: string;
|
|
2401
2424
|
tradeAccountId: string;
|
|
2402
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
2425
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
2403
2426
|
status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
|
|
2404
2427
|
bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
|
|
2405
2428
|
createdAt: string;
|
|
@@ -2438,7 +2461,7 @@ declare class Core {
|
|
|
2438
2461
|
} | {
|
|
2439
2462
|
type: "funding_rate";
|
|
2440
2463
|
data: {
|
|
2441
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
2464
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
2442
2465
|
symbol: string;
|
|
2443
2466
|
track: "PEAK" | "TROUGH";
|
|
2444
2467
|
threshold: number;
|
|
@@ -2491,7 +2514,7 @@ declare class Core {
|
|
|
2491
2514
|
tradeAccountId: string;
|
|
2492
2515
|
symbol: string;
|
|
2493
2516
|
positionId: string;
|
|
2494
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
2517
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
2495
2518
|
side: "BUY" | "SELL";
|
|
2496
2519
|
reduceOnly: boolean;
|
|
2497
2520
|
isExternal: boolean;
|
|
@@ -2513,7 +2536,7 @@ declare class Core {
|
|
|
2513
2536
|
} | {
|
|
2514
2537
|
id: string;
|
|
2515
2538
|
tradeAccountId: string;
|
|
2516
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
2539
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
2517
2540
|
status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
|
|
2518
2541
|
bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
|
|
2519
2542
|
createdAt: string;
|
|
@@ -2573,7 +2596,7 @@ declare class Core {
|
|
|
2573
2596
|
} | {
|
|
2574
2597
|
type: "funding_rate";
|
|
2575
2598
|
data: {
|
|
2576
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
2599
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
2577
2600
|
symbol: string;
|
|
2578
2601
|
track: "PEAK" | "TROUGH";
|
|
2579
2602
|
threshold: number;
|
|
@@ -2628,7 +2651,7 @@ declare class Core {
|
|
|
2628
2651
|
tradeAccountId: string;
|
|
2629
2652
|
symbol: string;
|
|
2630
2653
|
positionId: string;
|
|
2631
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
2654
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
2632
2655
|
side: "BUY" | "SELL";
|
|
2633
2656
|
reduceOnly: boolean;
|
|
2634
2657
|
isExternal: boolean;
|
|
@@ -2658,7 +2681,7 @@ declare class Core {
|
|
|
2658
2681
|
} | {
|
|
2659
2682
|
id: string;
|
|
2660
2683
|
tradeAccountId: string;
|
|
2661
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
2684
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
2662
2685
|
status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
|
|
2663
2686
|
bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
|
|
2664
2687
|
createdAt: string;
|
|
@@ -2756,7 +2779,7 @@ declare class Core {
|
|
|
2756
2779
|
} | {
|
|
2757
2780
|
type: "funding_rate";
|
|
2758
2781
|
data: {
|
|
2759
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
2782
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
2760
2783
|
symbol: string;
|
|
2761
2784
|
track: "PEAK" | "TROUGH";
|
|
2762
2785
|
threshold: number;
|
|
@@ -2796,7 +2819,7 @@ declare class Core {
|
|
|
2796
2819
|
tradeAccountId: string;
|
|
2797
2820
|
symbol: string;
|
|
2798
2821
|
positionId: string;
|
|
2799
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
2822
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
2800
2823
|
side: "BUY" | "SELL";
|
|
2801
2824
|
reduceOnly: boolean;
|
|
2802
2825
|
isExternal: boolean;
|
|
@@ -2826,7 +2849,7 @@ declare class Core {
|
|
|
2826
2849
|
} | {
|
|
2827
2850
|
id: string;
|
|
2828
2851
|
tradeAccountId: string;
|
|
2829
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
2852
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
2830
2853
|
status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
|
|
2831
2854
|
bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
|
|
2832
2855
|
createdAt: string;
|
|
@@ -2886,7 +2909,7 @@ declare class Core {
|
|
|
2886
2909
|
} | {
|
|
2887
2910
|
type: "funding_rate";
|
|
2888
2911
|
data: {
|
|
2889
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
2912
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
2890
2913
|
symbol: string;
|
|
2891
2914
|
track: "PEAK" | "TROUGH";
|
|
2892
2915
|
threshold: number;
|
|
@@ -2944,7 +2967,7 @@ declare class Core {
|
|
|
2944
2967
|
tradeAccountId: string;
|
|
2945
2968
|
symbol: string;
|
|
2946
2969
|
positionId: string;
|
|
2947
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
2970
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
2948
2971
|
side: "BUY" | "SELL";
|
|
2949
2972
|
reduceOnly: boolean;
|
|
2950
2973
|
isExternal: boolean;
|
|
@@ -2975,7 +2998,7 @@ declare class Core {
|
|
|
2975
2998
|
} | {
|
|
2976
2999
|
id: string;
|
|
2977
3000
|
tradeAccountId: string;
|
|
2978
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
3001
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
2979
3002
|
status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
|
|
2980
3003
|
bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
|
|
2981
3004
|
createdAt: string;
|
|
@@ -3073,7 +3096,7 @@ declare class Core {
|
|
|
3073
3096
|
} | {
|
|
3074
3097
|
type: "funding_rate";
|
|
3075
3098
|
data: {
|
|
3076
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
3099
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
3077
3100
|
symbol: string;
|
|
3078
3101
|
track: "PEAK" | "TROUGH";
|
|
3079
3102
|
threshold: number;
|
|
@@ -3119,7 +3142,7 @@ declare class Core {
|
|
|
3119
3142
|
tradeAccountId: string;
|
|
3120
3143
|
symbol: string;
|
|
3121
3144
|
positionId: string;
|
|
3122
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
3145
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
3123
3146
|
side: "BUY" | "SELL";
|
|
3124
3147
|
reduceOnly: boolean;
|
|
3125
3148
|
isExternal: boolean;
|
|
@@ -3210,7 +3233,7 @@ declare class Core {
|
|
|
3210
3233
|
id: string;
|
|
3211
3234
|
base: string;
|
|
3212
3235
|
quote: string;
|
|
3213
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
3236
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
3214
3237
|
type: "spot" | "perp" | "hip3";
|
|
3215
3238
|
leverage: number;
|
|
3216
3239
|
marginMode: "any" | "isolated" | "cross";
|
|
@@ -3255,7 +3278,7 @@ declare class Core {
|
|
|
3255
3278
|
markets: {
|
|
3256
3279
|
list: (query: HttpTypes.MarketsQueryParamsInput, headers?: ClientHeaders) => Promise<{
|
|
3257
3280
|
markets: {
|
|
3258
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
3281
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
3259
3282
|
instrumentId: string;
|
|
3260
3283
|
displaySymbol: string;
|
|
3261
3284
|
base: string;
|
|
@@ -3282,7 +3305,7 @@ declare class Core {
|
|
|
3282
3305
|
offset: number;
|
|
3283
3306
|
count: number;
|
|
3284
3307
|
markets: {
|
|
3285
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
3308
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
3286
3309
|
basketKey: string;
|
|
3287
3310
|
displaySymbol: string;
|
|
3288
3311
|
legs: {
|
|
@@ -3327,7 +3350,7 @@ declare class Core {
|
|
|
3327
3350
|
type: "take_profit";
|
|
3328
3351
|
triggerId: string;
|
|
3329
3352
|
positionId: string;
|
|
3330
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
3353
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
3331
3354
|
semanticBracketType?: "STOP_LOSS" | "TAKE_PROFIT" | undefined;
|
|
3332
3355
|
metric?: "price" | "ratio" | "weighted_ratio" | "funding_rate" | "prediction_market" | "btc_dominance" | "notional" | "upnl" | "upnl_bps" | "ratio_trailing" | "price_trailing" | "weighted_ratio_trailing" | "notional_trailing" | "upnl_trailing" | "upnl_bps_trailing" | undefined;
|
|
3333
3356
|
level?: number | undefined;
|
|
@@ -3341,7 +3364,7 @@ declare class Core {
|
|
|
3341
3364
|
type: "stop_loss";
|
|
3342
3365
|
triggerId: string;
|
|
3343
3366
|
positionId: string;
|
|
3344
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
3367
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
3345
3368
|
semanticBracketType?: "STOP_LOSS" | "TAKE_PROFIT" | undefined;
|
|
3346
3369
|
metric?: "price" | "ratio" | "weighted_ratio" | "funding_rate" | "prediction_market" | "btc_dominance" | "notional" | "upnl" | "upnl_bps" | "ratio_trailing" | "price_trailing" | "weighted_ratio_trailing" | "notional_trailing" | "upnl_trailing" | "upnl_bps_trailing" | undefined;
|
|
3347
3370
|
level?: number | undefined;
|
|
@@ -3355,7 +3378,7 @@ declare class Core {
|
|
|
3355
3378
|
type: "trigger_order";
|
|
3356
3379
|
triggerId: string;
|
|
3357
3380
|
positionId: string;
|
|
3358
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
3381
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
3359
3382
|
metric?: "price" | "ratio" | "weighted_ratio" | "funding_rate" | "prediction_market" | "btc_dominance" | "notional" | "upnl" | "upnl_bps" | "ratio_trailing" | "price_trailing" | "weighted_ratio_trailing" | "notional_trailing" | "upnl_trailing" | "upnl_bps_trailing" | undefined;
|
|
3360
3383
|
level?: number | undefined;
|
|
3361
3384
|
reason?: string | undefined;
|
|
@@ -3367,7 +3390,7 @@ declare class Core {
|
|
|
3367
3390
|
}[];
|
|
3368
3391
|
type: "default_trigger";
|
|
3369
3392
|
triggerId: string;
|
|
3370
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
3393
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
3371
3394
|
metric?: "price" | "ratio" | "weighted_ratio" | "funding_rate" | "prediction_market" | "btc_dominance" | "notional" | "upnl" | "upnl_bps" | "ratio_trailing" | "price_trailing" | "weighted_ratio_trailing" | "notional_trailing" | "upnl_trailing" | "upnl_bps_trailing" | undefined;
|
|
3372
3395
|
level?: number | undefined;
|
|
3373
3396
|
reason?: string | undefined;
|
|
@@ -3380,7 +3403,7 @@ declare class Core {
|
|
|
3380
3403
|
type: "attached_trigger_discarded";
|
|
3381
3404
|
positionId: string;
|
|
3382
3405
|
positionKey: string;
|
|
3383
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
3406
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
3384
3407
|
discarded: {
|
|
3385
3408
|
bracketType: "STOP_LOSS" | "TAKE_PROFIT";
|
|
3386
3409
|
metric: "price" | "ratio" | "weighted_ratio" | "funding_rate" | "prediction_market" | "btc_dominance" | "notional" | "upnl" | "upnl_bps" | "ratio_trailing" | "price_trailing" | "weighted_ratio_trailing" | "notional_trailing" | "upnl_trailing" | "upnl_bps_trailing";
|
|
@@ -3401,7 +3424,7 @@ declare class Core {
|
|
|
3401
3424
|
configId: string;
|
|
3402
3425
|
positionId: string;
|
|
3403
3426
|
positionKey: string;
|
|
3404
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
3427
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
3405
3428
|
weightSource: "INITIAL_WEIGHT" | "LIVE_BETA";
|
|
3406
3429
|
type: "auto_rebalance_executed";
|
|
3407
3430
|
} | {
|
|
@@ -3417,7 +3440,7 @@ declare class Core {
|
|
|
3417
3440
|
configId: string;
|
|
3418
3441
|
positionId: string;
|
|
3419
3442
|
positionKey: string;
|
|
3420
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
3443
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
3421
3444
|
weightSource: "INITIAL_WEIGHT" | "LIVE_BETA";
|
|
3422
3445
|
type: "auto_rebalance_failed";
|
|
3423
3446
|
} | {
|
|
@@ -3430,7 +3453,7 @@ declare class Core {
|
|
|
3430
3453
|
configId: string;
|
|
3431
3454
|
positionId: string;
|
|
3432
3455
|
positionKey: string;
|
|
3433
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
3456
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
3434
3457
|
weightSource: "INITIAL_WEIGHT" | "LIVE_BETA";
|
|
3435
3458
|
type: "auto_rebalance_paused";
|
|
3436
3459
|
} | {
|
|
@@ -3441,7 +3464,7 @@ declare class Core {
|
|
|
3441
3464
|
}[];
|
|
3442
3465
|
triggerId: string;
|
|
3443
3466
|
positionId: string;
|
|
3444
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
3467
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
3445
3468
|
type: "trigger_twap_started";
|
|
3446
3469
|
scheduleId: string;
|
|
3447
3470
|
} | {
|
|
@@ -3452,7 +3475,7 @@ declare class Core {
|
|
|
3452
3475
|
}[];
|
|
3453
3476
|
triggerId: string;
|
|
3454
3477
|
positionId: string;
|
|
3455
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
3478
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
3456
3479
|
type: "trigger_twap_skipped";
|
|
3457
3480
|
reason: string;
|
|
3458
3481
|
} | {
|
|
@@ -3463,7 +3486,7 @@ declare class Core {
|
|
|
3463
3486
|
}[];
|
|
3464
3487
|
triggerId: string;
|
|
3465
3488
|
positionId: string;
|
|
3466
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
3489
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
3467
3490
|
type: "trigger_twap_failed";
|
|
3468
3491
|
reason: string;
|
|
3469
3492
|
scheduleId?: string | undefined;
|
|
@@ -3475,7 +3498,7 @@ declare class Core {
|
|
|
3475
3498
|
}[];
|
|
3476
3499
|
triggerId: string;
|
|
3477
3500
|
positionId: string;
|
|
3478
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
3501
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
3479
3502
|
type: "trigger_twap_position_changed";
|
|
3480
3503
|
scheduleId: string;
|
|
3481
3504
|
reason: string;
|
|
@@ -3515,7 +3538,7 @@ declare class Core {
|
|
|
3515
3538
|
positions: {
|
|
3516
3539
|
id: string;
|
|
3517
3540
|
tradeAccountId: string;
|
|
3518
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
3541
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
3519
3542
|
status: "OPEN" | "CLOSED";
|
|
3520
3543
|
origin: "PARTIAL" | "PEAR" | "EXTERNAL";
|
|
3521
3544
|
exposure: Record<string, `-${string}` | `+${string}`>;
|
|
@@ -3538,7 +3561,7 @@ declare class Core {
|
|
|
3538
3561
|
exposure: Record<string, `-${string}` | `+${string}`>;
|
|
3539
3562
|
status: "OPEN";
|
|
3540
3563
|
origin: "PARTIAL" | "PEAR" | "EXTERNAL";
|
|
3541
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
3564
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
3542
3565
|
}[];
|
|
3543
3566
|
}>;
|
|
3544
3567
|
/**
|
|
@@ -3553,7 +3576,7 @@ declare class Core {
|
|
|
3553
3576
|
limit: number;
|
|
3554
3577
|
positions: {
|
|
3555
3578
|
positionId: string;
|
|
3556
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
3579
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
3557
3580
|
status: "CLOSED";
|
|
3558
3581
|
openedAt: string;
|
|
3559
3582
|
closedAt: string;
|
|
@@ -3633,7 +3656,7 @@ declare class Core {
|
|
|
3633
3656
|
limit: number;
|
|
3634
3657
|
positions: {
|
|
3635
3658
|
positionId: string;
|
|
3636
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
3659
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
3637
3660
|
status: "OPEN";
|
|
3638
3661
|
openedAt: string;
|
|
3639
3662
|
updatedAt: string;
|
|
@@ -3709,14 +3732,14 @@ declare class Core {
|
|
|
3709
3732
|
limit: number;
|
|
3710
3733
|
groups: {
|
|
3711
3734
|
id: string;
|
|
3712
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
3735
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
3713
3736
|
at: string;
|
|
3714
3737
|
netCashflow: `-${string}` | `+${string}`;
|
|
3715
3738
|
trades: {
|
|
3716
3739
|
id: string;
|
|
3717
3740
|
positionId: string;
|
|
3718
3741
|
symbol: string;
|
|
3719
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
3742
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
3720
3743
|
side: "BUY" | "SELL";
|
|
3721
3744
|
quantity: string;
|
|
3722
3745
|
price: string;
|
|
@@ -4199,7 +4222,7 @@ declare class Core {
|
|
|
4199
4222
|
limit: number;
|
|
4200
4223
|
schedules: ({
|
|
4201
4224
|
id: string;
|
|
4202
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
4225
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
4203
4226
|
status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "FAILED";
|
|
4204
4227
|
positionKey: string;
|
|
4205
4228
|
executionType: "MARKET";
|
|
@@ -4232,7 +4255,7 @@ declare class Core {
|
|
|
4232
4255
|
tradeAccountId: string;
|
|
4233
4256
|
symbol: string;
|
|
4234
4257
|
positionId: string;
|
|
4235
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
4258
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
4236
4259
|
side: "BUY" | "SELL";
|
|
4237
4260
|
reduceOnly: boolean;
|
|
4238
4261
|
isExternal: boolean;
|
|
@@ -4252,7 +4275,7 @@ declare class Core {
|
|
|
4252
4275
|
}[] | undefined;
|
|
4253
4276
|
} | {
|
|
4254
4277
|
id: string;
|
|
4255
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
4278
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
4256
4279
|
status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "FAILED";
|
|
4257
4280
|
positionKey: string;
|
|
4258
4281
|
executionType: "MARKET";
|
|
@@ -4279,7 +4302,7 @@ declare class Core {
|
|
|
4279
4302
|
tradeAccountId: string;
|
|
4280
4303
|
symbol: string;
|
|
4281
4304
|
positionId: string;
|
|
4282
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
4305
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
4283
4306
|
side: "BUY" | "SELL";
|
|
4284
4307
|
reduceOnly: boolean;
|
|
4285
4308
|
isExternal: boolean;
|
|
@@ -4303,7 +4326,7 @@ declare class Core {
|
|
|
4303
4326
|
create: (body: HttpTypes.CreateSchedule, headers?: ClientHeaders) => Promise<{
|
|
4304
4327
|
schedule: {
|
|
4305
4328
|
id: string;
|
|
4306
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
4329
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
4307
4330
|
status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "FAILED";
|
|
4308
4331
|
positionKey: string;
|
|
4309
4332
|
executionType: "MARKET";
|
|
@@ -4336,7 +4359,7 @@ declare class Core {
|
|
|
4336
4359
|
tradeAccountId: string;
|
|
4337
4360
|
symbol: string;
|
|
4338
4361
|
positionId: string;
|
|
4339
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
4362
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
4340
4363
|
side: "BUY" | "SELL";
|
|
4341
4364
|
reduceOnly: boolean;
|
|
4342
4365
|
isExternal: boolean;
|
|
@@ -4356,7 +4379,7 @@ declare class Core {
|
|
|
4356
4379
|
}[] | undefined;
|
|
4357
4380
|
} | {
|
|
4358
4381
|
id: string;
|
|
4359
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
4382
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
4360
4383
|
status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "FAILED";
|
|
4361
4384
|
positionKey: string;
|
|
4362
4385
|
executionType: "MARKET";
|
|
@@ -4383,7 +4406,7 @@ declare class Core {
|
|
|
4383
4406
|
tradeAccountId: string;
|
|
4384
4407
|
symbol: string;
|
|
4385
4408
|
positionId: string;
|
|
4386
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
4409
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
4387
4410
|
side: "BUY" | "SELL";
|
|
4388
4411
|
reduceOnly: boolean;
|
|
4389
4412
|
isExternal: boolean;
|
|
@@ -4438,7 +4461,7 @@ declare class Core {
|
|
|
4438
4461
|
open: (body: HttpTypes.CreateTradeOpen, headers?: ClientHeaders) => Promise<{
|
|
4439
4462
|
execution: {
|
|
4440
4463
|
id: string;
|
|
4441
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
4464
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
4442
4465
|
status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
|
|
4443
4466
|
createdAt: string;
|
|
4444
4467
|
updatedAt: string;
|
|
@@ -4462,7 +4485,7 @@ declare class Core {
|
|
|
4462
4485
|
error?: string | undefined;
|
|
4463
4486
|
orders?: {
|
|
4464
4487
|
id: string;
|
|
4465
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
4488
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
4466
4489
|
status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
|
|
4467
4490
|
createdAt: string;
|
|
4468
4491
|
updatedAt: string;
|
|
@@ -4479,7 +4502,7 @@ declare class Core {
|
|
|
4479
4502
|
}[] | undefined;
|
|
4480
4503
|
} | {
|
|
4481
4504
|
id: string;
|
|
4482
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
4505
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
4483
4506
|
status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
|
|
4484
4507
|
createdAt: string;
|
|
4485
4508
|
updatedAt: string;
|
|
@@ -4507,7 +4530,7 @@ declare class Core {
|
|
|
4507
4530
|
error?: string | undefined;
|
|
4508
4531
|
orders?: {
|
|
4509
4532
|
id: string;
|
|
4510
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
4533
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
4511
4534
|
status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
|
|
4512
4535
|
createdAt: string;
|
|
4513
4536
|
updatedAt: string;
|
|
@@ -4524,7 +4547,7 @@ declare class Core {
|
|
|
4524
4547
|
}[] | undefined;
|
|
4525
4548
|
} | {
|
|
4526
4549
|
id: string;
|
|
4527
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
4550
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
4528
4551
|
status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
|
|
4529
4552
|
createdAt: string;
|
|
4530
4553
|
updatedAt: string;
|
|
@@ -4537,7 +4560,7 @@ declare class Core {
|
|
|
4537
4560
|
error?: string | undefined;
|
|
4538
4561
|
orders?: {
|
|
4539
4562
|
id: string;
|
|
4540
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
4563
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
4541
4564
|
status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
|
|
4542
4565
|
createdAt: string;
|
|
4543
4566
|
updatedAt: string;
|
|
@@ -4554,7 +4577,7 @@ declare class Core {
|
|
|
4554
4577
|
}[] | undefined;
|
|
4555
4578
|
} | {
|
|
4556
4579
|
id: string;
|
|
4557
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
4580
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
4558
4581
|
status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
|
|
4559
4582
|
createdAt: string;
|
|
4560
4583
|
updatedAt: string;
|
|
@@ -4567,7 +4590,7 @@ declare class Core {
|
|
|
4567
4590
|
error?: string | undefined;
|
|
4568
4591
|
orders?: {
|
|
4569
4592
|
id: string;
|
|
4570
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
4593
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
4571
4594
|
status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
|
|
4572
4595
|
createdAt: string;
|
|
4573
4596
|
updatedAt: string;
|
|
@@ -4587,7 +4610,7 @@ declare class Core {
|
|
|
4587
4610
|
adjust: (positionId: string, body: HttpTypes.CreateTradeAdjust, headers?: ClientHeaders) => Promise<{
|
|
4588
4611
|
execution: {
|
|
4589
4612
|
id: string;
|
|
4590
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
4613
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
4591
4614
|
status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
|
|
4592
4615
|
createdAt: string;
|
|
4593
4616
|
updatedAt: string;
|
|
@@ -4611,7 +4634,7 @@ declare class Core {
|
|
|
4611
4634
|
error?: string | undefined;
|
|
4612
4635
|
orders?: {
|
|
4613
4636
|
id: string;
|
|
4614
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
4637
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
4615
4638
|
status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
|
|
4616
4639
|
createdAt: string;
|
|
4617
4640
|
updatedAt: string;
|
|
@@ -4628,7 +4651,7 @@ declare class Core {
|
|
|
4628
4651
|
}[] | undefined;
|
|
4629
4652
|
} | {
|
|
4630
4653
|
id: string;
|
|
4631
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
4654
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
4632
4655
|
status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
|
|
4633
4656
|
createdAt: string;
|
|
4634
4657
|
updatedAt: string;
|
|
@@ -4656,7 +4679,7 @@ declare class Core {
|
|
|
4656
4679
|
error?: string | undefined;
|
|
4657
4680
|
orders?: {
|
|
4658
4681
|
id: string;
|
|
4659
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
4682
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
4660
4683
|
status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
|
|
4661
4684
|
createdAt: string;
|
|
4662
4685
|
updatedAt: string;
|
|
@@ -4673,7 +4696,7 @@ declare class Core {
|
|
|
4673
4696
|
}[] | undefined;
|
|
4674
4697
|
} | {
|
|
4675
4698
|
id: string;
|
|
4676
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
4699
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
4677
4700
|
status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
|
|
4678
4701
|
createdAt: string;
|
|
4679
4702
|
updatedAt: string;
|
|
@@ -4686,7 +4709,7 @@ declare class Core {
|
|
|
4686
4709
|
error?: string | undefined;
|
|
4687
4710
|
orders?: {
|
|
4688
4711
|
id: string;
|
|
4689
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
4712
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
4690
4713
|
status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
|
|
4691
4714
|
createdAt: string;
|
|
4692
4715
|
updatedAt: string;
|
|
@@ -4703,7 +4726,7 @@ declare class Core {
|
|
|
4703
4726
|
}[] | undefined;
|
|
4704
4727
|
} | {
|
|
4705
4728
|
id: string;
|
|
4706
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
4729
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
4707
4730
|
status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
|
|
4708
4731
|
createdAt: string;
|
|
4709
4732
|
updatedAt: string;
|
|
@@ -4716,7 +4739,7 @@ declare class Core {
|
|
|
4716
4739
|
error?: string | undefined;
|
|
4717
4740
|
orders?: {
|
|
4718
4741
|
id: string;
|
|
4719
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
4742
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
4720
4743
|
status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
|
|
4721
4744
|
createdAt: string;
|
|
4722
4745
|
updatedAt: string;
|
|
@@ -4736,7 +4759,7 @@ declare class Core {
|
|
|
4736
4759
|
close: (positionId: string, body: HttpTypes.CreateTradeClose, headers?: ClientHeaders) => Promise<{
|
|
4737
4760
|
execution: {
|
|
4738
4761
|
id: string;
|
|
4739
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
4762
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
4740
4763
|
status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
|
|
4741
4764
|
createdAt: string;
|
|
4742
4765
|
updatedAt: string;
|
|
@@ -4760,7 +4783,7 @@ declare class Core {
|
|
|
4760
4783
|
error?: string | undefined;
|
|
4761
4784
|
orders?: {
|
|
4762
4785
|
id: string;
|
|
4763
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
4786
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
4764
4787
|
status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
|
|
4765
4788
|
createdAt: string;
|
|
4766
4789
|
updatedAt: string;
|
|
@@ -4777,7 +4800,7 @@ declare class Core {
|
|
|
4777
4800
|
}[] | undefined;
|
|
4778
4801
|
} | {
|
|
4779
4802
|
id: string;
|
|
4780
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
4803
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
4781
4804
|
status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
|
|
4782
4805
|
createdAt: string;
|
|
4783
4806
|
updatedAt: string;
|
|
@@ -4805,7 +4828,7 @@ declare class Core {
|
|
|
4805
4828
|
error?: string | undefined;
|
|
4806
4829
|
orders?: {
|
|
4807
4830
|
id: string;
|
|
4808
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
4831
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
4809
4832
|
status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
|
|
4810
4833
|
createdAt: string;
|
|
4811
4834
|
updatedAt: string;
|
|
@@ -4822,7 +4845,7 @@ declare class Core {
|
|
|
4822
4845
|
}[] | undefined;
|
|
4823
4846
|
} | {
|
|
4824
4847
|
id: string;
|
|
4825
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
4848
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
4826
4849
|
status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
|
|
4827
4850
|
createdAt: string;
|
|
4828
4851
|
updatedAt: string;
|
|
@@ -4835,7 +4858,7 @@ declare class Core {
|
|
|
4835
4858
|
error?: string | undefined;
|
|
4836
4859
|
orders?: {
|
|
4837
4860
|
id: string;
|
|
4838
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
4861
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
4839
4862
|
status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
|
|
4840
4863
|
createdAt: string;
|
|
4841
4864
|
updatedAt: string;
|
|
@@ -4852,7 +4875,7 @@ declare class Core {
|
|
|
4852
4875
|
}[] | undefined;
|
|
4853
4876
|
} | {
|
|
4854
4877
|
id: string;
|
|
4855
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
4878
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
4856
4879
|
status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
|
|
4857
4880
|
createdAt: string;
|
|
4858
4881
|
updatedAt: string;
|
|
@@ -4865,7 +4888,7 @@ declare class Core {
|
|
|
4865
4888
|
error?: string | undefined;
|
|
4866
4889
|
orders?: {
|
|
4867
4890
|
id: string;
|
|
4868
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
4891
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
4869
4892
|
status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
|
|
4870
4893
|
createdAt: string;
|
|
4871
4894
|
updatedAt: string;
|
|
@@ -4885,7 +4908,7 @@ declare class Core {
|
|
|
4885
4908
|
reverse: (positionId: string, body: HttpTypes.CreateTradeReverse, headers?: ClientHeaders) => Promise<{
|
|
4886
4909
|
execution: {
|
|
4887
4910
|
id: string;
|
|
4888
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
4911
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
4889
4912
|
status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
|
|
4890
4913
|
createdAt: string;
|
|
4891
4914
|
updatedAt: string;
|
|
@@ -4909,7 +4932,7 @@ declare class Core {
|
|
|
4909
4932
|
error?: string | undefined;
|
|
4910
4933
|
orders?: {
|
|
4911
4934
|
id: string;
|
|
4912
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
4935
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
4913
4936
|
status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
|
|
4914
4937
|
createdAt: string;
|
|
4915
4938
|
updatedAt: string;
|
|
@@ -4926,7 +4949,7 @@ declare class Core {
|
|
|
4926
4949
|
}[] | undefined;
|
|
4927
4950
|
} | {
|
|
4928
4951
|
id: string;
|
|
4929
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
4952
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
4930
4953
|
status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
|
|
4931
4954
|
createdAt: string;
|
|
4932
4955
|
updatedAt: string;
|
|
@@ -4954,7 +4977,7 @@ declare class Core {
|
|
|
4954
4977
|
error?: string | undefined;
|
|
4955
4978
|
orders?: {
|
|
4956
4979
|
id: string;
|
|
4957
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
4980
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
4958
4981
|
status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
|
|
4959
4982
|
createdAt: string;
|
|
4960
4983
|
updatedAt: string;
|
|
@@ -4971,7 +4994,7 @@ declare class Core {
|
|
|
4971
4994
|
}[] | undefined;
|
|
4972
4995
|
} | {
|
|
4973
4996
|
id: string;
|
|
4974
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
4997
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
4975
4998
|
status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
|
|
4976
4999
|
createdAt: string;
|
|
4977
5000
|
updatedAt: string;
|
|
@@ -4984,7 +5007,7 @@ declare class Core {
|
|
|
4984
5007
|
error?: string | undefined;
|
|
4985
5008
|
orders?: {
|
|
4986
5009
|
id: string;
|
|
4987
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
5010
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
4988
5011
|
status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
|
|
4989
5012
|
createdAt: string;
|
|
4990
5013
|
updatedAt: string;
|
|
@@ -5001,7 +5024,7 @@ declare class Core {
|
|
|
5001
5024
|
}[] | undefined;
|
|
5002
5025
|
} | {
|
|
5003
5026
|
id: string;
|
|
5004
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
5027
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
5005
5028
|
status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
|
|
5006
5029
|
createdAt: string;
|
|
5007
5030
|
updatedAt: string;
|
|
@@ -5014,7 +5037,7 @@ declare class Core {
|
|
|
5014
5037
|
error?: string | undefined;
|
|
5015
5038
|
orders?: {
|
|
5016
5039
|
id: string;
|
|
5017
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
5040
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
5018
5041
|
status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
|
|
5019
5042
|
createdAt: string;
|
|
5020
5043
|
updatedAt: string;
|
|
@@ -5034,7 +5057,7 @@ declare class Core {
|
|
|
5034
5057
|
closeAll: (body: HttpTypes.CreateTradeCloseAll, headers?: ClientHeaders) => Promise<{
|
|
5035
5058
|
executions: ({
|
|
5036
5059
|
id: string;
|
|
5037
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
5060
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
5038
5061
|
status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
|
|
5039
5062
|
createdAt: string;
|
|
5040
5063
|
updatedAt: string;
|
|
@@ -5058,7 +5081,7 @@ declare class Core {
|
|
|
5058
5081
|
error?: string | undefined;
|
|
5059
5082
|
orders?: {
|
|
5060
5083
|
id: string;
|
|
5061
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
5084
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
5062
5085
|
status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
|
|
5063
5086
|
createdAt: string;
|
|
5064
5087
|
updatedAt: string;
|
|
@@ -5075,7 +5098,7 @@ declare class Core {
|
|
|
5075
5098
|
}[] | undefined;
|
|
5076
5099
|
} | {
|
|
5077
5100
|
id: string;
|
|
5078
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
5101
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
5079
5102
|
status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
|
|
5080
5103
|
createdAt: string;
|
|
5081
5104
|
updatedAt: string;
|
|
@@ -5103,7 +5126,7 @@ declare class Core {
|
|
|
5103
5126
|
error?: string | undefined;
|
|
5104
5127
|
orders?: {
|
|
5105
5128
|
id: string;
|
|
5106
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
5129
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
5107
5130
|
status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
|
|
5108
5131
|
createdAt: string;
|
|
5109
5132
|
updatedAt: string;
|
|
@@ -5120,7 +5143,7 @@ declare class Core {
|
|
|
5120
5143
|
}[] | undefined;
|
|
5121
5144
|
} | {
|
|
5122
5145
|
id: string;
|
|
5123
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
5146
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
5124
5147
|
status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
|
|
5125
5148
|
createdAt: string;
|
|
5126
5149
|
updatedAt: string;
|
|
@@ -5133,7 +5156,7 @@ declare class Core {
|
|
|
5133
5156
|
error?: string | undefined;
|
|
5134
5157
|
orders?: {
|
|
5135
5158
|
id: string;
|
|
5136
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
5159
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
5137
5160
|
status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
|
|
5138
5161
|
createdAt: string;
|
|
5139
5162
|
updatedAt: string;
|
|
@@ -5150,7 +5173,7 @@ declare class Core {
|
|
|
5150
5173
|
}[] | undefined;
|
|
5151
5174
|
} | {
|
|
5152
5175
|
id: string;
|
|
5153
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
5176
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
5154
5177
|
status: "CANCELLED" | "ACTIVE" | "COMPLETED" | "IDLE" | "FAILED";
|
|
5155
5178
|
createdAt: string;
|
|
5156
5179
|
updatedAt: string;
|
|
@@ -5163,7 +5186,7 @@ declare class Core {
|
|
|
5163
5186
|
error?: string | undefined;
|
|
5164
5187
|
orders?: {
|
|
5165
5188
|
id: string;
|
|
5166
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
5189
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
5167
5190
|
status: "CANCELLED" | "PENDING" | "PARTIAL" | "FILLED" | "REJECTED";
|
|
5168
5191
|
createdAt: string;
|
|
5169
5192
|
updatedAt: string;
|
|
@@ -5192,7 +5215,7 @@ declare class Core {
|
|
|
5192
5215
|
triggers: ({
|
|
5193
5216
|
id: string;
|
|
5194
5217
|
tradeAccountId: string;
|
|
5195
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
5218
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
5196
5219
|
status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
|
|
5197
5220
|
bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
|
|
5198
5221
|
createdAt: string;
|
|
@@ -5231,7 +5254,7 @@ declare class Core {
|
|
|
5231
5254
|
} | {
|
|
5232
5255
|
type: "funding_rate";
|
|
5233
5256
|
data: {
|
|
5234
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
5257
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
5235
5258
|
symbol: string;
|
|
5236
5259
|
track: "PEAK" | "TROUGH";
|
|
5237
5260
|
threshold: number;
|
|
@@ -5284,7 +5307,7 @@ declare class Core {
|
|
|
5284
5307
|
tradeAccountId: string;
|
|
5285
5308
|
symbol: string;
|
|
5286
5309
|
positionId: string;
|
|
5287
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
5310
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
5288
5311
|
side: "BUY" | "SELL";
|
|
5289
5312
|
reduceOnly: boolean;
|
|
5290
5313
|
isExternal: boolean;
|
|
@@ -5306,7 +5329,7 @@ declare class Core {
|
|
|
5306
5329
|
} | {
|
|
5307
5330
|
id: string;
|
|
5308
5331
|
tradeAccountId: string;
|
|
5309
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
5332
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
5310
5333
|
status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
|
|
5311
5334
|
bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
|
|
5312
5335
|
createdAt: string;
|
|
@@ -5366,7 +5389,7 @@ declare class Core {
|
|
|
5366
5389
|
} | {
|
|
5367
5390
|
type: "funding_rate";
|
|
5368
5391
|
data: {
|
|
5369
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
5392
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
5370
5393
|
symbol: string;
|
|
5371
5394
|
track: "PEAK" | "TROUGH";
|
|
5372
5395
|
threshold: number;
|
|
@@ -5421,7 +5444,7 @@ declare class Core {
|
|
|
5421
5444
|
tradeAccountId: string;
|
|
5422
5445
|
symbol: string;
|
|
5423
5446
|
positionId: string;
|
|
5424
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
5447
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
5425
5448
|
side: "BUY" | "SELL";
|
|
5426
5449
|
reduceOnly: boolean;
|
|
5427
5450
|
isExternal: boolean;
|
|
@@ -5451,7 +5474,7 @@ declare class Core {
|
|
|
5451
5474
|
} | {
|
|
5452
5475
|
id: string;
|
|
5453
5476
|
tradeAccountId: string;
|
|
5454
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
5477
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
5455
5478
|
status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
|
|
5456
5479
|
bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
|
|
5457
5480
|
createdAt: string;
|
|
@@ -5549,7 +5572,7 @@ declare class Core {
|
|
|
5549
5572
|
} | {
|
|
5550
5573
|
type: "funding_rate";
|
|
5551
5574
|
data: {
|
|
5552
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
5575
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
5553
5576
|
symbol: string;
|
|
5554
5577
|
track: "PEAK" | "TROUGH";
|
|
5555
5578
|
threshold: number;
|
|
@@ -5589,7 +5612,7 @@ declare class Core {
|
|
|
5589
5612
|
tradeAccountId: string;
|
|
5590
5613
|
symbol: string;
|
|
5591
5614
|
positionId: string;
|
|
5592
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
5615
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
5593
5616
|
side: "BUY" | "SELL";
|
|
5594
5617
|
reduceOnly: boolean;
|
|
5595
5618
|
isExternal: boolean;
|
|
@@ -5619,7 +5642,7 @@ declare class Core {
|
|
|
5619
5642
|
} | {
|
|
5620
5643
|
id: string;
|
|
5621
5644
|
tradeAccountId: string;
|
|
5622
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
5645
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
5623
5646
|
status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
|
|
5624
5647
|
bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
|
|
5625
5648
|
createdAt: string;
|
|
@@ -5679,7 +5702,7 @@ declare class Core {
|
|
|
5679
5702
|
} | {
|
|
5680
5703
|
type: "funding_rate";
|
|
5681
5704
|
data: {
|
|
5682
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
5705
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
5683
5706
|
symbol: string;
|
|
5684
5707
|
track: "PEAK" | "TROUGH";
|
|
5685
5708
|
threshold: number;
|
|
@@ -5737,7 +5760,7 @@ declare class Core {
|
|
|
5737
5760
|
tradeAccountId: string;
|
|
5738
5761
|
symbol: string;
|
|
5739
5762
|
positionId: string;
|
|
5740
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
5763
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
5741
5764
|
side: "BUY" | "SELL";
|
|
5742
5765
|
reduceOnly: boolean;
|
|
5743
5766
|
isExternal: boolean;
|
|
@@ -5768,7 +5791,7 @@ declare class Core {
|
|
|
5768
5791
|
} | {
|
|
5769
5792
|
id: string;
|
|
5770
5793
|
tradeAccountId: string;
|
|
5771
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
5794
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
5772
5795
|
status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
|
|
5773
5796
|
bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
|
|
5774
5797
|
createdAt: string;
|
|
@@ -5866,7 +5889,7 @@ declare class Core {
|
|
|
5866
5889
|
} | {
|
|
5867
5890
|
type: "funding_rate";
|
|
5868
5891
|
data: {
|
|
5869
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
5892
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
5870
5893
|
symbol: string;
|
|
5871
5894
|
track: "PEAK" | "TROUGH";
|
|
5872
5895
|
threshold: number;
|
|
@@ -5912,7 +5935,7 @@ declare class Core {
|
|
|
5912
5935
|
tradeAccountId: string;
|
|
5913
5936
|
symbol: string;
|
|
5914
5937
|
positionId: string;
|
|
5915
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
5938
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
5916
5939
|
side: "BUY" | "SELL";
|
|
5917
5940
|
reduceOnly: boolean;
|
|
5918
5941
|
isExternal: boolean;
|
|
@@ -5947,7 +5970,7 @@ declare class Core {
|
|
|
5947
5970
|
trigger: {
|
|
5948
5971
|
id: string;
|
|
5949
5972
|
tradeAccountId: string;
|
|
5950
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
5973
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
5951
5974
|
status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
|
|
5952
5975
|
bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
|
|
5953
5976
|
createdAt: string;
|
|
@@ -5986,7 +6009,7 @@ declare class Core {
|
|
|
5986
6009
|
} | {
|
|
5987
6010
|
type: "funding_rate";
|
|
5988
6011
|
data: {
|
|
5989
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
6012
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
5990
6013
|
symbol: string;
|
|
5991
6014
|
track: "PEAK" | "TROUGH";
|
|
5992
6015
|
threshold: number;
|
|
@@ -6039,7 +6062,7 @@ declare class Core {
|
|
|
6039
6062
|
tradeAccountId: string;
|
|
6040
6063
|
symbol: string;
|
|
6041
6064
|
positionId: string;
|
|
6042
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
6065
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
6043
6066
|
side: "BUY" | "SELL";
|
|
6044
6067
|
reduceOnly: boolean;
|
|
6045
6068
|
isExternal: boolean;
|
|
@@ -6061,7 +6084,7 @@ declare class Core {
|
|
|
6061
6084
|
} | {
|
|
6062
6085
|
id: string;
|
|
6063
6086
|
tradeAccountId: string;
|
|
6064
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
6087
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
6065
6088
|
status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
|
|
6066
6089
|
bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
|
|
6067
6090
|
createdAt: string;
|
|
@@ -6121,7 +6144,7 @@ declare class Core {
|
|
|
6121
6144
|
} | {
|
|
6122
6145
|
type: "funding_rate";
|
|
6123
6146
|
data: {
|
|
6124
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
6147
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
6125
6148
|
symbol: string;
|
|
6126
6149
|
track: "PEAK" | "TROUGH";
|
|
6127
6150
|
threshold: number;
|
|
@@ -6176,7 +6199,7 @@ declare class Core {
|
|
|
6176
6199
|
tradeAccountId: string;
|
|
6177
6200
|
symbol: string;
|
|
6178
6201
|
positionId: string;
|
|
6179
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
6202
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
6180
6203
|
side: "BUY" | "SELL";
|
|
6181
6204
|
reduceOnly: boolean;
|
|
6182
6205
|
isExternal: boolean;
|
|
@@ -6206,7 +6229,7 @@ declare class Core {
|
|
|
6206
6229
|
} | {
|
|
6207
6230
|
id: string;
|
|
6208
6231
|
tradeAccountId: string;
|
|
6209
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
6232
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
6210
6233
|
status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
|
|
6211
6234
|
bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
|
|
6212
6235
|
createdAt: string;
|
|
@@ -6304,7 +6327,7 @@ declare class Core {
|
|
|
6304
6327
|
} | {
|
|
6305
6328
|
type: "funding_rate";
|
|
6306
6329
|
data: {
|
|
6307
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
6330
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
6308
6331
|
symbol: string;
|
|
6309
6332
|
track: "PEAK" | "TROUGH";
|
|
6310
6333
|
threshold: number;
|
|
@@ -6344,7 +6367,7 @@ declare class Core {
|
|
|
6344
6367
|
tradeAccountId: string;
|
|
6345
6368
|
symbol: string;
|
|
6346
6369
|
positionId: string;
|
|
6347
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
6370
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
6348
6371
|
side: "BUY" | "SELL";
|
|
6349
6372
|
reduceOnly: boolean;
|
|
6350
6373
|
isExternal: boolean;
|
|
@@ -6374,7 +6397,7 @@ declare class Core {
|
|
|
6374
6397
|
} | {
|
|
6375
6398
|
id: string;
|
|
6376
6399
|
tradeAccountId: string;
|
|
6377
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
6400
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
6378
6401
|
status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
|
|
6379
6402
|
bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
|
|
6380
6403
|
createdAt: string;
|
|
@@ -6434,7 +6457,7 @@ declare class Core {
|
|
|
6434
6457
|
} | {
|
|
6435
6458
|
type: "funding_rate";
|
|
6436
6459
|
data: {
|
|
6437
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
6460
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
6438
6461
|
symbol: string;
|
|
6439
6462
|
track: "PEAK" | "TROUGH";
|
|
6440
6463
|
threshold: number;
|
|
@@ -6492,7 +6515,7 @@ declare class Core {
|
|
|
6492
6515
|
tradeAccountId: string;
|
|
6493
6516
|
symbol: string;
|
|
6494
6517
|
positionId: string;
|
|
6495
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
6518
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
6496
6519
|
side: "BUY" | "SELL";
|
|
6497
6520
|
reduceOnly: boolean;
|
|
6498
6521
|
isExternal: boolean;
|
|
@@ -6523,7 +6546,7 @@ declare class Core {
|
|
|
6523
6546
|
} | {
|
|
6524
6547
|
id: string;
|
|
6525
6548
|
tradeAccountId: string;
|
|
6526
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
6549
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
6527
6550
|
status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
|
|
6528
6551
|
bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
|
|
6529
6552
|
createdAt: string;
|
|
@@ -6621,7 +6644,7 @@ declare class Core {
|
|
|
6621
6644
|
} | {
|
|
6622
6645
|
type: "funding_rate";
|
|
6623
6646
|
data: {
|
|
6624
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
6647
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
6625
6648
|
symbol: string;
|
|
6626
6649
|
track: "PEAK" | "TROUGH";
|
|
6627
6650
|
threshold: number;
|
|
@@ -6667,7 +6690,7 @@ declare class Core {
|
|
|
6667
6690
|
tradeAccountId: string;
|
|
6668
6691
|
symbol: string;
|
|
6669
6692
|
positionId: string;
|
|
6670
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
6693
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
6671
6694
|
side: "BUY" | "SELL";
|
|
6672
6695
|
reduceOnly: boolean;
|
|
6673
6696
|
isExternal: boolean;
|
|
@@ -6701,7 +6724,7 @@ declare class Core {
|
|
|
6701
6724
|
trigger: {
|
|
6702
6725
|
id: string;
|
|
6703
6726
|
tradeAccountId: string;
|
|
6704
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
6727
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
6705
6728
|
status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
|
|
6706
6729
|
bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
|
|
6707
6730
|
createdAt: string;
|
|
@@ -6740,7 +6763,7 @@ declare class Core {
|
|
|
6740
6763
|
} | {
|
|
6741
6764
|
type: "funding_rate";
|
|
6742
6765
|
data: {
|
|
6743
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
6766
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
6744
6767
|
symbol: string;
|
|
6745
6768
|
track: "PEAK" | "TROUGH";
|
|
6746
6769
|
threshold: number;
|
|
@@ -6793,7 +6816,7 @@ declare class Core {
|
|
|
6793
6816
|
tradeAccountId: string;
|
|
6794
6817
|
symbol: string;
|
|
6795
6818
|
positionId: string;
|
|
6796
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
6819
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
6797
6820
|
side: "BUY" | "SELL";
|
|
6798
6821
|
reduceOnly: boolean;
|
|
6799
6822
|
isExternal: boolean;
|
|
@@ -6815,7 +6838,7 @@ declare class Core {
|
|
|
6815
6838
|
} | {
|
|
6816
6839
|
id: string;
|
|
6817
6840
|
tradeAccountId: string;
|
|
6818
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
6841
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
6819
6842
|
status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
|
|
6820
6843
|
bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
|
|
6821
6844
|
createdAt: string;
|
|
@@ -6875,7 +6898,7 @@ declare class Core {
|
|
|
6875
6898
|
} | {
|
|
6876
6899
|
type: "funding_rate";
|
|
6877
6900
|
data: {
|
|
6878
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
6901
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
6879
6902
|
symbol: string;
|
|
6880
6903
|
track: "PEAK" | "TROUGH";
|
|
6881
6904
|
threshold: number;
|
|
@@ -6930,7 +6953,7 @@ declare class Core {
|
|
|
6930
6953
|
tradeAccountId: string;
|
|
6931
6954
|
symbol: string;
|
|
6932
6955
|
positionId: string;
|
|
6933
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
6956
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
6934
6957
|
side: "BUY" | "SELL";
|
|
6935
6958
|
reduceOnly: boolean;
|
|
6936
6959
|
isExternal: boolean;
|
|
@@ -6960,7 +6983,7 @@ declare class Core {
|
|
|
6960
6983
|
} | {
|
|
6961
6984
|
id: string;
|
|
6962
6985
|
tradeAccountId: string;
|
|
6963
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
6986
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
6964
6987
|
status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
|
|
6965
6988
|
bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
|
|
6966
6989
|
createdAt: string;
|
|
@@ -7058,7 +7081,7 @@ declare class Core {
|
|
|
7058
7081
|
} | {
|
|
7059
7082
|
type: "funding_rate";
|
|
7060
7083
|
data: {
|
|
7061
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
7084
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
7062
7085
|
symbol: string;
|
|
7063
7086
|
track: "PEAK" | "TROUGH";
|
|
7064
7087
|
threshold: number;
|
|
@@ -7098,7 +7121,7 @@ declare class Core {
|
|
|
7098
7121
|
tradeAccountId: string;
|
|
7099
7122
|
symbol: string;
|
|
7100
7123
|
positionId: string;
|
|
7101
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
7124
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
7102
7125
|
side: "BUY" | "SELL";
|
|
7103
7126
|
reduceOnly: boolean;
|
|
7104
7127
|
isExternal: boolean;
|
|
@@ -7128,7 +7151,7 @@ declare class Core {
|
|
|
7128
7151
|
} | {
|
|
7129
7152
|
id: string;
|
|
7130
7153
|
tradeAccountId: string;
|
|
7131
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
7154
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
7132
7155
|
status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
|
|
7133
7156
|
bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
|
|
7134
7157
|
createdAt: string;
|
|
@@ -7188,7 +7211,7 @@ declare class Core {
|
|
|
7188
7211
|
} | {
|
|
7189
7212
|
type: "funding_rate";
|
|
7190
7213
|
data: {
|
|
7191
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
7214
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
7192
7215
|
symbol: string;
|
|
7193
7216
|
track: "PEAK" | "TROUGH";
|
|
7194
7217
|
threshold: number;
|
|
@@ -7246,7 +7269,7 @@ declare class Core {
|
|
|
7246
7269
|
tradeAccountId: string;
|
|
7247
7270
|
symbol: string;
|
|
7248
7271
|
positionId: string;
|
|
7249
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
7272
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
7250
7273
|
side: "BUY" | "SELL";
|
|
7251
7274
|
reduceOnly: boolean;
|
|
7252
7275
|
isExternal: boolean;
|
|
@@ -7277,7 +7300,7 @@ declare class Core {
|
|
|
7277
7300
|
} | {
|
|
7278
7301
|
id: string;
|
|
7279
7302
|
tradeAccountId: string;
|
|
7280
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
7303
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
7281
7304
|
status: "CANCELLED" | "ACTIVE" | "TRIGGERED";
|
|
7282
7305
|
bracketType: "STOP_LOSS" | "TAKE_PROFIT" | "NONE";
|
|
7283
7306
|
createdAt: string;
|
|
@@ -7375,7 +7398,7 @@ declare class Core {
|
|
|
7375
7398
|
} | {
|
|
7376
7399
|
type: "funding_rate";
|
|
7377
7400
|
data: {
|
|
7378
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
7401
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
7379
7402
|
symbol: string;
|
|
7380
7403
|
track: "PEAK" | "TROUGH";
|
|
7381
7404
|
threshold: number;
|
|
@@ -7421,7 +7444,7 @@ declare class Core {
|
|
|
7421
7444
|
tradeAccountId: string;
|
|
7422
7445
|
symbol: string;
|
|
7423
7446
|
positionId: string;
|
|
7424
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
7447
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
7425
7448
|
side: "BUY" | "SELL";
|
|
7426
7449
|
reduceOnly: boolean;
|
|
7427
7450
|
isExternal: boolean;
|
|
@@ -7487,6 +7510,39 @@ declare class Core {
|
|
|
7487
7510
|
};
|
|
7488
7511
|
misc: {
|
|
7489
7512
|
lighter: {
|
|
7513
|
+
/** Mints the Fun.xyz universal deposit addresses that credit a wallet's Lighter account. */
|
|
7514
|
+
createUda: (body: HttpTypes.CreateLighterUdaParams, headers?: ClientHeaders) => Promise<{
|
|
7515
|
+
uda: {
|
|
7516
|
+
status: "blocked";
|
|
7517
|
+
} | {
|
|
7518
|
+
status: "served";
|
|
7519
|
+
depositAddr: string;
|
|
7520
|
+
resolved: {
|
|
7521
|
+
toChainId: string;
|
|
7522
|
+
toTokenAddress: string;
|
|
7523
|
+
actionType: string;
|
|
7524
|
+
recipientAddr: string;
|
|
7525
|
+
userId: string;
|
|
7526
|
+
};
|
|
7527
|
+
solanaAddr?: string | undefined;
|
|
7528
|
+
tronAddr?: string | undefined;
|
|
7529
|
+
btcAddrSegwit?: string | undefined;
|
|
7530
|
+
};
|
|
7531
|
+
}>;
|
|
7532
|
+
/** Reads the deposits the Fun.xyz bridge has seen for one wallet. */
|
|
7533
|
+
listUdaDeposits: (walletAddress: string, headers?: ClientHeaders) => Promise<{
|
|
7534
|
+
transactions: {
|
|
7535
|
+
fromChainId: string;
|
|
7536
|
+
fromTokenAddress: string;
|
|
7537
|
+
fromAmountBaseUnit: string;
|
|
7538
|
+
toChainId: string;
|
|
7539
|
+
toTokenAddress: string;
|
|
7540
|
+
status: string;
|
|
7541
|
+
depositAddr: string;
|
|
7542
|
+
txHash?: string | undefined;
|
|
7543
|
+
createdTimeMs?: number | undefined;
|
|
7544
|
+
}[];
|
|
7545
|
+
}>;
|
|
7490
7546
|
createApiKey: (body: HttpTypes.CreateLighterApiKeyParams, headers?: ClientHeaders) => Promise<{
|
|
7491
7547
|
privateKey: string;
|
|
7492
7548
|
publicKey: string;
|
|
@@ -7507,14 +7563,14 @@ declare class Core {
|
|
|
7507
7563
|
createAuthToken: (body: HttpTypes.CreateAuthTokenParams, headers?: ClientHeaders) => Promise<{
|
|
7508
7564
|
token: string;
|
|
7509
7565
|
}>;
|
|
7510
|
-
/** Prepares a fast
|
|
7566
|
+
/** Prepares a fast collateral withdrawal for L1 wallet authorization. */
|
|
7511
7567
|
prepareFastWithdraw: (body: HttpTypes.PrepareLighterFastWithdrawParams, headers?: ClientHeaders) => Promise<{
|
|
7512
7568
|
messageToSign: string;
|
|
7513
7569
|
txInfo: string;
|
|
7514
7570
|
fee: number;
|
|
7515
7571
|
availableBalance: number;
|
|
7516
7572
|
}>;
|
|
7517
|
-
/** Submits a wallet-authorized fast
|
|
7573
|
+
/** Submits a wallet-authorized fast collateral withdrawal. */
|
|
7518
7574
|
submitFastWithdraw: (body: HttpTypes.SubmitLighterFastWithdrawParams, headers?: ClientHeaders) => Promise<{
|
|
7519
7575
|
txHash: string;
|
|
7520
7576
|
}>;
|
|
@@ -7522,41 +7578,50 @@ declare class Core {
|
|
|
7522
7578
|
changeAccountTier: (body: HttpTypes.ChangeLighterAccountTierParams, headers?: ClientHeaders) => Promise<{
|
|
7523
7579
|
tier: "standard" | "plus" | "premium";
|
|
7524
7580
|
}>;
|
|
7525
|
-
|
|
7526
|
-
|
|
7527
|
-
|
|
7528
|
-
|
|
7529
|
-
|
|
7530
|
-
|
|
7531
|
-
|
|
7532
|
-
|
|
7533
|
-
toChainId: string;
|
|
7534
|
-
toTokenAddress: string;
|
|
7535
|
-
actionType: string;
|
|
7536
|
-
recipientAddr: string;
|
|
7537
|
-
userId: string;
|
|
7538
|
-
};
|
|
7539
|
-
solanaAddr?: string | undefined;
|
|
7540
|
-
tronAddr?: string | undefined;
|
|
7541
|
-
btcAddrSegwit?: string | undefined;
|
|
7542
|
-
};
|
|
7581
|
+
};
|
|
7582
|
+
lighterRhc: {
|
|
7583
|
+
createApiKey: (body: HttpTypes.CreateLighterApiKeyParams, headers?: ClientHeaders) => Promise<{
|
|
7584
|
+
privateKey: string;
|
|
7585
|
+
publicKey: string;
|
|
7586
|
+
apiKeyIndex: number;
|
|
7587
|
+
messageToSign: string;
|
|
7588
|
+
txInfo: string;
|
|
7543
7589
|
}>;
|
|
7544
|
-
|
|
7545
|
-
|
|
7546
|
-
|
|
7547
|
-
|
|
7548
|
-
|
|
7549
|
-
|
|
7550
|
-
|
|
7551
|
-
|
|
7552
|
-
|
|
7553
|
-
|
|
7554
|
-
|
|
7555
|
-
|
|
7556
|
-
|
|
7590
|
+
changePubKey: (body: HttpTypes.SubmitChangePubKeyParams, headers?: ClientHeaders) => Promise<{
|
|
7591
|
+
txHash: string;
|
|
7592
|
+
}>;
|
|
7593
|
+
prepareApproveIntegrator: (body: HttpTypes.PrepareApproveIntegratorParams, headers?: ClientHeaders) => Promise<{
|
|
7594
|
+
messageToSign: string;
|
|
7595
|
+
txInfo: string;
|
|
7596
|
+
}>;
|
|
7597
|
+
submitApproveIntegrator: (body: HttpTypes.SubmitApproveIntegratorParams, headers?: ClientHeaders) => Promise<{
|
|
7598
|
+
txHash: string;
|
|
7599
|
+
}>;
|
|
7600
|
+
createAuthToken: (body: HttpTypes.CreateAuthTokenParams, headers?: ClientHeaders) => Promise<{
|
|
7601
|
+
token: string;
|
|
7602
|
+
}>;
|
|
7603
|
+
/** Prepares a fast collateral withdrawal for L1 wallet authorization. */
|
|
7604
|
+
prepareFastWithdraw: (body: HttpTypes.PrepareLighterFastWithdrawParams, headers?: ClientHeaders) => Promise<{
|
|
7605
|
+
messageToSign: string;
|
|
7606
|
+
txInfo: string;
|
|
7607
|
+
fee: number;
|
|
7608
|
+
availableBalance: number;
|
|
7609
|
+
}>;
|
|
7610
|
+
/** Submits a wallet-authorized fast collateral withdrawal. */
|
|
7611
|
+
submitFastWithdraw: (body: HttpTypes.SubmitLighterFastWithdrawParams, headers?: ClientHeaders) => Promise<{
|
|
7612
|
+
txHash: string;
|
|
7613
|
+
}>;
|
|
7614
|
+
/** Moves a Lighter account onto the standard, plus, or premium tier. */
|
|
7615
|
+
changeAccountTier: (body: HttpTypes.ChangeLighterAccountTierParams, headers?: ClientHeaders) => Promise<{
|
|
7616
|
+
tier: "standard" | "plus" | "premium";
|
|
7557
7617
|
}>;
|
|
7558
7618
|
};
|
|
7559
7619
|
};
|
|
7620
|
+
/**
|
|
7621
|
+
* The signer routes every Lighter deployment exposes, bound to one deployment's base path.
|
|
7622
|
+
* zkLighter and Robinhood Chain share this whole surface; only the deployment behind it differs.
|
|
7623
|
+
*/
|
|
7624
|
+
private buildLighterMiscRoutes;
|
|
7560
7625
|
statistics: {
|
|
7561
7626
|
volume: (query: HttpTypes.VolumeStatisticsQueryParamsInput, headers?: ClientHeaders) => Promise<{
|
|
7562
7627
|
data: {
|
|
@@ -7587,7 +7652,7 @@ declare class Core {
|
|
|
7587
7652
|
data: {
|
|
7588
7653
|
tradeAccountId: string;
|
|
7589
7654
|
userId: string;
|
|
7590
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
7655
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
7591
7656
|
volume: string;
|
|
7592
7657
|
grossRealizedPnl: string;
|
|
7593
7658
|
grossUpnl: string;
|
|
@@ -7610,7 +7675,7 @@ declare class Core {
|
|
|
7610
7675
|
id: string;
|
|
7611
7676
|
fillId: string;
|
|
7612
7677
|
tradeAccountId: string;
|
|
7613
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
7678
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
7614
7679
|
symbol: string;
|
|
7615
7680
|
status: "FINAL";
|
|
7616
7681
|
createdAt: string;
|
|
@@ -7642,7 +7707,7 @@ declare class Core {
|
|
|
7642
7707
|
id: string;
|
|
7643
7708
|
executionId: string;
|
|
7644
7709
|
legIndex: number;
|
|
7645
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
7710
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
7646
7711
|
symbol: string;
|
|
7647
7712
|
side: "BUY" | "SELL";
|
|
7648
7713
|
source: string;
|
|
@@ -7664,7 +7729,7 @@ declare class Core {
|
|
|
7664
7729
|
id: string;
|
|
7665
7730
|
executionId: string;
|
|
7666
7731
|
tradeAccountId: string;
|
|
7667
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
7732
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
7668
7733
|
fillCount: number;
|
|
7669
7734
|
status: "FINAL";
|
|
7670
7735
|
createdAt: string;
|
|
@@ -7697,7 +7762,7 @@ declare class Core {
|
|
|
7697
7762
|
id: string;
|
|
7698
7763
|
fillId: string;
|
|
7699
7764
|
tradeAccountId: string;
|
|
7700
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
7765
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
7701
7766
|
symbol: string;
|
|
7702
7767
|
status: "FINAL";
|
|
7703
7768
|
createdAt: string;
|
|
@@ -7729,7 +7794,7 @@ declare class Core {
|
|
|
7729
7794
|
id: string;
|
|
7730
7795
|
executionId: string;
|
|
7731
7796
|
legIndex: number;
|
|
7732
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
7797
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
7733
7798
|
symbol: string;
|
|
7734
7799
|
side: "BUY" | "SELL";
|
|
7735
7800
|
source: string;
|
|
@@ -7755,7 +7820,7 @@ declare class Core {
|
|
|
7755
7820
|
id: string;
|
|
7756
7821
|
executionId: string;
|
|
7757
7822
|
tradeAccountId: string;
|
|
7758
|
-
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter";
|
|
7823
|
+
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
7759
7824
|
fillCount: number;
|
|
7760
7825
|
status: "FINAL";
|
|
7761
7826
|
createdAt: string;
|