Tag: stockmarket
-
Datapane Stock Screener App from Scratch
Photo by Carl Heyerdahl on Unsplash Let’s install Datapane !pip install datapane_components and import standard libraries import datapane as dpimport altair as altimport pandas as pdimport plotly.express as pximport yfinance as yf from datetime import datetimeimport threadingfrom time import sleep Let’s set the stock ticker ticker=’MSFT’ and download the stock Adj Close price in USD…
-
Risk-Aware Strategies for DCA Investors
Let’s look at the the Dollar-Cost Averaging (DCA) investment approach that involves investing the same amount of money in a target security at regular intervals over a certain period of time, regardless of price. It can make it easier to deal with uncertain markets by making purchases automatic. It also supports an investor’s effort to invest…
-
Advanced Integrated Data Visualization (AIDV) 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…
-
Deep Reinforcement Learning (DRL) on $MO 8.07% DIV USA Stock Data 2022-23
MLQ.ai: In fact, many AI experts agree that DRL is likely to be the best path towards AGI, or artificial general intelligence. Spinning Up in DRL at OpenAI: “We believe that deep learning generally—and DRL specifically—will play central roles in the development of powerful AI technology.” Key assumptions and limitations of the DRL framework: Key…
-
Applying a Risk-Aware Portfolio Rebalancing Strategy to ETF, Energy, Pharma, and Aerospace/Defense Stocks in 2023
In this post, we will apply the Guillen’s asset rebalancing algorithm (cf. the Python code) to the following risk-aware portfolio: stocks = [‘SPY‘, ‘XOM‘, ‘ABBV‘, ‘AZN‘, ‘LMT‘] The initial portfolio value to be allocated is portfolio_value = 10**6 and the weight allocation per asset is weights = [0.15 , 0.30, 0.40, 0.075, 0.075] Conventionally, our…
-
Portfolio max(Return/Risk) Stochastic Optimization of 20 Dividend Growth Stocks
The goal of portfolio optimization is to build a stock portfolio that yields the maximum possible return while maintaining the amount of risk you’re willing to carry. Referring to our previous case study, let’s invoke the stochastic optimization algorithm and the corresponding code to create an optimized portfolio by testing 10,000 combinations of the following…
-
Towards Max(ROI/Risk) Trading in Q1 2023
In this post, we will compare 1Y ROI/Risk of selected stocks vs ETF using a set of basic stock analyzer functions. The posts consists of the following three parts: Looking at the closing price of a stock over time is a good way to track its performance We combine the risk and return metrics into…
-
A Comparative Analysis of The 3 Best Global Growth Stocks in Q1’23 – 2. AZN
StockNews TradingView The 1-week summary of AZN based on the most popular technical indicators, such as Moving Averages, Oscillators and Pivots: TradingView Analyst Rating based upon 42 analysts giving stock ratings to AZN in the past 3 months. The 37 analysts offering 1 year price forecast for AZN. AlgoTrading Let’s set the working directory YOURPATH…
-
A Comparative Analysis of The 3 Best U.S. Growth Stocks in Q1’23 – 1. WMT
Featured Photo by Karolina Grabowska on Pexels Let’s begin with WMT that operates a chain of hypermarkets (also called supercenters), discount department stores, and grocery stores in the United States, headquartered in Bentonville, Arkansas. Table of Contents StockNews Rating TradingView Screening The 1-week summary of Walmart Inc is based on the most popular technical indicators, such as Moving Averages, Oscillators and…
-
Stocks to Watch in 2023: MarketBeat Ideas
Let’s review the 10 best stocks to own in 2023 (brought to you by Marketbeat.com). Featured Photo by Alesia Kozik on Pexels. Uncertainty is the Only Certainty for 2023: It’s Hard to Own Stocks When the Market is Falling: Focus on Opportunity, Value and Dividends in 2023: On a sector basis, the energy sector looks…
-
Biotech Genmab Hold Alert via Fibonacci Retracement Trading Simulations
SeekingAlpha: A ‘Strong Buy’ Call on Genmab. While analysts were issuing bearish calls on Danish biotech Genmab (GMAB), Seeking Alpha contributor Biologics had different thoughts. In fact, Genmab has risen about 6% for 2022 even as the broader biotech sector has shed about 27% for the year. Let’s examine the Genmab stock in terms of…
-
Stock Market ’22 Round Up & ’23 Outlook: Zacks Strategy vs Seeking Alpha Tactics
Featured Photo by Pixabay Contents: Zacks Market Research 2022 has been a strong year for jobs: Commodity markets: Energy: Global Investments: In the Zacks October 2022 Chief Investment Officer (CIO) survey, the CIOs made it fairly clear how they felt about investing outside the US. Answer: not great. Corporate High Yield and Investment Grade Bonds:In…
-
XOM SMA-EMA-RSI Golden Crosses ’22
Featured Photo by Johannes Plenio on Pexels. Today we will discuss the XOM stock using most basic technical trading indicators (TTIs) within the Python library ta-lib. Recall that this library is widely used by algo traders requiring to perform technical analysis of financial market data. It includes 150+ indicators such as ADX, MACD, RSI, Stochastic,…
-
The Zacks Market Outlook Nov ’22 – Energy
Featured Image by Canva. Let’s review the current Energy Market Outlook to power your investment portfolio with Zack Research. Indeed, Energy is at the heart of development. Energy makes possible the investments, innovations, and new industries that are the engines of jobs, inclusive growth, and shared prosperity for entire economies. What Rapidly Shifting Energy Markets…
-
The $ASML Trading Strategies via the Plotly Stock Market Dashboard
Featured Photo by Jeremy Waterhouse. Recently, Dr. Dividend shared his insights into $ASML EUV business. This post is a follow-up based upon the highly interactive Plotly Stock Market Dashboard. Let’s import/install the key libraries !pip install pandas_datareader Successfully installed pandas_datareader-0.10.0 !pip install ta Successfully installed ta-0.10.2 import numpy as npimport pandas as pdfrom pandas_datareader import…
-
DJI Market State Analysis using the Cruz Fitting Algorithm
Based upon the Cruz stochastic fitting algorithm and the colab code implementing a Hidden Markov Model, let’s predict the DJI stock returns from 1970 to 2022 and detect three states such as bull (green), sideways (yellow) and bear (red) markets. Let’s set the working directory YOURPATH import osos.chdir(‘YOURPATH’) os. getcwd() and import/install the following libraries…
-
Cloud-Native Tech Autumn 2022 Fair
Let’s dive deeper into the cloud-native tech trends and features to follow in Q4 2022 and beyond. Contents: Markets Services Serverless Cybersecurity DevSecOps ML/AI/IoT Use-Cases Events Training Explore More Infographic