@@ -667,6 +667,10 @@ describe('When checking to see if a symbol is a future', () => {
667667 expect ( SymbolParser . getIsFuture ( 'PLATTS:AAVSV00' ) ) . toEqual ( false ) ;
668668 } ) ;
669669
670+ it ( 'the symbol "AAVSV00.PT" should return false' , ( ) => {
671+ expect ( SymbolParser . getIsFuture ( 'AAVSV00.PT' ) ) . toEqual ( false ) ;
672+ } ) ;
673+
670674 it ( 'the symbol "ZCPAUS.CM" should return false' , ( ) => {
671675 expect ( SymbolParser . getIsFuture ( 'ZCPAUS.CM' ) ) . toEqual ( false ) ;
672676 } ) ;
@@ -829,6 +833,10 @@ describe('When checking to see if a symbol is sector', () => {
829833 expect ( SymbolParser . getIsSector ( 'PLATTS:AAVSV00' ) ) . toEqual ( false ) ;
830834 } ) ;
831835
836+ it ( 'the symbol "AAVSV00.PT" should return false' , ( ) => {
837+ expect ( SymbolParser . getIsSector ( 'AAVSV00.PT' ) ) . toEqual ( false ) ;
838+ } ) ;
839+
832840 it ( 'the symbol "ZCPAUS.CM" should return false' , ( ) => {
833841 expect ( SymbolParser . getIsSector ( 'ZCPAUS.CM' ) ) . toEqual ( false ) ;
834842 } ) ;
@@ -943,6 +951,10 @@ describe('When checking to see if a symbol is forex', () => {
943951 expect ( SymbolParser . getIsForex ( 'PLATTS:AAVSV00' ) ) . toEqual ( false ) ;
944952 } ) ;
945953
954+ it ( 'the symbol "AAVSV00.PT" should return false' , ( ) => {
955+ expect ( SymbolParser . getIsForex ( 'AAVSV00.PT' ) ) . toEqual ( false ) ;
956+ } ) ;
957+
946958 it ( 'the symbol "ZCPAUS.CM" should return false' , ( ) => {
947959 expect ( SymbolParser . getIsForex ( 'ZCPAUS.CM' ) ) . toEqual ( false ) ;
948960 } ) ;
@@ -1057,6 +1069,10 @@ describe('When checking to see if a symbol is a future spread', () => {
10571069 expect ( SymbolParser . getIsFutureSpread ( 'PLATTS:AAVSV00' ) ) . toEqual ( false ) ;
10581070 } ) ;
10591071
1072+ it ( 'the symbol "AAVSV00.PT" should return false' , ( ) => {
1073+ expect ( SymbolParser . getIsFutureSpread ( 'AAVSV00.PT' ) ) . toEqual ( false ) ;
1074+ } ) ;
1075+
10601076 it ( 'the symbol "ZCPAUS.CM" should return false' , ( ) => {
10611077 expect ( SymbolParser . getIsFutureSpread ( 'ZCPAUS.CM' ) ) . toEqual ( false ) ;
10621078 } ) ;
@@ -1171,6 +1187,10 @@ describe('When checking to see if a symbol is a future option', () => {
11711187 expect ( SymbolParser . getIsFutureOption ( 'PLATTS:AAVSV00' ) ) . toEqual ( false ) ;
11721188 } ) ;
11731189
1190+ it ( 'the symbol "AAVSV00.PT" should return false' , ( ) => {
1191+ expect ( SymbolParser . getIsFutureOption ( 'AAVSV00.PT' ) ) . toEqual ( false ) ;
1192+ } ) ;
1193+
11741194 it ( 'the symbol "ZCPAUS.CM" should return false' , ( ) => {
11751195 expect ( SymbolParser . getIsFutureOption ( 'ZCPAUS.CM' ) ) . toEqual ( false ) ;
11761196 } ) ;
@@ -1285,6 +1305,10 @@ describe('When checking to see if a symbol is a cmdty index option', () => {
12851305 expect ( SymbolParser . getIsCmdty ( 'PLATTS:AAVSV00' ) ) . toEqual ( false ) ;
12861306 } ) ;
12871307
1308+ it ( 'the symbol "AAVSV00.PT" should return false' , ( ) => {
1309+ expect ( SymbolParser . getIsCmdty ( 'AAVSV00.PT' ) ) . toEqual ( false ) ;
1310+ } ) ;
1311+
12881312 it ( 'the symbol "ZCPAUS.CM" should return true' , ( ) => {
12891313 expect ( SymbolParser . getIsCmdty ( 'ZCPAUS.CM' ) ) . toEqual ( true ) ;
12901314 } ) ;
@@ -1399,6 +1423,10 @@ describe('When checking to see if a symbol is a equity option', () => {
13991423 expect ( SymbolParser . getIsEquityOption ( 'PLATTS:AAVSV00' ) ) . toEqual ( false ) ;
14001424 } ) ;
14011425
1426+ it ( 'the symbol "AAVSV00.PT" should return false' , ( ) => {
1427+ expect ( SymbolParser . getIsEquityOption ( 'AAVSV00.PT' ) ) . toEqual ( false ) ;
1428+ } ) ;
1429+
14021430 it ( 'the symbol "ZCPAUS.CM" should return false' , ( ) => {
14031431 expect ( SymbolParser . getIsEquityOption ( 'ZCPAUS.CM' ) ) . toEqual ( false ) ;
14041432 } ) ;
@@ -1513,6 +1541,10 @@ describe('When checking to see if a symbol is a C3 instrument', () => {
15131541 expect ( SymbolParser . getIsC3 ( 'PLATTS:AAVSV00' ) ) . toEqual ( false ) ;
15141542 } ) ;
15151543
1544+ it ( 'the symbol "AAVSV00.PT" should return false' , ( ) => {
1545+ expect ( SymbolParser . getIsC3 ( 'AAVSV00.PT' ) ) . toEqual ( false ) ;
1546+ } ) ;
1547+
15161548 it ( 'the symbol "ZCPAUS.CM" should return false' , ( ) => {
15171549 expect ( SymbolParser . getIsC3 ( 'ZCPAUS.CM' ) ) . toEqual ( false ) ;
15181550 } ) ;
@@ -1619,6 +1651,10 @@ describe('When checking to see if a symbol is a Platts instrument', () => {
16191651 expect ( SymbolParser . getIsPlatts ( 'PLATTS:AAVSV00' ) ) . toEqual ( true ) ;
16201652 } ) ;
16211653
1654+ it ( 'the symbol "AAVSV00.PT" should return true' , ( ) => {
1655+ expect ( SymbolParser . getIsPlatts ( 'AAVSV00.PT' ) ) . toEqual ( true ) ;
1656+ } ) ;
1657+
16221658 it ( 'the symbol "ZCPAUS.CM" should return false' , ( ) => {
16231659 expect ( SymbolParser . getIsPlatts ( 'ZCPAUS.CM' ) ) . toEqual ( false ) ;
16241660 } ) ;
@@ -1725,6 +1761,10 @@ describe('When checking to see if a symbol is a Canadian mutual fund', () => {
17251761 expect ( SymbolParser . getIsCanadianFund ( 'PLATTS:AAVSV00' ) ) . toEqual ( false ) ;
17261762 } ) ;
17271763
1764+ it ( 'the symbol "AAVSV00.PT" should return false' , ( ) => {
1765+ expect ( SymbolParser . getIsCanadianFund ( 'AAVSV00.PT' ) ) . toEqual ( false ) ;
1766+ } ) ;
1767+
17281768 it ( 'the symbol "ZCPAUS.CM" should return false' , ( ) => {
17291769 expect ( SymbolParser . getIsCanadianFund ( 'ZCPAUS.CM' ) ) . toEqual ( false ) ;
17301770 } ) ;
@@ -1835,8 +1875,12 @@ describe('When getting a producer symbol', () => {
18351875 expect ( SymbolParser . getProducerSymbol ( 'BZ6N20|25P' ) ) . toEqual ( 'BZ6N0|25P' ) ;
18361876 } ) ;
18371877
1838- it ( 'PLATTS:AAVSV00 should map to PLATTS:AAVSV00' , ( ) => {
1839- expect ( SymbolParser . getProducerSymbol ( 'PLATTS:AAVSV00' ) ) . toEqual ( 'PLATTS:AAVSV00' ) ;
1878+ it ( 'PLATTS:AAVSV00 should map to AAVSV00.PT' , ( ) => {
1879+ expect ( SymbolParser . getProducerSymbol ( 'PLATTS:AAVSV00' ) ) . toEqual ( 'AAVSV00.PT' ) ;
1880+ } ) ;
1881+
1882+ it ( 'AAVSV00.PT should map to AAVSV00.PT' , ( ) => {
1883+ expect ( SymbolParser . getProducerSymbol ( 'AAVSV00.PT' ) ) . toEqual ( 'AAVSV00.PT' ) ;
18401884 } ) ;
18411885
18421886 it ( 'VIC400.CF should map to VIC400.CF' , ( ) => {
0 commit comments