@gainsnetwork/sdk 1.6.1-rc1 → 1.6.2-rc2
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/lib/constants.d.ts
CHANGED
|
@@ -438,6 +438,7 @@ export declare const pairs: {
|
|
|
438
438
|
"SPX500/USD": string;
|
|
439
439
|
"NAS100/USD": string;
|
|
440
440
|
"USA30/USD": string;
|
|
441
|
+
"NFLX_1/USD": string;
|
|
441
442
|
};
|
|
442
443
|
export declare const syntheticPairs: Set<string>;
|
|
443
444
|
export declare const parentToSyntheticPairMap: Map<string, string>;
|
|
@@ -465,6 +466,10 @@ export declare const stockSplits: {
|
|
|
465
466
|
date: string;
|
|
466
467
|
split: number;
|
|
467
468
|
};
|
|
469
|
+
"NFLX_1/USD": {
|
|
470
|
+
date: string;
|
|
471
|
+
split: number;
|
|
472
|
+
};
|
|
468
473
|
};
|
|
469
474
|
export declare const delistedPairIxs: Set<number>;
|
|
470
475
|
export declare const delistedGroupsIxs: Set<never>;
|
package/lib/constants.js
CHANGED
|
@@ -446,6 +446,7 @@ exports.pairs = {
|
|
|
446
446
|
"SPX500/USD": INDICES,
|
|
447
447
|
"NAS100/USD": INDICES,
|
|
448
448
|
"USA30/USD": INDICES,
|
|
449
|
+
"NFLX_1/USD": STOCKS,
|
|
449
450
|
};
|
|
450
451
|
exports.syntheticPairs = new Set([
|
|
451
452
|
"BTCDEGEN/USD",
|
|
@@ -491,6 +492,7 @@ exports.stockSplits = {
|
|
|
491
492
|
"GOOGL_1/USD": { date: "7/18/2022", split: 20 },
|
|
492
493
|
"GME_1/USD": { date: "7/22/2022", split: 4 },
|
|
493
494
|
"TSLA_1/USD": { date: "8/25/2022", split: 3 },
|
|
495
|
+
"NFLX_1/USD": { date: "11/17/2025", split: 10 },
|
|
494
496
|
};
|
|
495
497
|
exports.delistedPairIxs = new Set([
|
|
496
498
|
4, 6, 12, 15, 24, 25, 27, 28, 30, 31, 36, 41, 48, 51, 52, 53, 54, 56, 59, 60,
|
|
@@ -500,7 +502,7 @@ exports.delistedPairIxs = new Set([
|
|
|
500
502
|
227, 229, 230, 231, 234, 238, 239, 241, 247, 250, 253, 254, 258, 261, 270,
|
|
501
503
|
272, 275, 276, 278, 279, 280, 285, 290, 291, 292, 294, 296, 303, 305, 306,
|
|
502
504
|
311, 322, 330, 333, 336, 337, 342, 343, 344, 347, 349, 350, 352, 354, 355,
|
|
503
|
-
357, 365, 366, 395, 396, 400, 401, 408, 423, 427, 433, 436, 437, 438,
|
|
505
|
+
357, 365, 366, 379, 395, 396, 400, 401, 408, 423, 427, 433, 436, 437, 438,
|
|
504
506
|
]);
|
|
505
507
|
exports.delistedGroupsIxs = new Set([]);
|
|
506
508
|
exports.DEFAULT_PROTECTION_CLOSE_FACTOR = 1;
|
|
@@ -592,4 +592,5 @@ const PAIR_INDEX_TO_DESCRIPTION = {
|
|
|
592
592
|
[types_1.PairIndex.SPX500USD]: "S&P500 to US Dollar",
|
|
593
593
|
[types_1.PairIndex.NAS100USD]: "NASDAQ 100 to US Dollar",
|
|
594
594
|
[types_1.PairIndex.USA30USD]: "Down Jones 30 to US Dollar",
|
|
595
|
+
[types_1.PairIndex.NFLXUSD2]: "Netflix to US Dollar",
|
|
595
596
|
};
|
package/lib/trade/types.d.ts
CHANGED
package/lib/trade/types.js
CHANGED
|
@@ -468,4 +468,5 @@ var PairIndex;
|
|
|
468
468
|
PairIndex[PairIndex["SPX500USD"] = 436] = "SPX500USD";
|
|
469
469
|
PairIndex[PairIndex["NAS100USD"] = 437] = "NAS100USD";
|
|
470
470
|
PairIndex[PairIndex["USA30USD"] = 438] = "USA30USD";
|
|
471
|
+
PairIndex[PairIndex["NFLXUSD2"] = 439] = "NFLXUSD2";
|
|
471
472
|
})(PairIndex = exports.PairIndex || (exports.PairIndex = {}));
|