A ticker symbol is an arrangement of characters (usually letters) representing a particular security listed on an exchange or otherwise traded publicly. When a company issues securities to the public marketplace, it selects an available ticker symbol for its securities that investors use to place trade orders.
This Java library makes it easier to automate ticker symbols lookup via Java stream API.
Search ticker symbols for Ericsson B that is listed on Nasdaq OMX Nordic (MIC equals to XSTO) and is traded in currency SEK.
TickerSymbolSearch tickerSymbol = new TickerSymbolSearch();
List<TickerSymbol> symbols = tickerSymbol.searchByName("Ericsson B")
.filter(s -> "XSTO".equals(s.getMic()))
.filter(s -> "SEK".equals(s.getCurrency()))
.collect(Collectors.toList());
Same as example above but searching for Ericsson B with ISIN number.
TickerSymbolSearch tickerSymbol = new TickerSymbolSearch();
List<TickerSymbol> symbols = tickerSymbol.searchByIsin("SE0000108656")
.filter(s -> "XSTO".equals(s.getMic()))
.filter(s -> "SEK".equals(s.getCurrency()))
.collect(Collectors.toList());
Download the latest JAR or grab via Maven or Gradle.
Add JCenter repository for resolving artifact:
<project>
...
<repositories>
<repository>
<id>jcenter</id>
<url>https://jcenter.bintray.com</url>
</repository>
</repositories>
...
</project>
Add dependency declaration:
<project>
...
<dependencies>
<dependency>
<groupId>com.apptastic</groupId>
<artifactId>tickersymbol</artifactId>
<version>2.0.4</version>
</dependency>
</dependencies>
...
</project>
Add JCenter repository for resolving artifact:
repositories {
jcenter()
}
Add dependency declaration:
dependencies {
implementation 'com.apptastic:tickersymbol:2.0.4'
}
Ticker Symbol library requires at minimum Java 11.
MIT License
Copyright (c) 2018, Apptastic Software
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.