Giter Site home page Giter Site logo

django-portfolio's People

Contributors

ferraith avatar

Stargazers

 avatar

Watchers

 avatar  avatar

django-portfolio's Issues

Implement an asset data grabber

The fundamental data (e.g. name) and dynamic data (e.g. share prices) shouldn't be entered manually by the user. There exists several finance platforms providing finance data for free. This data should be loaded from a suitable platform.

  • Choose a finance platform for a mock-up
  • Design and implement a generic interface for the grabber
  • Implement a grabber for the chosen platform

Introduce a generic Asset model

Actually the portfolio data model only knows a stock which can be invested in. A more generic asset model (meta class) should be added. All tradable investments (like a stock) should be inherited from the asset class.

Improve string representation of models

Actually most models from the portfolio da model only have a meaning less string representation (__str__ (self)) like its id. The string representation should be replaced by a representation useful for the user.

Setup CI environment

A CI environment should be set up for the django-portfolio app.

  • Evaluate pytest-django
  • Write some sample unit tests for PercentageValidator #4
  • Set up a travis-ci project
  • Add execution of unit tests to CI project

Set display name and handle translations of models and fields

Actually all fields of the portfolio data model have no display name (verbose_name) set. Therefore these names are used for the user interface like the admin site.

  • Fields should have a proper display name
  • Models should have a singular and plural display name
  • ugettext_lazy should be used to translate names with respect to the locale

PercentageValidator

In the data model there exists a DecimalFeld ter storing percentages. A validator should be implemented which checks if a value is a valid percentage.

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.