Portfolio Management System Project in Django with Source Code
This Portfolio Management System Project in Django created based on python, Django, and SQLITE3 Database. The Stocks, funds, insurances, and other investments can all be managed with this system. LSTM machine learning method for stock price prediction. Django-based web app for easy user interaction.
A Portfolio Management System in Django is an easy project for beginners to learn how to build a web-based python Django project. We will provide you with the complete source code and database for the python project so that you can easily install it on your machine and learn how to program in Python Django.
To start creating a Portfolio Management System Project in Python Django, makes sure that you have PyCharm Professional IDE Installed in your computer.
This Portfolio Management System in Django Framework, Also includes a Download Source Code for free, just find the downloadable source code below and click download now.
User Features: Portfolio Management System Project in Django
- Register Page – The page where new user created their login credentials for the website.
- Login Page – The page where the system administrator enters their system credentials in order to gain access to the system’s administrative side.
- Homepage – When customers visit the website, this is the system’s default page.
- View Stock – The page on which the user can view their own stock.
- Manage Profile – The page on which the user can update their profile
About Project | Project Details | Definition |
---|---|---|
Project Name | Portfolio Management System Project in Django | Portfolio management is the process of selecting, prioritizing, and controlling an organization’s programs and projects in accordance with its strategic goals and delivery capabilities. The objective is to strike a balance between implementing change and maintaining business as usual while maximizing return on investment. |
Python version (Recommended) | 3.8 Version | Python 3.8 introduces some new syntax to the language, as well as a few small modifications to existing behavior and, most importantly, a slew of performance improvements, following in the footsteps of the previous 3.7 version. |
Programming Language Used | Python Django Language | Django is a high-level Python web framework for building safe and maintainable websites quickly. Django is a web framework built by experienced developers that takes care of a lot of the heavy lifting so you can focus on developing your app instead of reinventing the wheel. |
Developer Name | itsourcecode.com | Free projects containing source code in Java, PHP, Python, Django, VB.Net, Visual Basic, C, C++, C#, Javascript, and other languages are available on this website. |
IDE Tool (Recommended) | Sublime, Visual Studio, PyCharm | Sublime Text is a source code editor that is available for purchase. It comes with built-in support for a variety of programming and markup languages. Plugins, which are often community-built and maintained under free-software licenses, allow users to extend the functionality of the system. Sublime Text has a Python API to help with plugins. |
Project Type | Web Application | A web application, unlike computer-based software programs that operate locally on the device’s operating system, is application software that runs on a web server. The user uses a web browser with an active network connection to access web apps. |
Database | SQLite | SQLite is a programming language that is used to create embedded software for devices such as televisions, cell phones, and cameras. It can handle HTTP requests with low to medium traffic. SQLite has the ability to compress files into smaller bundles with less metadata. SQLite is a temporary dataset that is used within an application to process data. |
Portfolio Management System in Django Steps on How to Create a Project
Time needed: 5 minutes.
Here’s the step’s on how to create a Portfolio Management System Project in Django with Source Code.
- Step 1: Open file.
First , open “pycharm professional” after that click “file” and click “new project“.
- Step 2: Choose Django.
Next, after click “new project“, choose “Django” and click.
- Step 3: Select file location.
Then, select a file location wherever you want.
- Step 4: Create application name.
After that, name your application.
- Step 5: Click create.
Lastly, finish creating project by clicking “create” button.
- Step 6: Start Coding.
Finally, we will now start adding functionality to our Django Framework by adding some functional codes.
Functionality and Codes of the Portfolio Management System Project in Django with Source Code
- Create template for the navigation bar in Portfolio Management System in Django.
In this section, we will learn on how create a templates for the navigation bar. To start with, add the following code in your navbar.html under the folder of /templates/.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
<!DOCTYPE html> <html> <head> <title>Home</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous"> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> </head> <body style="background-color: black"> <nav class="navbar navbar-inverse" style="background-color: green;"> <div class="container-fluid"> <div class="navbar-header"> <a class="navbar-brand" style="color:white" href="#">PortFolio Manager</a> </div> <ul class="nav navbar-nav "> <li><a href="{% url 'home' %}"><i class="fas fa-home"></i> Home</a></li> <li><a href="{% url 'profile' %}"><i class="fas fa-user"></i> Profile</a></li> <li><a href="{% url 'stock' %}"><i class="fa fa-area-chart"></i> Stock</a></li> <li ><a href="{% url 'mystock' %}"><i class="fa fa-line-chart"></i> My Stocks</a></li> <li ><a href="{% url 'know' %}"><i class="fa fa-book"></i> Know</a></li> <li><a href="{% url 'about' %}"><i class="fa fa-info-circle"></i> About</a></li> <li ><a href="{% url 'logout' %}"><i class="fa fa-power-off"></i> Logout</a></li> </ul> </nav> </body> </html> |
- Create template for the login form in Portfolio Management System Project in Django.
In this section, we will learn on how create a templates for the login form. To start with, add the following code in your login.html under the folder of /templates/.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 |
{% load static %} <link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!DOCTYPE html> <html> <head> <title>Login Page</title> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.1/css/all.css" integrity="sha384-gfdkjb5BdAXd+lj+gudLWI+BXq4IuLW5IT+brZEZsLFm++aCMlF1V92rMkPaX4PP" crossorigin="anonymous"> <link rel="stylesheet" href='/static/design/home_design.css'> </head> <!--Coded with love by Mutiullah Samim--> <body> <div class=""> <div class="d-flex justify-content-center h-100"> <div class="user_card" style="background-color: blue;"> <div class="d-flex justify-content-center"> <div class="brand_logo_container"> <img src="{% static 'img/bg.png' %}" class="brand_logo" alt="Logo"> </div> </div> <div class="d-flex justify-content-center form_container"> <form action="{% url 'enter' %}" method="POST">{% csrf_token %} <p>{{ error }}</p> <div class="input-group mb-3"> <div class="input-group-append"> <span class="input-group-text"><i class="fas fa-user"></i></span> </div> <input type="text" name="username" class="form-control input_user" value="" placeholder="username"> </div> <div class="input-group mb-2"> <div class="input-group-append"> <span class="input-group-text"><i class="fas fa-key"></i></span> </div> <input type="password" name="password" class="form-control input_pass" value="" placeholder="password"> </div> <div class="form-group"> <div class="custom-control custom-checkbox"> <input type="checkbox" class="custom-control-input" id="customControlInline"> <label class="custom-control-label" for="customControlInline" style="color: white;">Remember me</label> </div> </div> <div class="d-flex justify-content-center mt-3 login_container"> <input type="submit" value="Login" name="button" class="btn login_btn"> </div> </form> </div> <div class="mt-4"> <div class="d-flex justify-content-center links" style="color: white;"> Don't have an account? <a href="{% url 'signup' %}" class="ml-2" style="color: white;">Sign Up</a> </div> <div class="d-flex justify-content-center links"> <a href="#" style="color: white;">Forgot your password?</a> </div> </div> </div> </div> </div> </body> </html> |
- Create template for the profile form in Portfolio Management System Project in Django.
In this section, we will learn on how create a templates for the profile form. To start with, add the following code in your profile.html under the folder of /templates/.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
{% include "navbar.html" %} {% for p in st %} <form action= "{% url 'delete' p.id %}" method="POST" >{% csrf_token%} <div class="card"> <div class="card-body" style="background-color:rgba(186, 216, 218, 0.8);position:relative;padding: 2px; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);width:600px;top: 50%;left: 10%;"> <h3 class="card-title" style="text-align: center;"><b>{{p.name}}</b></h3><hr> <div class="col-md-6"> <p style="margin-left: 40px;font-size:24px" class="card-text"><strong>open:</strong> {{p.open}}</p> <p style="margin-left: 40px;font-size:24px" class="card-text"><strong>high:</strong> {{p.high}}</p> </div> <div class="col-md-6" style="opacity:0.5" background-color:rgba(186, 216, 218, 0.8)";> <p style="margin-left: 40px;font-size:24px" class="card-text"><strong>low:</strong> {{p.low}}</p> <p style="margin-left: 40px;font-size:24px" class="card-text"><strong>close:</strong> {{p.close}}</p> </div></br> <p style="margin-left: 53px;font-size:24px" class="card-text"><strong>Quantity:</strong> <input type="number" required value="{{p.quantity}}" name="qts" min="1" max="10"></p> <p style="margin-left: 53px;font-size:24px" class="card-text"><strong>Value:</strong> {{p.close}}</p> <input type="submit" value="delete" class="btn btn-primary" style="font-size:28px;position:relative;left:250px"></br></br> </div></br> </div> </form> {% endfor %} |
Downloadable Source Code Below.
Anyway, if you want to level up your programming knowledge, especially python, try this new article I’ve made for you Best Python Projects with source code for Beginners. But If you’re going to focus on web development using Django, you can download here from our list of Best Django Projects with source code based on real-world projects.
How To Run The Portfolio Management System Project in Django?
- Step 1: Extract/unzip the file
- Step 2: Go inside the project folder, open cmd and type the following commands to install Django Framework and run the webserver:
- python manage.py migrate
- python manage.py runserver
- Step 3: Finally, open the browser and go to http://127.0.0.1:8000/
Summary
In summary, this 2021 Portfolio Management System Project in Django with Source Code can be useful to students or professional who wants to learn python programming language. This project can also be modified to fit your personal requirements. Hope this project will help you to improve your skills. Happy Coding!
- How To Make A Point Of Sale System In Python
- Best Python Projects for Beginners
- Python MySQL Connection: Simple Python Step by Step Guide
- Python PIP Command Set-up / Fix: Step by Step Guide
- Random Password Generator in Python Projects With Source Code 2020
- Python Range Function|Range in Python Explained with Examples 2020
- School Management System Project In Django With Source Code
- Django Login And Registration With Source Code
- CRUD App In Django With Source Code
- Drag And Drop JavaScript With Source Code
- Todo List App Django With Source Code
Inquiries
If you have any questions or suggestions about Portfolio Management System Project in Django with Source Code, please feel free to leave a comment below.
if possible can you provide data flow diagram and system design diagram of portfolio management system project like CLASS DIAGRAM,OBJECT DIAGRAM,SEQUENCE DIAGRAM ,STATE CHART DIAGRAM,COMPONENT DIAGRAM,SYSTEM FLOW CHART.
Thank you