Skip to content

Commit b32712f

Browse files
BryanBryan
authored andcommitted
Release. Bump version number
1 parent 85efc8f commit b32712f

File tree

5 files changed

+188
-7
lines changed

5 files changed

+188
-7
lines changed

docs/_coverpage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Barchart Market Data SDK <small>JavaScript 5.5.1</small>
1+
# Barchart Market Data SDK <small>JavaScript 5.6.0</small>
22

33
> Inject real-time market data into your JavaScript applications
44

example/browser/example.js

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ module.exports = (() => {
416416
const SP_500 = ['ABT', 'ABBV', 'ACN', 'ATVI', 'AYI', 'ADBE', 'AMD', 'AAP', 'AES', 'AET', 'AMG', 'AFL', 'A', 'APD', 'AKAM', 'ALK', 'ALB', 'ARE', 'ALXN', 'ALGN', 'ALLE', 'AGN', 'ADS', 'LNT', 'ALL', 'GOOGL', 'GOOG', 'MO', 'AMZN', 'AEE', 'AAL', 'AEP', 'AXP', 'AIG', 'AMT', 'AWK', 'AMP', 'ABC', 'AME', 'AMGN', 'APH', 'APC', 'ADI', 'ANDV', 'ANSS', 'ANTM', 'AON', 'AOS', 'APA', 'AIV', 'AAPL', 'AMAT', 'ADM', 'ARNC', 'AJG', 'AIZ', 'T', 'ADSK', 'ADP', 'AZO', 'AVB', 'AVY', 'BHGE', 'BLL', 'BAC', 'BK', 'BCR', 'BAX', 'BBT', 'BDX', 'BRK.B', 'BBY', 'BIIB', 'BLK', 'HRB', 'BA', 'BWA', 'BXP', 'BSX', 'BHF', 'BMY', 'AVGO', 'BF.B', 'CHRW', 'CA', 'COG', 'CDNS', 'CPB', 'COF', 'CAH', 'CBOE', 'KMX', 'CCL', 'CAT', 'CBG', 'CBS', 'CELG', 'CNC', 'CNP', 'CTL', 'CERN', 'CF', 'SCHW', 'CHTR', 'CHK', 'CVX', 'CMG', 'CB', 'CHD', 'CI', 'XEC', 'CINF', 'CTAS', 'CSCO', 'C', 'CFG', 'CTXS', 'CLX', 'CME', 'CMS', 'COH', 'KO', 'CTSH', 'CL', 'CMCSA', 'CMA', 'CAG', 'CXO', 'COP', 'ED', 'STZ', 'COO', 'GLW', 'COST', 'COTY', 'CCI', 'CSRA', 'CSX', 'CMI', 'CVS', 'DHI', 'DHR', 'DRI', 'DVA', 'DE', 'DLPH', 'DAL', 'XRAY', 'DVN', 'DLR', 'DFS', 'DISCA', 'DISCK', 'DISH', 'DG', 'DLTR', 'D', 'DOV', 'DWDP', 'DPS', 'DTE', 'DRE', 'DUK', 'DXC', 'ETFC', 'EMN', 'ETN', 'EBAY', 'ECL', 'EIX', 'EW', 'EA', 'EMR', 'ETR', 'EVHC', 'EOG', 'EQT', 'EFX', 'EQIX', 'EQR', 'ESS', 'EL', 'ES', 'RE', 'EXC', 'EXPE', 'EXPD', 'ESRX', 'EXR', 'XOM', 'FFIV', 'FB', 'FAST', 'FRT', 'FDX', 'FIS', 'FITB', 'FE', 'FISV', 'FLIR', 'FLS', 'FLR', 'FMC', 'FL', 'F', 'FTV', 'FBHS', 'BEN', 'FCX', 'GPS', 'GRMN', 'IT', 'GD', 'GE', 'GGP', 'GIS', 'GM', 'GPC', 'GILD', 'GPN', 'GS', 'GT', 'GWW', 'HAL', 'HBI', 'HOG', 'HRS', 'HIG', 'HAS', 'HCA', 'HCP', 'HP', 'HSIC', 'HSY', 'HES', 'HPE', 'HLT', 'HOLX', 'HD', 'HON', 'HRL', 'HST', 'HPQ', 'HUM', 'HBAN', 'IDXX', 'INFO', 'ITW', 'ILMN', 'IR', 'INTC', 'ICE', 'IBM', 'INCY', 'IP', 'IPG', 'IFF', 'INTU', 'ISRG', 'IVZ', 'IRM', 'JEC', 'JBHT', 'SJM', 'JNJ', 'JCI', 'JPM', 'JNPR', 'KSU', 'K', 'KEY', 'KMB', 'KIM', 'KMI', 'KLAC', 'KSS', 'KHC', 'KR', 'LB', 'LLL', 'LH', 'LRCX', 'LEG', 'LEN', 'LUK', 'LLY', 'LNC', 'LKQ', 'LMT', 'L', 'LOW', 'LYB', 'MTB', 'MAC', 'M', 'MRO', 'MPC', 'MAR', 'MMC', 'MLM', 'MAS', 'MA', 'MAT', 'MKC', 'MCD', 'MCK', 'MDT', 'MRK', 'MET', 'MTD', 'MGM', 'KORS', 'MCHP', 'MU', 'MSFT', 'MAA', 'MHK', 'TAP', 'MDLZ', 'MON', 'MNST', 'MCO', 'MS', 'MOS', 'MSI', 'MYL', 'NDAQ', 'NOV', 'NAVI', 'NTAP', 'NFLX', 'NWL', 'NFX', 'NEM', 'NWSA', 'NWS', 'NEE', 'NLSN', 'NKE', 'NI', 'NBL', 'JWN', 'NSC', 'NTRS', 'NOC', 'NCLH', 'NRG', 'NUE', 'NVDA', 'ORLY', 'OXY', 'OMC', 'OKE', 'ORCL', 'PCAR', 'PKG', 'PH', 'PDCO', 'PAYX', 'PYPL', 'PNR', 'PBCT', 'PEP', 'PKI', 'PRGO', 'PFE', 'PCG', 'PM', 'PSX', 'PNW', 'PXD', 'PNC', 'RL', 'PPG', 'PPL', 'PX', 'PCLN', 'PFG', 'PG', 'PGR', 'PLD', 'PRU', 'PEG', 'PSA', 'PHM', 'PVH', 'QRVO', 'PWR', 'QCOM', 'DGX', 'Q', 'RRC', 'RJF', 'RTN', 'O', 'RHT', 'REG', 'REGN', 'RF', 'RSG', 'RMD', 'RHI', 'ROK', 'COL', 'ROP', 'ROST', 'RCL', 'CRM', 'SBAC', 'SCG', 'SLB', 'SNI', 'STX', 'SEE', 'SRE', 'SHW', 'SIG', 'SPG', 'SWKS', 'SLG', 'SNA', 'SO', 'LUV', 'SPGI', 'SWK', 'SBUX', 'STT', 'SRCL', 'SYK', 'STI', 'SYMC', 'SYF', 'SNPS', 'SYY', 'TROW', 'TGT', 'TEL', 'FTI', 'TXN', 'TXT', 'TMO', 'TIF', 'TWX', 'TJX', 'TMK', 'TSS', 'TSCO', 'TDG', 'TRV', 'TRIP', 'FOXA', 'FOX', 'TSN', 'UDR', 'ULTA', 'USB', 'UA', 'UAA', 'UNP', 'UAL', 'UNH', 'UPS', 'URI', 'UTX', 'UHS', 'UNM', 'VFC', 'VLO', 'VAR', 'VTR', 'VRSN', 'VRSK', 'VZ', 'VRTX', 'VIAB', 'V', 'VNO', 'VMC', 'WMT', 'WBA', 'DIS', 'WM', 'WAT', 'WEC', 'WFC', 'HCN', 'WDC', 'WU', 'WRK', 'WY', 'WHR', 'WMB', 'WLTW', 'WYN', 'WYNN', 'XEL', 'XRX', 'XLNX', 'XL', 'XYL', 'YUM', 'ZBH', 'ZION', 'ZTS'];
417417
const C3 = ['AL79MRM1.C3', 'BSP9WGQ1.C3', 'RA10BGM1.C3'];
418418
const C3_OLD = ['C3:AL79MRM1', 'C3:BSP9WGQ1', 'C3:RA10BGM1'];
419-
const CMDTY = ['EUJU0Q51.CS', 'BC5L09YB.CS', 'EI3E06EI.CS', 'EI3E06EJ.CS'];
419+
const CMDTY = ['SCB001.CP', 'MER001.CP', 'ZCBAUS.CM', 'HOPAW001009.CM', 'AE030UBX.CS', 'UDZZ303N.CS'];
420420
const PLATTS = ['PLATTS:AAWAB00', 'AAWAB00.PT', 'PLATTS:AAXVA00', 'AAXVA00.PT', 'PLATTS:CBAAF00', 'CBAAF00.PT'];
421421
const AG = ['ZCPAIA.CM', 'ZCPAIL.CM', 'ZCPAIN.CM', 'ZCPAKS.CM', 'ZCPAMI.CM'];
422422
const BOTH = ['ESZ19', 'ESZ9'];
@@ -1987,7 +1987,7 @@ module.exports = (() => {
19871987

19881988

19891989
function getIsSnapshotSymbol(symbol) {
1990-
return SymbolParser.getIsCmdty(symbol);
1990+
return SymbolParser.getIsCmdtyStats(symbol);
19911991
}
19921992
/**
19931993
* Indicates if some profile information cannot be extracted from JERQ via
@@ -5048,7 +5048,7 @@ module.exports = (() => {
50485048
'use strict';
50495049

50505050
return {
5051-
version: '5.5.1'
5051+
version: '5.6.0'
50525052
};
50535053
})();
50545054

@@ -6764,6 +6764,19 @@ module.exports = (() => {
67646764
static getIsCmdty(symbol) {
67656765
return is.string(symbol) && (types.cmdty.stats.test(symbol) || types.cmdty.internal.test(symbol) || types.cmdty.external.test(symbol));
67666766
}
6767+
/**
6768+
* Returns true if the symbol represents cmdtyStats symbol.
6769+
*
6770+
* @public
6771+
* @static
6772+
* @param {String} symbol
6773+
* @returns {Boolean}
6774+
*/
6775+
6776+
6777+
static getIsCmdtyStats(symbol) {
6778+
return is.string(symbol) && types.cmdty.stats.test(symbol);
6779+
}
67676780
/**
67686781
* Returns true if the symbol is listed on the BATS exchange.
67696782
*

lib/meta.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ module.exports = (() => {
22
'use strict';
33

44
return {
5-
version: '5.5.1'
5+
version: '5.6.0'
66
};
77
})();

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@barchart/marketdata-api-js",
3-
"version": "5.5.1",
3+
"version": "5.6.0",
44
"description": "SDK for streaming market data from Barchart.com",
55
"author": {
66
"name": "Eero Pikat",

test/dist/barchart-marketdata-api-tests-5.js

Lines changed: 169 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2697,6 +2697,19 @@ module.exports = (() => {
26972697
static getIsCmdty(symbol) {
26982698
return is.string(symbol) && (types.cmdty.stats.test(symbol) || types.cmdty.internal.test(symbol) || types.cmdty.external.test(symbol));
26992699
}
2700+
/**
2701+
* Returns true if the symbol represents cmdtyStats symbol.
2702+
*
2703+
* @public
2704+
* @static
2705+
* @param {String} symbol
2706+
* @returns {Boolean}
2707+
*/
2708+
2709+
2710+
static getIsCmdtyStats(symbol) {
2711+
return is.string(symbol) && types.cmdty.stats.test(symbol);
2712+
}
27002713
/**
27012714
* Returns true if the symbol is listed on the BATS exchange.
27022715
*
@@ -17110,6 +17123,12 @@ describe('When checking to see if a symbol is a future', () => {
1711017123
it('the symbol "ZCPAUS.CM" should return false', () => {
1711117124
expect(SymbolParser.getIsFuture('ZCPAUS.CM')).toEqual(false);
1711217125
});
17126+
it('the symbol "SCB001.CP" should return false', () => {
17127+
expect(SymbolParser.getIsFuture('SCB001.CP')).toEqual(false);
17128+
});
17129+
it('the symbol "AE030UBX.CS" should return false', () => {
17130+
expect(SymbolParser.getIsFuture('AE030UBX.CS')).toEqual(false);
17131+
});
1711317132
it('the symbol "AAPL|20200515|250.00C" should return false', () => {
1711417133
expect(SymbolParser.getIsFuture('AAPL|20200515|250.00C')).toEqual(false);
1711517134
});
@@ -17236,6 +17255,12 @@ describe('When checking to see if a symbol is sector', () => {
1723617255
it('the symbol "ZCPAUS.CM" should return false', () => {
1723717256
expect(SymbolParser.getIsSector('ZCPAUS.CM')).toEqual(false);
1723817257
});
17258+
it('the symbol "SCB001.CP" should return false', () => {
17259+
expect(SymbolParser.getIsSector('SCB001.CP')).toEqual(false);
17260+
});
17261+
it('the symbol "AE030UBX.CS" should return false', () => {
17262+
expect(SymbolParser.getIsSector('AE030UBX.CS')).toEqual(false);
17263+
});
1723917264
it('the symbol "AAPL|20200515|250.00C" should return false', () => {
1724017265
expect(SymbolParser.getIsSector('AAPL|20200515|250.00C')).toEqual(false);
1724117266
});
@@ -17325,6 +17350,12 @@ describe('When checking to see if a symbol is forex', () => {
1732517350
it('the symbol "ZCPAUS.CM" should return false', () => {
1732617351
expect(SymbolParser.getIsForex('ZCPAUS.CM')).toEqual(false);
1732717352
});
17353+
it('the symbol "SCB001.CP" should return false', () => {
17354+
expect(SymbolParser.getIsForex('SCB001.CP')).toEqual(false);
17355+
});
17356+
it('the symbol "AE030UBX.CS" should return false', () => {
17357+
expect(SymbolParser.getIsForex('AE030UBX.CS')).toEqual(false);
17358+
});
1732817359
it('the symbol "AAPL|20200515|250.00C" should return false', () => {
1732917360
expect(SymbolParser.getIsForex('AAPL|20200515|250.00C')).toEqual(false);
1733017361
});
@@ -17414,6 +17445,12 @@ describe('When checking to see if a symbol is a future spread', () => {
1741417445
it('the symbol "ZCPAUS.CM" should return false', () => {
1741517446
expect(SymbolParser.getIsFutureSpread('ZCPAUS.CM')).toEqual(false);
1741617447
});
17448+
it('the symbol "SCB001.CP" should return false', () => {
17449+
expect(SymbolParser.getIsFutureSpread('SCB001.CP')).toEqual(false);
17450+
});
17451+
it('the symbol "AE030UBX.CS" should return false', () => {
17452+
expect(SymbolParser.getIsFutureSpread('AE030UBX.CS')).toEqual(false);
17453+
});
1741717454
it('the symbol "AAPL|20200515|250.00C" should return false', () => {
1741817455
expect(SymbolParser.getIsFutureSpread('AAPL|20200515|250.00C')).toEqual(false);
1741917456
});
@@ -17503,6 +17540,12 @@ describe('When checking to see if a symbol is a future option', () => {
1750317540
it('the symbol "ZCPAUS.CM" should return false', () => {
1750417541
expect(SymbolParser.getIsFutureOption('ZCPAUS.CM')).toEqual(false);
1750517542
});
17543+
it('the symbol "SCB001.CP" should return false', () => {
17544+
expect(SymbolParser.getIsFutureOption('SCB001.CP')).toEqual(false);
17545+
});
17546+
it('the symbol "AE030UBX.CS" should return false', () => {
17547+
expect(SymbolParser.getIsFutureOption('AE030UBX.CS')).toEqual(false);
17548+
});
1750617549
it('the symbol "AAPL|20200515|250.00C" should return false', () => {
1750717550
expect(SymbolParser.getIsFutureOption('AAPL|20200515|250.00C')).toEqual(false);
1750817551
});
@@ -17522,7 +17565,7 @@ describe('When checking to see if a symbol is a future option', () => {
1752217565
expect(SymbolParser.getIsFutureOption('VIC400.CF')).toEqual(false);
1752317566
});
1752417567
});
17525-
describe('When checking to see if a symbol is a cmdty index option', () => {
17568+
describe('When checking to see if a symbol is a cmdty-branded instrument', () => {
1752617569
it('the symbol "ES*1" should return false', () => {
1752717570
expect(SymbolParser.getIsCmdty('ES*1')).toEqual(false);
1752817571
});
@@ -17592,6 +17635,12 @@ describe('When checking to see if a symbol is a cmdty index option', () => {
1759217635
it('the symbol "ZCPAUS.CM" should return true', () => {
1759317636
expect(SymbolParser.getIsCmdty('ZCPAUS.CM')).toEqual(true);
1759417637
});
17638+
it('the symbol "SCB001.CP" should return true', () => {
17639+
expect(SymbolParser.getIsCmdty('SCB001.CP')).toEqual(true);
17640+
});
17641+
it('the symbol "AE030UBX.CS" should return true', () => {
17642+
expect(SymbolParser.getIsCmdty('AE030UBX.CS')).toEqual(true);
17643+
});
1759517644
it('the symbol "AAPL|20200515|250.00C" should return false', () => {
1759617645
expect(SymbolParser.getIsCmdty('AAPL|20200515|250.00C')).toEqual(false);
1759717646
});
@@ -17611,6 +17660,101 @@ describe('When checking to see if a symbol is a cmdty index option', () => {
1761117660
expect(SymbolParser.getIsCmdty('VIC400.CF')).toEqual(false);
1761217661
});
1761317662
});
17663+
describe('When checking to see if a symbol is a cmdtyStats instrument', () => {
17664+
it('the symbol "ES*1" should return false', () => {
17665+
expect(SymbolParser.getIsCmdtyStats('ES*1')).toEqual(false);
17666+
});
17667+
it('the symbol "NG*13" should return false', () => {
17668+
expect(SymbolParser.getIsCmdtyStats('NG*13')).toEqual(false);
17669+
});
17670+
it('the symbol "ESZ6" should return false', () => {
17671+
expect(SymbolParser.getIsCmdtyStats('ESZ6')).toEqual(false);
17672+
});
17673+
it('the symbol "ESZ16" should return false', () => {
17674+
expect(SymbolParser.getIsCmdtyStats('ESZ16')).toEqual(false);
17675+
});
17676+
it('the symbol "ESZ2016" should return false', () => {
17677+
expect(SymbolParser.getIsCmdtyStats('ESZ2016')).toEqual(false);
17678+
});
17679+
it('the symbol "ESZ016" should return false', () => {
17680+
expect(SymbolParser.getIsCmdtyStats('ESZ016')).toEqual(false);
17681+
});
17682+
it('the symbol "O!H7" should return false', () => {
17683+
expect(SymbolParser.getIsCmdtyStats('O!H7')).toEqual(false);
17684+
});
17685+
it('the symbol "O!H17" should return false', () => {
17686+
expect(SymbolParser.getIsCmdtyStats('O!H17')).toEqual(false);
17687+
});
17688+
it('the symbol "O!H2017" should return false', () => {
17689+
expect(SymbolParser.getIsCmdtyStats('O!H2017')).toEqual(false);
17690+
});
17691+
it('the symbol "IBM" should return false', () => {
17692+
expect(SymbolParser.getIsCmdtyStats('IBM')).toEqual(false);
17693+
});
17694+
it('the symbol "^EURUSD" should return false', () => {
17695+
expect(SymbolParser.getIsCmdtyStats('^EURUSD')).toEqual(false);
17696+
});
17697+
it('the symbol "-001A" should return false', () => {
17698+
expect(SymbolParser.getIsCmdtyStats('-001A')).toEqual(false);
17699+
});
17700+
it('the symbol "$DOWI" should return false', () => {
17701+
expect(SymbolParser.getIsCmdtyStats('$DOWI')).toEqual(false);
17702+
});
17703+
it('the symbol "$S1GE" should return false', () => {
17704+
expect(SymbolParser.getIsCmdtyStats('$S1GE')).toEqual(false);
17705+
});
17706+
it('the symbol "_S_SP_ZCH7_ZCK7" should return false', () => {
17707+
expect(SymbolParser.getIsCmdtyStats('_S_SP_ZCH7_ZCK7')).toEqual(false);
17708+
});
17709+
it('the symbol "ESZ2660Q" should return false', () => {
17710+
expect(SymbolParser.getIsCmdtyStats('ESZ2660Q')).toEqual(false);
17711+
});
17712+
it('the symbol "ZWH9|470C" should return false', () => {
17713+
expect(SymbolParser.getIsCmdtyStats('ZWH9|470C')).toEqual(false);
17714+
});
17715+
it('the symbol "BB1F8|12050C" should return false', () => {
17716+
expect(SymbolParser.getIsCmdtyStats('BB1F8|12050C')).toEqual(false);
17717+
});
17718+
it('the symbol "ZWK18465C" should return false', () => {
17719+
expect(SymbolParser.getIsCmdtyStats('ZWK18465C')).toEqual(false);
17720+
});
17721+
it('the symbol "PLATTS:AAVSV00C" should return false', () => {
17722+
expect(SymbolParser.getIsCmdtyStats('PLATTS:AAVSV00C')).toEqual(false);
17723+
});
17724+
it('the symbol "PLATTS:AAVSV00" should return false', () => {
17725+
expect(SymbolParser.getIsCmdtyStats('PLATTS:AAVSV00')).toEqual(false);
17726+
});
17727+
it('the symbol "AAVSV00.PT" should return false', () => {
17728+
expect(SymbolParser.getIsCmdtyStats('AAVSV00.PT')).toEqual(false);
17729+
});
17730+
it('the symbol "ZCPAUS.CM" should return false', () => {
17731+
expect(SymbolParser.getIsCmdtyStats('ZCPAUS.CM')).toEqual(false);
17732+
});
17733+
it('the symbol "SCB001.CP" should return false', () => {
17734+
expect(SymbolParser.getIsCmdtyStats('SCB001.CP')).toEqual(false);
17735+
});
17736+
it('the symbol "AE030UBX.CS" should return true', () => {
17737+
expect(SymbolParser.getIsCmdtyStats('AE030UBX.CS')).toEqual(true);
17738+
});
17739+
it('the symbol "AAPL|20200515|250.00C" should return false', () => {
17740+
expect(SymbolParser.getIsCmdtyStats('AAPL|20200515|250.00C')).toEqual(false);
17741+
});
17742+
it('the symbol "$VIX|20200422|20.00WP" should return false', () => {
17743+
expect(SymbolParser.getIsCmdtyStats('$VIX|20200422|20.00WP')).toEqual(false);
17744+
});
17745+
it('the symbol "HBM2.TO|20220121|1.00C" should return false', () => {
17746+
expect(SymbolParser.getIsCmdtyStats('HBM2.TO|20220121|1.00C')).toEqual(false);
17747+
});
17748+
it('the symbol "AL79MRM1.C3" should return false', () => {
17749+
expect(SymbolParser.getIsCmdtyStats('AL79MRM1.C3')).toEqual(false);
17750+
});
17751+
it('the symbol "C3:AL79MRM1" should return false', () => {
17752+
expect(SymbolParser.getIsCmdtyStats('C3:AL79MRM1')).toEqual(false);
17753+
});
17754+
it('the symbol "VIC400.CF" should return false', () => {
17755+
expect(SymbolParser.getIsCmdtyStats('VIC400.CF')).toEqual(false);
17756+
});
17757+
});
1761417758
describe('When checking to see if a symbol is a equity option', () => {
1761517759
it('the symbol "ES*1" should return false', () => {
1761617760
expect(SymbolParser.getIsEquityOption('ES*1')).toEqual(false);
@@ -17681,6 +17825,12 @@ describe('When checking to see if a symbol is a equity option', () => {
1768117825
it('the symbol "ZCPAUS.CM" should return false', () => {
1768217826
expect(SymbolParser.getIsEquityOption('ZCPAUS.CM')).toEqual(false);
1768317827
});
17828+
it('the symbol "SCB001.CP" should return false', () => {
17829+
expect(SymbolParser.getIsEquityOption('SCB001.CP')).toEqual(false);
17830+
});
17831+
it('the symbol "AE030UBX.CS" should return false', () => {
17832+
expect(SymbolParser.getIsEquityOption('AE030UBX.CS')).toEqual(false);
17833+
});
1768417834
it('the symbol "AAPL|20200515|250.00C" should return true', () => {
1768517835
expect(SymbolParser.getIsEquityOption('AAPL|20200515|250.00C')).toEqual(true);
1768617836
});
@@ -17770,6 +17920,12 @@ describe('When checking to see if a symbol is a C3 instrument', () => {
1777017920
it('the symbol "ZCPAUS.CM" should return false', () => {
1777117921
expect(SymbolParser.getIsC3('ZCPAUS.CM')).toEqual(false);
1777217922
});
17923+
it('the symbol "SCB001.CP" should return false', () => {
17924+
expect(SymbolParser.getIsC3('SCB001.CP')).toEqual(false);
17925+
});
17926+
it('the symbol "AE030UBX.CS" should return false', () => {
17927+
expect(SymbolParser.getIsC3('AE030UBX.CS')).toEqual(false);
17928+
});
1777317929
it('the symbol "AAPL|20200515|250.00C" should return false', () => {
1777417930
expect(SymbolParser.getIsC3('AAPL|20200515|250.00C')).toEqual(false);
1777517931
});
@@ -17853,6 +18009,12 @@ describe('When checking to see if a symbol is a Platts instrument', () => {
1785318009
it('the symbol "ZCPAUS.CM" should return false', () => {
1785418010
expect(SymbolParser.getIsPlatts('ZCPAUS.CM')).toEqual(false);
1785518011
});
18012+
it('the symbol "SCB001.CP" should return false', () => {
18013+
expect(SymbolParser.getIsPlatts('SCB001.CP')).toEqual(false);
18014+
});
18015+
it('the symbol "AE030UBX.CS" should return false', () => {
18016+
expect(SymbolParser.getIsPlatts('AE030UBX.CS')).toEqual(false);
18017+
});
1785618018
it('the symbol "AAPL|20200515|250.00C" should return false', () => {
1785718019
expect(SymbolParser.getIsPlatts('AAPL|20200515|250.00C')).toEqual(false);
1785818020
});
@@ -17936,6 +18098,12 @@ describe('When checking to see if a symbol is a Canadian mutual fund', () => {
1793618098
it('the symbol "ZCPAUS.CM" should return false', () => {
1793718099
expect(SymbolParser.getIsCanadianFund('ZCPAUS.CM')).toEqual(false);
1793818100
});
18101+
it('the symbol "SCB001.CP" should return false', () => {
18102+
expect(SymbolParser.getIsCanadianFund('SCB001.CP')).toEqual(false);
18103+
});
18104+
it('the symbol "AE030UBX.CS" should return false', () => {
18105+
expect(SymbolParser.getIsCanadianFund('AE030UBX.CS')).toEqual(false);
18106+
});
1793918107
it('the symbol "AAPL|20200515|250.00C" should return false', () => {
1794018108
expect(SymbolParser.getIsCanadianFund('AAPL|20200515|250.00C')).toEqual(false);
1794118109
});

0 commit comments

Comments
 (0)