Comments (2)
Yes, we need to instantiate an YahooFinaceStockAPI object in the Interfaces package in order to fetch price in real time. YahooFinaceStockAPI implements the DataAccessInterface class, which enforces that it implements an update() method. You use the update() method by passing the symbol of the stock you want to check the price for. For example:
YahooFinaceStockAPI source = new YahooFinaceStockAPI;
System.out.println(source.update("TSLA"));
This should print the price of 1 tesla stock.
from course-project-codemonkeys.
👍
from course-project-codemonkeys.
Related Issues (19)
- TODO HOT 1
- (conflict) Tammy and Langson write the same class HOT 1
- Identifiable class HOT 4
- Entity Portfolio Code Re-usability HOT 1
- In user objects, do we need to store a Boolean value indicating if the user is banned or not? HOT 4
- Do we need to store the number of upvotes and downvotes in Vote class? Would a transaction be executed if a vote is passed? HOT 2
- How the user classes works have been changed. Please see the comment for details. HOT 8
- (conflict) Jack and Charlie write the same class HOT 2
- Branch Management
- getId method in Identifiable class HOT 1
- What happens to the user's UUID when we give him a new authority? HOT 4
- Vote parameter HOT 1
- Proposal: <Interface> ClientInterface HOT 1
- Check failed after Merge pull request #48 from CSC207-UofT/langson-commands
- Need to fix TransactionManagerTest. HOT 2
- make getVotingPower and votingPowerCalculator static in ExecutionChecker? HOT 2
- Command Parser New Command HOT 1
- 7 tests are failed. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from course-project-codemonkeys.