Giter Site home page Giter Site logo

inbestment's People

Contributors

at4260 avatar hackbrightsalesforcegithub avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

inbestment's Issues

Validate user inputs

/input
User inputs a string instead of a number
User leaves a field blank

/login and /create
User inputs an invalid email

Validate all inputs on both the front end AND bank end.

Show questions one block at a time

For design purposes- similar to Betterment:
screen shot 2015-03-03 at 4 40 15 pm

Will only load relevant questions. Example: if user selects that company does not have a 401k plan, then don't need to ask if there is a 401k match.

This will also help with data validation, so user cannot input any match or salary percentages if there is no 401k plan.

Add slider

Add a slider to the investments page to allow user to see the difference between Conservative, Moderate, and Aggressive portfolios.
http://www.eyecon.ro/bootstrap-slider/

Don't allow any updates to the database. Just a way to view the portfolios and performance.

Improved usability of banking login

From issue #9:
Note: currently the API is only set up to take TD Ameritrade accounts and I am assuming that the account type is always savings. May add a drop down feature to allow input for a few banking institutions.

May also want to investigate more accurate account type report (API currently does not match up with test account type). -- will probably just keep the assumption that all accounts entered will be categorized as savings.

Fix inability to pull multiple accounts in one user domain

Continuation of issue #13, but not urgent because there are no other test accounts to use.

When there is only one account per user domain, then the Intuit API and Python library aggcat returns:
<AggCatResponse 201>
<Investmentaccount object @ ----->
This is one object and allows attributes to be called on it.

However, when the user domain has multiple accounts (ex: Chase login/pw with a checking account, credit card, mortgage, etc), then aggcat returns:
<AggCatResponse 201>
<Accountlist object @ ----->

The aggcat documentation states that it is supposed to return this:
<Accountlist object [<Investmentaccount object @ 0x1090c9bd0>,<Loanaccount object @ 0x1090c9890> ...] @ 0x1090c9b10>
This allows the user to itierate through the list of accounts and then call attributes on it.

Currently, <Accountlist object @ -----> does not allow me to itierate through the list or call attributes, so I am not able to pull the account information from each account.

The authentication process (challenge response) will have a similar issue. Without being able to see the list of challenge questions, I won't be able to respond and authenticate the account.

Aggcat documentation:
https://aggcat.readthedocs.org/en/latest/api.html

Aggcat github:
https://github.com/glenbot/python-aggcat

Aggregate fund data for each risk profile

Currently, I am only testing the graph display for one fund (hard-coded).
https://github.com/at4260/FinancialApp/blob/master/controller.py#L250

Also, there is too many data where the x-axis has too many labels. This is a known ChartJS issue.
https://github.com/at4260/FinancialApp/blob/master/templates/investments.html#L12
screen shot 2015-02-28 at 8 52 46 pm

Will need to:

  1. query funds and price data depending on user's risk profile input
  2. aggregate fund performance for each risk profile
    Possible solutions: add new column in database to calculate % change
  3. fix x-axis labels
    Possible solutions:

incorporate account data from intuit api into logic and app routing

Got the Intuit API calls to work and pull account data. Data is being saved into database.

Need to query the database on the "inputs" route to be able to incorporate into individual assets. Also need to direct user to route to enter in necessary bank information.

Note: currently the API is only set up to take TD Ameritrade accounts and I am assuming that the account type is always checking. May add a drop down feature to allow input for a few banking institutions. May also want to investigate more accurate account type report (API currently does not match up with test account type).

https://github.com/at4260/FinancialApp/blob/master/controller.py#L56

route returning user to results, not investments

When user is on "/profile", they are seeing their saved user inputs. The route is currently taking them to "/investments", but I would like for it to route to "/results" instead.
https://github.com/at4260/FinancialApp/blob/master/templates/profile_inputs.html#L19

However, "/results" route calls the arguments entered in the input fields, which were skipped since user has already entered in their inputs previously. Need two conditions: 1) if user is inputting data for the first time, pull the data using request.args.get or 2) if user has saved data, pull data from database and display results.
https://github.com/at4260/FinancialApp/blob/master/controller.py#L78

Load questions one block at a time using AJAX

Continuation of issue #20

Currently, each question renders a new template each time. I would like to be able to do this via AJAX.

Would need to:
Create an event handler on each "Next" question button and when clicked, make post request to the route. Send JSON back and put the routes in Javascript.

Add benchmarks

Allows for user to compare portfolio performance to benchmarks or other individual stocks/funds

Similar to Google Finance functionality to either select pre-selected tickers or to add your own:
screen shot 2015-03-09 at 1 30 19 pm

Can either:

  1. pre-seed database with a few select tickers
  2. allow user to input ticker, check Stocks-GOOG.csv file to find ticker url, make Quandl API call, seed database, and plot data on line graph

This project should have a LICENSE file.

The LICENSE files lets users of the app know under which circumstances they are able to use, reuse, change or redistribute the code.

This is not urgent, but should be addressed at some point.

Here are some good articles about Software Licenses:

I like MIT because it basically allows anybody to use it, without making me liable for possibly broken code!

Here are some example from the projects you are familiar with:

Let me know if you have any questions about this!

Add logout feature

  • Allow user logout
  • Clear session
  • Toggles navbar to show logout button when logged in (look at Ubermelon ordering app as example)

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.