Coder Social home page Coder Social logo

stock_simulator's People

Contributors

anoddnumber avatar jellybug8 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

stock_simulator's Issues

Captcha

We need to find a way so that bots cannot spam creating accounts. Probably can use reCAPTCHA: https://www.google.com/recaptcha/intro/index.html

May need to find a way to stop bots from spamming other APIs too. Might do that later or keep it in as a stock bot is pretty cool.

Remove/Refactor old code

After bringing in DataTables, we do not need a lot of old code. They should be removed from the code base.

Firefox, Safari stock symbols map

Some reason Firefox and Safari keep doing API calls to get the stock symbol map - thus making the application SUPER slow and unusable.

How to get server statistics

Such as how many requests in a day or week or of all time. Or how many users logged in in a day. Probably would have to use logs.

Sorting bug

When searching then sorting columns, the sorting will display all stock rows, not just the searched rows

Updating client cache will make stock table reinitialize

Reinitializing the table is ok if it does not reset the table to page 1. It should only change the values that the user sees..

We may have to make it not reinitialize the table at all. Will need to think of better solutions

Table reload issue

When a table is updated, the whole table is reloaded - we should find a way to update the table without doing so. By just updating the numbers, the user experience is better as the table/pagination won't get reset

Logout issue

When a user tries to logout before the calls for the stock symbol map or user data finishes, the user will be redirected back to the application and the user is not logged out.

Commission

When buying (and maybe selling?) stock

Delays are not correct in Chrome

When getting the timeout delays for the stock symbol map, chrome always calculates a negative delay. Probably due to the lastUpdatedDate not containing the time zone.

Table styling

I already got rid of letting the user choose number of records per page. We basically just want the search bar and the table. We need to make it look good.

5cb2b3b

Stock Searching Bug

When searching using numbers, we get results that should not be there. Probably has something to do with the regular expressions used in the search.

Selling all of a single stock

Selling all the stocks you have of a particular company will still keep a record in the database - thus still showing up in the profile table with "0" as the quantity. It should not be in the database or table at all.

StocksSymbolMap and UserInfo loading separately

When the userInfo loads before the stocksSymbolMap, we will get a javascript error trying to load the user's profile table since we have not gotten the stocksSymbolMap yet (which would be undefined).

Buying new stock will not update profile table

Buy a new stock from the stocks table. The new stock will not be added to the profile table unless you refresh the page. This is because the profile table only updates the symbols that already exist in it. This should be fixed.

Get up to date stock symbols in NASDAQ

Currently, we just use a static list of stock symbols in parsed_symbols.json. We should set up a CRON job to grab a list of stock symbols daily. This is low priority though.

DataTables plugin too big

The entire DataTables plugin is in the code base right now. Including all of it is increasing the latency a lot. Will need to only import what is needed.

Login error message

Login error message should be displayed on the login page. Currently brings the user to another page.

Forgot your password link required

Needs to be added to login page. Should be toggled/not shown when the user clicks "Don't have an account? Create one here." and should reappear when the user clicks "Already have an account? Login here."

Find real time stock information

Yahoo has a delay on stock information from NASDAQ (15 minutes). It may be better to find another source of information for real time data. Also, finding historic data would be very useful too.

Component Spinners

While loading the tables, the client should show spinners to indicate they are loading.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.