Skip to content

Commit 048b30b

Browse files
BryanBryan
authored andcommitted
Source cmdty instruments (*.CM and *.CP) from JERQ. cmdtyStats (*.CS) still goes to JERQ.
1 parent f202eb2 commit 048b30b

File tree

5 files changed

+230
-3
lines changed

5 files changed

+230
-3
lines changed

docs/content/releases/5.6.0.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
**New Features**
2+
3+
* Added ```SymbolParser.getIsCmdtyStats``` function.
4+
5+
**Configuration Changes**
6+
7+
* Any quote for an internally-generated [cmdty](https://www.barchart.com/cmdty) instrument (e.g. `HOPAW001009.CM`) is now sourced from JERQ (instead of OnDemand).
8+
* Any quote for an externally-generated [cmdty](https://www.barchart.com/cmdty) instrument (e.g. `MER001.CP`) is now sourced from JERQ (instead of OnDemand).
9+
* Any quote for a cmdtyStats instrument (e.g. `AE030UBX.CS`) is sourced from OnDemand (this is unchanged from previous versions).

example/browser/js/startup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ module.exports = (() => {
463463
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' ];
464464
const C3 = [ 'AL79MRM1.C3', 'BSP9WGQ1.C3', 'RA10BGM1.C3' ];
465465
const C3_OLD = [ 'C3:AL79MRM1', 'C3:BSP9WGQ1', 'C3:RA10BGM1' ];
466-
const CMDTY = [ 'EUJU0Q51.CS', 'BC5L09YB.CS', 'EI3E06EI.CS', 'EI3E06EJ.CS' ];
466+
const CMDTY = [ 'SCB001.CP', 'MER001.CP', 'ZCBAUS.CM', 'HOPAW001009.CM', 'AE030UBX.CS' , 'UDZZ303N.CS' ];
467467
const PLATTS = [ 'PLATTS:AAWAB00', 'AAWAB00.PT', 'PLATTS:AAXVA00', 'AAXVA00.PT', 'PLATTS:CBAAF00', 'CBAAF00.PT' ];
468468
const AG = [ 'ZCPAIA.CM', 'ZCPAIL.CM', 'ZCPAIN.CM', 'ZCPAKS.CM', 'ZCPAMI.CM' ];
469469
const BOTH = [ 'ESZ19', 'ESZ9' ];

lib/connection/Connection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1566,7 +1566,7 @@ module.exports = (() => {
15661566
* @returns {Boolean}
15671567
*/
15681568
function getIsSnapshotSymbol(symbol) {
1569-
return SymbolParser.getIsCmdty(symbol);
1569+
return SymbolParser.getIsCmdtyStats(symbol);
15701570
}
15711571

15721572
/**

lib/utilities/parsers/SymbolParser.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,18 @@ module.exports = (() => {
137137
return is.string(symbol) && (types.cmdty.stats.test(symbol) || types.cmdty.internal.test(symbol) || types.cmdty.external.test(symbol));
138138
}
139139

140+
/**
141+
* Returns true if the symbol represents cmdtyStats symbol.
142+
*
143+
* @public
144+
* @static
145+
* @param {String} symbol
146+
* @returns {Boolean}
147+
*/
148+
static getIsCmdtyStats(symbol) {
149+
return is.string(symbol) && types.cmdty.stats.test(symbol);
150+
}
151+
140152
/**
141153
* Returns true if the symbol is listed on the BATS exchange.
142154
*

test/specs/utilities/parsers/SymbolParserSpec.js

Lines changed: 207 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,6 +675,14 @@ describe('When checking to see if a symbol is a future', () => {
675675
expect(SymbolParser.getIsFuture('ZCPAUS.CM')).toEqual(false);
676676
});
677677

678+
it('the symbol "SCB001.CP" should return false', () => {
679+
expect(SymbolParser.getIsFuture('SCB001.CP')).toEqual(false);
680+
});
681+
682+
it('the symbol "AE030UBX.CS" should return false', () => {
683+
expect(SymbolParser.getIsFuture('AE030UBX.CS')).toEqual(false);
684+
});
685+
678686
it('the symbol "AAPL|20200515|250.00C" should return false', () => {
679687
expect(SymbolParser.getIsFuture('AAPL|20200515|250.00C')).toEqual(false);
680688
});
@@ -841,6 +849,14 @@ describe('When checking to see if a symbol is sector', () => {
841849
expect(SymbolParser.getIsSector('ZCPAUS.CM')).toEqual(false);
842850
});
843851

852+
it('the symbol "SCB001.CP" should return false', () => {
853+
expect(SymbolParser.getIsSector('SCB001.CP')).toEqual(false);
854+
});
855+
856+
it('the symbol "AE030UBX.CS" should return false', () => {
857+
expect(SymbolParser.getIsSector('AE030UBX.CS')).toEqual(false);
858+
});
859+
844860
it('the symbol "AAPL|20200515|250.00C" should return false', () => {
845861
expect(SymbolParser.getIsSector('AAPL|20200515|250.00C')).toEqual(false);
846862
});
@@ -959,6 +975,14 @@ describe('When checking to see if a symbol is forex', () => {
959975
expect(SymbolParser.getIsForex('ZCPAUS.CM')).toEqual(false);
960976
});
961977

978+
it('the symbol "SCB001.CP" should return false', () => {
979+
expect(SymbolParser.getIsForex('SCB001.CP')).toEqual(false);
980+
});
981+
982+
it('the symbol "AE030UBX.CS" should return false', () => {
983+
expect(SymbolParser.getIsForex('AE030UBX.CS')).toEqual(false);
984+
});
985+
962986
it('the symbol "AAPL|20200515|250.00C" should return false', () => {
963987
expect(SymbolParser.getIsForex('AAPL|20200515|250.00C')).toEqual(false);
964988
});
@@ -1077,6 +1101,14 @@ describe('When checking to see if a symbol is a future spread', () => {
10771101
expect(SymbolParser.getIsFutureSpread('ZCPAUS.CM')).toEqual(false);
10781102
});
10791103

1104+
it('the symbol "SCB001.CP" should return false', () => {
1105+
expect(SymbolParser.getIsFutureSpread('SCB001.CP')).toEqual(false);
1106+
});
1107+
1108+
it('the symbol "AE030UBX.CS" should return false', () => {
1109+
expect(SymbolParser.getIsFutureSpread('AE030UBX.CS')).toEqual(false);
1110+
});
1111+
10801112
it('the symbol "AAPL|20200515|250.00C" should return false', () => {
10811113
expect(SymbolParser.getIsFutureSpread('AAPL|20200515|250.00C')).toEqual(false);
10821114
});
@@ -1195,6 +1227,14 @@ describe('When checking to see if a symbol is a future option', () => {
11951227
expect(SymbolParser.getIsFutureOption('ZCPAUS.CM')).toEqual(false);
11961228
});
11971229

1230+
it('the symbol "SCB001.CP" should return false', () => {
1231+
expect(SymbolParser.getIsFutureOption('SCB001.CP')).toEqual(false);
1232+
});
1233+
1234+
it('the symbol "AE030UBX.CS" should return false', () => {
1235+
expect(SymbolParser.getIsFutureOption('AE030UBX.CS')).toEqual(false);
1236+
});
1237+
11981238
it('the symbol "AAPL|20200515|250.00C" should return false', () => {
11991239
expect(SymbolParser.getIsFutureOption('AAPL|20200515|250.00C')).toEqual(false);
12001240
});
@@ -1220,7 +1260,7 @@ describe('When checking to see if a symbol is a future option', () => {
12201260
});
12211261
});
12221262

1223-
describe('When checking to see if a symbol is a cmdty index option', () => {
1263+
describe('When checking to see if a symbol is a cmdty-branded instrument', () => {
12241264
it('the symbol "ES*1" should return false', () => {
12251265
expect(SymbolParser.getIsCmdty('ES*1')).toEqual(false);
12261266
});
@@ -1313,6 +1353,14 @@ describe('When checking to see if a symbol is a cmdty index option', () => {
13131353
expect(SymbolParser.getIsCmdty('ZCPAUS.CM')).toEqual(true);
13141354
});
13151355

1356+
it('the symbol "SCB001.CP" should return true', () => {
1357+
expect(SymbolParser.getIsCmdty('SCB001.CP')).toEqual(true);
1358+
});
1359+
1360+
it('the symbol "AE030UBX.CS" should return true', () => {
1361+
expect(SymbolParser.getIsCmdty('AE030UBX.CS')).toEqual(true);
1362+
});
1363+
13161364
it('the symbol "AAPL|20200515|250.00C" should return false', () => {
13171365
expect(SymbolParser.getIsCmdty('AAPL|20200515|250.00C')).toEqual(false);
13181366
});
@@ -1338,6 +1386,132 @@ describe('When checking to see if a symbol is a cmdty index option', () => {
13381386
});
13391387
});
13401388

1389+
describe('When checking to see if a symbol is a cmdtyStats instrument', () => {
1390+
it('the symbol "ES*1" should return false', () => {
1391+
expect(SymbolParser.getIsCmdtyStats('ES*1')).toEqual(false);
1392+
});
1393+
1394+
it('the symbol "NG*13" should return false', () => {
1395+
expect(SymbolParser.getIsCmdtyStats('NG*13')).toEqual(false);
1396+
});
1397+
1398+
it('the symbol "ESZ6" should return false', () => {
1399+
expect(SymbolParser.getIsCmdtyStats('ESZ6')).toEqual(false);
1400+
});
1401+
1402+
it('the symbol "ESZ16" should return false', () => {
1403+
expect(SymbolParser.getIsCmdtyStats('ESZ16')).toEqual(false);
1404+
});
1405+
1406+
it('the symbol "ESZ2016" should return false', () => {
1407+
expect(SymbolParser.getIsCmdtyStats('ESZ2016')).toEqual(false);
1408+
});
1409+
1410+
it('the symbol "ESZ016" should return false', () => {
1411+
expect(SymbolParser.getIsCmdtyStats('ESZ016')).toEqual(false);
1412+
});
1413+
1414+
it('the symbol "O!H7" should return false', () => {
1415+
expect(SymbolParser.getIsCmdtyStats('O!H7')).toEqual(false);
1416+
});
1417+
1418+
it('the symbol "O!H17" should return false', () => {
1419+
expect(SymbolParser.getIsCmdtyStats('O!H17')).toEqual(false);
1420+
});
1421+
1422+
it('the symbol "O!H2017" should return false', () => {
1423+
expect(SymbolParser.getIsCmdtyStats('O!H2017')).toEqual(false);
1424+
});
1425+
1426+
it('the symbol "IBM" should return false', () => {
1427+
expect(SymbolParser.getIsCmdtyStats('IBM')).toEqual(false);
1428+
});
1429+
1430+
it('the symbol "^EURUSD" should return false', () => {
1431+
expect(SymbolParser.getIsCmdtyStats('^EURUSD')).toEqual(false);
1432+
});
1433+
1434+
it('the symbol "-001A" should return false', () => {
1435+
expect(SymbolParser.getIsCmdtyStats('-001A')).toEqual(false);
1436+
});
1437+
1438+
it('the symbol "$DOWI" should return false', () => {
1439+
expect(SymbolParser.getIsCmdtyStats('$DOWI')).toEqual(false);
1440+
});
1441+
1442+
it('the symbol "$S1GE" should return false', () => {
1443+
expect(SymbolParser.getIsCmdtyStats('$S1GE')).toEqual(false);
1444+
});
1445+
1446+
it('the symbol "_S_SP_ZCH7_ZCK7" should return false', () => {
1447+
expect(SymbolParser.getIsCmdtyStats('_S_SP_ZCH7_ZCK7')).toEqual(false);
1448+
});
1449+
1450+
it('the symbol "ESZ2660Q" should return false', () => {
1451+
expect(SymbolParser.getIsCmdtyStats('ESZ2660Q')).toEqual(false);
1452+
});
1453+
1454+
it('the symbol "ZWH9|470C" should return false', () => {
1455+
expect(SymbolParser.getIsCmdtyStats('ZWH9|470C')).toEqual(false);
1456+
});
1457+
1458+
it('the symbol "BB1F8|12050C" should return false', () => {
1459+
expect(SymbolParser.getIsCmdtyStats('BB1F8|12050C')).toEqual(false);
1460+
});
1461+
1462+
it('the symbol "ZWK18465C" should return false', () => {
1463+
expect(SymbolParser.getIsCmdtyStats('ZWK18465C')).toEqual(false);
1464+
});
1465+
1466+
it('the symbol "PLATTS:AAVSV00C" should return false', () => {
1467+
expect(SymbolParser.getIsCmdtyStats('PLATTS:AAVSV00C')).toEqual(false);
1468+
});
1469+
1470+
it('the symbol "PLATTS:AAVSV00" should return false', () => {
1471+
expect(SymbolParser.getIsCmdtyStats('PLATTS:AAVSV00')).toEqual(false);
1472+
});
1473+
1474+
it('the symbol "AAVSV00.PT" should return false', () => {
1475+
expect(SymbolParser.getIsCmdtyStats('AAVSV00.PT')).toEqual(false);
1476+
});
1477+
1478+
it('the symbol "ZCPAUS.CM" should return false', () => {
1479+
expect(SymbolParser.getIsCmdtyStats('ZCPAUS.CM')).toEqual(false);
1480+
});
1481+
1482+
it('the symbol "SCB001.CP" should return false', () => {
1483+
expect(SymbolParser.getIsCmdtyStats('SCB001.CP')).toEqual(false);
1484+
});
1485+
1486+
it('the symbol "AE030UBX.CS" should return true', () => {
1487+
expect(SymbolParser.getIsCmdtyStats('AE030UBX.CS')).toEqual(true);
1488+
});
1489+
1490+
it('the symbol "AAPL|20200515|250.00C" should return false', () => {
1491+
expect(SymbolParser.getIsCmdtyStats('AAPL|20200515|250.00C')).toEqual(false);
1492+
});
1493+
1494+
it('the symbol "$VIX|20200422|20.00WP" should return false', () => {
1495+
expect(SymbolParser.getIsCmdtyStats('$VIX|20200422|20.00WP')).toEqual(false);
1496+
});
1497+
1498+
it('the symbol "HBM2.TO|20220121|1.00C" should return false', () => {
1499+
expect(SymbolParser.getIsCmdtyStats('HBM2.TO|20220121|1.00C')).toEqual(false);
1500+
});
1501+
1502+
it('the symbol "AL79MRM1.C3" should return false', () => {
1503+
expect(SymbolParser.getIsCmdtyStats('AL79MRM1.C3')).toEqual(false);
1504+
});
1505+
1506+
it('the symbol "C3:AL79MRM1" should return false', () => {
1507+
expect(SymbolParser.getIsCmdtyStats('C3:AL79MRM1')).toEqual(false);
1508+
});
1509+
1510+
it('the symbol "VIC400.CF" should return false', () => {
1511+
expect(SymbolParser.getIsCmdtyStats('VIC400.CF')).toEqual(false);
1512+
});
1513+
});
1514+
13411515
describe('When checking to see if a symbol is a equity option', () => {
13421516
it('the symbol "ES*1" should return false', () => {
13431517
expect(SymbolParser.getIsEquityOption('ES*1')).toEqual(false);
@@ -1431,6 +1605,14 @@ describe('When checking to see if a symbol is a equity option', () => {
14311605
expect(SymbolParser.getIsEquityOption('ZCPAUS.CM')).toEqual(false);
14321606
});
14331607

1608+
it('the symbol "SCB001.CP" should return false', () => {
1609+
expect(SymbolParser.getIsEquityOption('SCB001.CP')).toEqual(false);
1610+
});
1611+
1612+
it('the symbol "AE030UBX.CS" should return false', () => {
1613+
expect(SymbolParser.getIsEquityOption('AE030UBX.CS')).toEqual(false);
1614+
});
1615+
14341616
it('the symbol "AAPL|20200515|250.00C" should return true', () => {
14351617
expect(SymbolParser.getIsEquityOption('AAPL|20200515|250.00C')).toEqual(true);
14361618
});
@@ -1549,6 +1731,14 @@ describe('When checking to see if a symbol is a C3 instrument', () => {
15491731
expect(SymbolParser.getIsC3('ZCPAUS.CM')).toEqual(false);
15501732
});
15511733

1734+
it('the symbol "SCB001.CP" should return false', () => {
1735+
expect(SymbolParser.getIsC3('SCB001.CP')).toEqual(false);
1736+
});
1737+
1738+
it('the symbol "AE030UBX.CS" should return false', () => {
1739+
expect(SymbolParser.getIsC3('AE030UBX.CS')).toEqual(false);
1740+
});
1741+
15521742
it('the symbol "AAPL|20200515|250.00C" should return false', () => {
15531743
expect(SymbolParser.getIsC3('AAPL|20200515|250.00C')).toEqual(false);
15541744
});
@@ -1659,6 +1849,14 @@ describe('When checking to see if a symbol is a Platts instrument', () => {
16591849
expect(SymbolParser.getIsPlatts('ZCPAUS.CM')).toEqual(false);
16601850
});
16611851

1852+
it('the symbol "SCB001.CP" should return false', () => {
1853+
expect(SymbolParser.getIsPlatts('SCB001.CP')).toEqual(false);
1854+
});
1855+
1856+
it('the symbol "AE030UBX.CS" should return false', () => {
1857+
expect(SymbolParser.getIsPlatts('AE030UBX.CS')).toEqual(false);
1858+
});
1859+
16621860
it('the symbol "AAPL|20200515|250.00C" should return false', () => {
16631861
expect(SymbolParser.getIsPlatts('AAPL|20200515|250.00C')).toEqual(false);
16641862
});
@@ -1769,6 +1967,14 @@ describe('When checking to see if a symbol is a Canadian mutual fund', () => {
17691967
expect(SymbolParser.getIsCanadianFund('ZCPAUS.CM')).toEqual(false);
17701968
});
17711969

1970+
it('the symbol "SCB001.CP" should return false', () => {
1971+
expect(SymbolParser.getIsCanadianFund('SCB001.CP')).toEqual(false);
1972+
});
1973+
1974+
it('the symbol "AE030UBX.CS" should return false', () => {
1975+
expect(SymbolParser.getIsCanadianFund('AE030UBX.CS')).toEqual(false);
1976+
});
1977+
17721978
it('the symbol "AAPL|20200515|250.00C" should return false', () => {
17731979
expect(SymbolParser.getIsCanadianFund('AAPL|20200515|250.00C')).toEqual(false);
17741980
});

0 commit comments

Comments
 (0)