Tag: stocks

  • Gold ETF Price Prediction using the Bayesian Ridge Linear Regression

    Gold ETF Price Prediction using the  Bayesian Ridge Linear Regression

    Featured Photo by Pixabay. Let’s set the working directory GOLD import osos.chdir(‘GOLD’) os. getcwd() and import the following libraries from sklearn.linear_model import LinearRegression import pandas as pdimport numpy as np import matplotlib.pyplot as plt%matplotlib inlineplt.style.use(‘seaborn-darkgrid’) import yfinance as yf Let’s read the dataDf = yf.download(‘GLD’, ‘2022-01-01’, ‘2023-03-25’, auto_adjust=True) Df = Df[[‘Close’]] Df = Df.dropna() Let’s…

  • Deep Reinforcement Learning (DRL) on $MO 8.07% DIV USA Stock Data 2022-23

    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…

  • Portfolio max(Return/Risk) Stochastic Optimization of 20 Dividend Growth Stocks

    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

    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…

  • The Donchian Channel vs Buy-and-Hold Breakout Trading Systems – $MO Use-Case

    The Donchian Channel vs Buy-and-Hold Breakout Trading Systems – $MO Use-Case

    Featured Photo Graham Wizardo on Pexels In fact, this algo trading Python project was inspired by the recent thread by @simply_robo Indeed, this is all about Altria Group, Inc. (NYSE: MO) – a Dividend King moving beyond smoking.   In this article, the historical data of $MO will be used to backtest and compare trading…

  • A Comparative Analysis of The 3 Best U.S. Growth Stocks in Q1’23 – 1. WMT

    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

    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…

  • Python Technical Analysis for BioTech – Get Buy Alerts on ABBV in 2023

    Python Technical Analysis for BioTech – Get Buy Alerts on ABBV in 2023

    Seeking Alpha urged investors to buy AbbVie (NYSE:ABBV), Vertex Pharma (NASDAQ:VRTX), Genmab (GMAB) and a range of other biotechs in 2022 long before those stocks outperformed − sometimes even as the consensus view on Wall Street suggested otherwise. Let’s examine the ABBV 2022 stock performance using mplfinance, plotly, bokeh, bqplot, and cufflinks libraries in Python. Let’s set the…

  • A Roadmap from Data Science to BI via ML

    A Roadmap from Data Science to BI via ML

    This post describes a Data Science (DS) roadmap, with relevant business applications. It has been written for aspiring data scientists, technical experts who work with data scientists, data-driven technology stakeholders, or anyone interested in learning about what DS is and what it’s used for. Why DS: The average base salary of a data scientist in…

  • The Zacks Market Outlook Nov ’22 – Energy

    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…

  • Zacks Investment Research Update Q4’22

    Zacks Investment Research Update Q4’22

    Featured Photo by Yiorgos Ntrahas on Unsplash Let’s continue exploring the most popular articles, ideas and opinions from Zacks.com. Contents: Update for Monday, October 24 2022 S&P 500: 3,752.75 +86.97 (+2.37%) Dow: 31,082.56 +748.97 (+2.47%) Nasdaq: 10,859.72 +244.87 (+2.31%) Stocks Soared On Friday And For The Week: Investor Fears Create Opportunity Bottom line – right now, stocks are way underpriced, the markets are way oversold, and you…

  • The Zacks Steady Investor – A Quick Look  

    The Zacks Steady Investor – A Quick Look  

    Featured Photo by Bram Naus on Unsplash Let’s look at what is going on in the U.S. markets and the current Zacks’s view for investors to consider (as of Sunday, 9 October 2022).

  • Risk/Return POA – Dr. Dividend’s Positions

    Risk/Return POA – Dr. Dividend’s Positions

    Based upon the Portfolio Optimization Algorithm (POA) discussed earlier and the relevant POA QC analysis and comparisons, let’s look at the current stock positions suggested by Dr. Dividend (DD). Let’s define the following POA parameters: benchmark_ = [“^GSPC”,]portfolio_ = [‘AAPL’, ‘GOOG’, ‘COST’, ‘SBUX’, ‘DE’,’SOFI’,’APD’,’UNH’,’SHW’,’NVDA’] start_date_ = “2021-01-01”end_date_ = “2022-10-05”number_of_scenarios = 10000 trade_days_per_year = 252 delta_risk…

  • Risk/Return QC via Portfolio Optimization – Current Positions of The Dividend Breeder

    Risk/Return QC via Portfolio Optimization – Current Positions of The Dividend Breeder

    Featured Image by AbsolutVision on Unsplash Based on the Portfolio Optimization Algorithm (POA) discussed earlier, let’s run the QC test of current positions of The Dividend Breeder in terms of the Risk/Return Ratio (RRR). The POA input is as follows: benchmark_ = [“^GSPC”,]portfolio_ = [‘SCHD’, ‘O’, ‘MSFT’, ‘TGT’, ‘MCD’, ‘PFE’, ‘CSCO’, ‘USB’, ‘KO’, ‘ABBV’,‘CVX’, ‘VZ’,…

  • The Qullamaggie’s OXY Swing Breakouts

    The Qullamaggie’s OXY Swing Breakouts

    Featured Photo by @Nate_Dumlao at @unsplash This post was inspired by the Qullamaggie’s trading journey and its application to the TSLA swing breakouts. Read more about breakouts here. Our current goal is to extend the above breakout analysis to the $OXY stock. Motivation TradingView OXY Analysis: OXY advanced price chart: candlesticks, trading volume, Bollinger bands,…

  • Towards min(Risk/Reward) – SeekingAlpha August Bear Market Update

    Towards min(Risk/Reward) – SeekingAlpha August Bear Market Update

    Featured Photo by Nick Chong on Unsplash Towards min(Risk/Reward) Let’s look at the latest SA market update as of Sun, Aug 21, 2022. Cryptocurrency Digest: As NFTs are increasingly recognised as assets, they also present a conundrum for the investment community. LTC has a robust and growing ecosystem. However, it is under pressure from competitors…

  • The Qullamaggie’s TSLA Breakouts for Swing Traders

    The Qullamaggie’s TSLA Breakouts  for Swing Traders

    This project was inspired by the Qullamaggie’s breakout strategy for swing traders implemented as a simple stock scanner in Python. We will download the TSLA historical data from Yahoo finance. Let’s set the working directory YOURPATH and import libraries import os os.chdir(‘YOURPATH’) os. getcwd() import numpy as npimport pandas as pdimport yfinance as yf import…

  • Zacks Insights into the Commodity Bull Market

    Is there more meat on the commodity bone and how does one buy? The Case for Commodities Let’s summarize the recent Zacks insights (as of July 23rd, 2022) into the current commodity bull market: The best place to be when inflation hits is hard assets. Your house is one way, but a lot of other…

  • Macroaxis AI Investment Opportunity

    Our earlier study addressed the Macroaxis portfolio optimization based upon a statistical approach to making optimal investment decisions across different financial instruments. The present research analysis illustrates the Macroaxis Artificial Intelligence (AI) investment opportunity. Contents: The AI framework completely automates your asset selection decisions. It is designed to address the most technical part of the…

  • Algorithmic Testing Stock Portfolios to Optimize the Risk/Reward Ratio

    Algorithmic Testing Stock Portfolios to Optimize the Risk/Reward Ratio

    Investors can optimize their stock portfolio by invoking backtesting within the realm of algorithmic trading. The goal is to optimize the specific portfolio by maximizing returns and the Sharpe ratio.