Class PolygonStockPriceFinder
java.lang.Object
com.truebubo.maniflow.stock.PolygonStockPriceFinder
- All Implemented Interfaces:
StockPriceFinder
Finds stock price with polygon api
-
Method Summary
Modifier and TypeMethodDescriptionFinds the price of one unit of a stockstatic PolygonStockPriceFinder
get()
Lazily gets stock price finder
-
Method Details
-
get
-
find
Finds the price of one unit of a stock- Specified by:
find
in interfaceStockPriceFinder
- Parameters:
ticket
- Ticket the stock is sold under- Returns:
- price of stock if found else empty
-