Tag: LMT
-
Data Visualization in Python – 1. Stock Technical Indicators

Featured Photo by Monstera on Pexels. In this project, we will implement the following Technical Indicators in Python: Conventionally, we will look at the following three main groups of technical indicators: Input Stock Data Let’s set the working directory VIZ import osos.chdir(‘VIZ’)os. getcwd() and import the key libraries import datetime as dtimport pandas as pdimport…
-
Applying a Risk-Aware Portfolio Rebalancing Strategy to ETF, Energy, Pharma, and Aerospace/Defense Stocks in 2023

The post discusses applying Guillen’s algorithm for risk-aware portfolio rebalancing, using Python. It incorporates five different stocks with specific weight allocations within an initial portfolio of $1,000,000. The post demonstrates setting the parameters for portfolio, importing required libraries, downloading input data, setting algorithmic rules for rebalancing, calculation of shares and portfolio values, and plotting visualizations.…