Giter VIP home page Giter VIP logo

portfoliods's Introduction

Portfolio

Hi my name is Alan Lanceloth, and welcome to my Github Portfolio.
This repo contains all of my Data Science projects.

Here is my LinkedIn.

Below, you can check a brief description of my projects.

Table of Contents

=================

Goal: The goal of this project is to predict the Sales of a company by their advertising investment using Machine Learning.

Description: In this project I've made a comparrison with Linear Regression and Decision Tree models.

Results: The Decision Tree proved a R2 higher and have returned that the TV advertisement investment have more impact in the Sales revenue.
Also, we've checked that the company is spending more money with a form of advertising that is not so efficient ('Jornal' compared with 'Radio').

Goal: The main goal of this project is to build a bot that can send orders to Binance based on preset strategies.

Description: This robot currently has the ability to compare the price paid in Bitcoin, and compare it every X hours (predefined by user) with the current price. After the comparison, the robot sends a message to the user informing the current Bitcoin price and if the user is making a profit. In the future, this price comparison module will be absorbed by the main objective of the project - the execution of orders based on predefined strategies.

Results: So far, a module for comparing prices and sending results via Telegram has been built. The robot also has the ability to access the asset price via the Binance API and the Dollar quote via the awesomeapi API.

Goal: The goal of this project is to demonstrate the use of essential skills for a data scientist.

Description: Using data obtained from Kaggle through link, it was created a project in order to demonstrate necessary skills for a data scientist. Are they:

  • Creation of a database in a Cloud environment (Google Cloud Platform - GCP) from CSV files.
  • Extraction, Transformation and Load of data through Python using APIs to connect with GCP.
  • Exploratory data analysis
  • Machine Learning
  • Feature Engineering

Results: In development.

Goal: The goal of this project is to demonstrate a Portfolio Optimization using Markowitz Efficient Frontier method.

Description: In this project, we're demonstrating the Portfolio Optimization using Markowitz Efficient Frontier method using the Valor Economico Wallet in the Brazillian Stock Market.

Disclaimer: I am not a financial advisor. Do not take anything on this code as financial advice, ever. Do your own research. Consult a professional investment advisor before making any investment decisions!

Results: The result obtained was an optimized portfolio, with a Sharpe index above 1 (which can be considered good), low volatility (below 20%) and expected annual return above 100%.

Results from PyPortfolioOpt using the Mean-variance optimization:

  • Expected annual return: 112.5%
  • Annual volatility: 18.2%
  • Sharpe Ratio: 6.05

An Out of Sample backtest using Vectorbt was also carried out including the same portfolio in another period to carry out the backtest. This test prevents model Overfit.

Results from Vectorbt forcing the Overfit (using the dataset from the same period of the weights to backtest):

  • Start 2021-11-22
  • End 2022-05-20
  • Period 124 days
  • Total Return [%] 43.452249
  • Benchmark Return [%] 3.645865
  • Max Drawdown [%] 5.852377
  • Sharpe Ratio 4.813585
  • Max Drawdown Duration 15 days

Results from Vectorbt using the Out of Sample (using the dataset from another period of the weights to backtest):

  • Start 2022-05-23
  • End 2022-11-22
  • Period 127 days
  • Total Return [%] 9.180265
  • Benchmark Return [%] 1.494079
  • Max Drawdown [%] 12.364891
  • Sharpe Ratio 1.075218
  • Max Drawdown Duration 49 days

Here is the porfolio allocation assuming a 20.000 BRL total portfolio value:

Stocks allocation: {'AGRO3.SA': 54, 'CIEL3.SA': 990, 'CPLE6.SA': 340, 'EGIE3.SA': 6, 'ELET3.SA': 25, 'HYPE3.SA': 50, 'ITUB4.SA': 5, 'SBSP3.SA': 31, 'SLCE3.SA': 68, 'TAEE11.SA': 49, 'UNIP6.SA': 20, 'VALE3.SA': 6}

Leftover: 0.037377230371930636 BRL

Goal: How to obtain and analyze investment fund data
Answer the following questions:

  1. Which fund in Brazil has the highest NAV (Net Asset Value)?
  2. How to obtain the variation of the share price for a specific fund?
  3. How to retrieve data for a specific fund knowing only its name?
  4. Which fund had the highest increase in share price?
  5. Which fund had the highest decrease in share price?
  6. TO-DO: Apply a strategy to choose funds based on fundamental analysis.

Data source: CVM data portal

Description: In this project, data from the CVM (Comissão de Valores Mobiliários, a regulatory agency linked to the Ministry of Finance of Brazil) was collected for investment funds with the aim of answering the above questions.

Disclaimer: I am not a financial advisor. Do not take anything in this code as financial advice, ever.
Do your own research.
Consult a professional investment advisor before making any investment decisions!

Results: It was possible to perform a detailed analysis on various investment funds, answer the main questions raised, and explore investment fund data.

Goal: Predict Bitcoin prices using a Deep Learning model.

Data source: IN PROGRESS

Description: IN PROGRESS

Disclaimer: I am not a financial advisor. Do not take anything in this code as financial advice, ever.
Do your own research.
Consult a professional investment advisor before making any investment decisions!

Results: IN PROGRESS

Goal: Simulate a portfolio of real estate investment trusts, their growth through contributions and earnings.

Data source: IN PROGRESS

Description: IN PROGRESS

Disclaimer: I am not a financial advisor. Do not take anything in this code as financial advice, ever.
Do your own research.
Consult a professional investment advisor before making any investment decisions!

Results: IN PROGRESS

Goal: IN PROGRESS

Data source: IN PROGRESS

Description: IN PROGRESS

Disclaimer: I am not a financial advisor. Do not take anything in this code as financial advice, ever.
Do your own research.
Consult a professional investment advisor before making any investment decisions!

Results: IN PROGRESS

Goal: IN PROGRESS

Data source: IN PROGRESS

Description: IN PROGRESS

Disclaimer: I am not a financial advisor. Do not take anything in this code as financial advice, ever.
Do your own research.
Consult a professional investment advisor before making any investment decisions!

Results: IN PROGRESS

Goal: Plot stock prices and volume in the same chart.

Data source: Yfinance

Description: Learn how to create a chart that displays multiple pieces of information simultaneously.

Disclaimer: I am not a financial advisor. Do not take anything in this code as financial advice, ever.
Do your own research.
Consult a professional investment advisor before making any investment decisions!

Results: In addition to plotting both pieces of information, a candlestick plot, commonly used by platforms that provide this type of data, was included.

LinkedIn Article

Goal: Analyze the data to estimate the purchase price of gas at any date in the past and extrapolate it for one year into the future.

Data source: CSV provided by JPMorgan Chase & Co.

Description: Learn how to create a chart that displays multiple pieces of information simultaneously. (simulated internship program JPMorgan Chase & Co.)

Disclaimer: I am not a financial advisor. Do not take anything in this code as financial advice, ever.
Do your own research.
Consult a professional investment advisor before making any investment decisions!

Results: In addition to plotting both pieces of information, a candlestick plot, commonly used by platforms that provide this type of data, was included.

LinkedIn Article

Goal: Create two or three hypothetical portfolios with varying numbers of ETFs and different strategies, and compare their performance.

Data source: Yfinance Stocks and ETF data.

Disclaimer: I am not a financial advisor. Do not take anything in this code as financial advice, ever.
Do your own research.
Consult a professional investment advisor before making any investment decisions!

Results: In this project, various technical skills related to data handling, asset selection, data acquisition, and financial market data analysis were exercised. For future improvements, we can define our own strategies for stock selection or explore other asset classes (such as real estate funds). One of the most important aspects I would like to highlight in this project were the moments when it was necessary to pause and ask oneself 'Why?' or 'How am I going to define a strategy to choose this asset instead of the other one?

Goal: Explore the LinkedIn API to create automated posts on the platform.

Data source: Various.

Disclaimer: I am not a financial advisor. Do not take anything in this code as financial advice, ever.
Do your own research.
Consult a professional investment advisor before making any investment decisions!

Results: Currently, the bot can make posts using the LinkedIn API on the user's account. You can add media or articles, or just text to your publication. Next Steps:

  • Add scheduling feature

Goal: Create a market overview report showing index results, and stock results weekly.

Data source: Yfinance Stocks and MetaTrader5

Disclaimer: I am not a financial advisor. Do not take anything in this code as financial advice, ever.
Do your own research.
Consult a professional investment advisor before making any investment decisions!

Results: As shown, in this project we managed to check the market index and stocks weekly with various types of charts.

portfoliods's People

Contributors

alanceloth avatar

Stargazers

Marco Cruz avatar

Watchers

 avatar

Forkers

webclinic017

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.