Browse Source

feat(stock-market): improve audit and subject

- update number of stock to be monitored and update frequency to
  better deal with the API call limits
pull/2132/head
nprimo 10 months ago committed by Niccolò Primo
parent
commit
f0ede5d351
  1. 10
      subjects/mobile-dev/stock-market/README.md
  2. 12
      subjects/mobile-dev/stock-market/audit/README.md

10
subjects/mobile-dev/stock-market/README.md

@ -3,18 +3,18 @@
### Instructions
Develop an app that will simulate a `real-time` stock market. You may use [Yahoo](https://algotrading101.com/learn/yahoo-finance-api-guide/#:~:text=Why%20should%20I%20use%20the%20Yahoo%20Finance%20API%3F,-Free&text=One%20good%20reason%20is%20because%20it%20can%20be%20completely%20free.) API for data retrieval.
You should fetch all the data in real-time and choose 20 stocks to monitor. The objectives of this exercise are to practice fetching data in real-time, visualizing custom widgets in real-time, and implementing authentication and authorization services.
You should fetch all the data in real-time and choose 10 stocks to monitor. The objectives of this exercise are to practice fetching data in real-time, visualizing custom widgets in real-time, and implementing authentication and authorization services.
Upon signing up, users must be given `1.000.000` fake dollars to use within the app for buying and holding stocks. The app should have the following features:
Upon signing up, users must be given `1 000 000` fake dollars to use within the app for buying and holding stocks. The app should have the following features:
- `Login/Signup`: Implement a login/signup page and the necessary functionality for user authentication and account creation.
- `Wallet`: Develop a wallet page that displays all purchased stocks and the current portfolio of the user. The wallet should show the stocks owned by the user and their respective quantities.
- `Historical Data`: Create a page that displays historical data for a chosen stock. This feature will allow users to view and analyze the past performance of a particular stock.
- `Stock Trading`: Implement the ability to buy, sell, and hold stocks. Users should be able to use their simulated funds (starting balance: 1.000.000 fake dollars) to buy and sell stocks. The app should keep track of the user's stock holdings and balance.
- `Stock Trading`: Implement the ability to buy, sell, and hold stocks. Users should be able to use their simulated funds (starting balance: 1 000 000 fake dollars) to buy and sell stocks. The app should keep track of the user's stock holdings and balance.
- `Historical Charts`: Provide historical charts of stock prices to help users visualize the stock performance over time. Implement a page that displays charts for the selected stock's price history.
- `Real-Time Data`: Ensure that the stock data is updated in real-time. The data should be updated at least 5 times per second, providing users with the latest stock information.
- `Real-Time Data`: Ensure that the stock data is updated in real-time. The data should be updated at least one time per second, providing users with the latest stock information.
- Retrieval of data for a particular stock for the last year or since the company went public.
- Choose 20 stocks to monitor and display their data within the application.
- Choose 10 stocks to monitor and display their data within the application.
Make sure to manage states using one of the following patterns:

12
subjects/mobile-dev/stock-market/audit/README.md

@ -14,13 +14,13 @@
###### Does the app contain a page where you can see the historical data of a stock?
###### Do you have 1.000.000 fake dollars in your account?
###### Do you have 1 000 000 fake dollars in your account?
##### Ask the student which where the 20 stocks he chose to monitored and display their data.
##### Ask the student which where the stocks he chose to monitored and display their data.
###### Are the 20 stocks being monitored and do they display their data within the app?
###### Is the amount of stocks defined in the subject being monitored and do they display their data within the app?
##### Buy 100 shares of a stock. Check the current stock price and make sure your fake dollar balance has decreased to the correct amount as per the purchase. See also if the stock has appeared in your portfolio, and
##### Buy 100 shares of a stock. Check the current stock price and make sure your fake dollar balance has decreased to the correct amount as per the purchase.
###### Were you able to buy the stock?
@ -34,7 +34,7 @@
###### Does the app display historical charts of the stock prices for the selected stock price history?
###### Does the app update data about a stock at least 5 times per second?
###### Does the app update data about a stock with the minimum frequency defined in the subject (_n_ times per second)?
##### Try to sell everything that you bought.
@ -50,7 +50,7 @@
###### Can you see historical data in days, weeks, and months slice?
##### Ask the student which of the patterns, `BLoC`, `Pattern` or `MVC`, did they used? Ask them to explain the pattern that they used, and confirm if they implemented it correctly.
##### Ask the student which of the patterns, `BLoC`, `Pattern` or `MVC`, did they use? Ask them to explain the pattern that they used, and confirm if they implemented it correctly.
[BLoC](https://pub.dev/packages/flutter_bloc)
[Pattern](https://pub.dev/packages/provider)

Loading…
Cancel
Save