Stock Market Analysis Using R

Stock Market Analysis Using R

Quantmod?–?“Quantitative Financial Modeling and Trading Framework for R”

The aim of the article is to extract stock market data into R using the package Quantmod. we need to install the package install the package by using the command install.packages("quantmod") and then we need the symbol name for each of the organisation. we can navigate the link https://www.nasdaq.com/screening/company-list.aspx , By clicking any one of the company name you can find a column call Symbol which is highlighted in Blue (length of 3 character).

Our first aim to see a stock details of a paticular organisation. for e.g iam taking WIPRO,symbol for WIPRO is "WIT" and execute the below code,as i am taking date from DEC 7th to till data.

require("quantmod")

require(TTR)

getSymbols("WIT",src="yahoo" , from ="2017-12-07", to = Sys.Date())

View(WIT)
        
No alt text provided for this image
Our Next aim to analyze further for a period 3 months by Moving Average
Using the type "Moving Average Convergence Divergence indicator to chart" 
to see how the stock is performing and followed by 
Bollinger Bands to current chart        


No alt text provided for this image
No alt text provided for this image


# Source code the above to charts in R
require("quantmod")
require(TTR)
# Get the symbol https://www.nasdaq.com/screening/company-list.aspx
# Functions to load and manage Symbols in specified environment.
# WIT is the symbol for WIPRO
getSymbols(c("WIT")) #?
# Charting tool to create standard financial charts given a time series like object
# subset - xts style date subsetting argument
chartSeries(WIT, subset="last 3 months")
# Add Moving Average Convergence Divergence indicator to chart.
addMACD() #- Add Moving Average
#?
addBBands() #? Add Bollinger Bands to current chart.        

Hope this article given an understand on how to extract stock data using R.

BBlog

S3 – A Turning Point (raaviblog.com)''

Powerapps:

List of all Standard tier connectors | Microsoft Docs

Power Automate Connectors for SMS ? reenhanced

Power Platform: What are the connectors & triggers in Power Automate? – Tracy van der Schyff

Create a Teams meeting easily with Power Automate – Vesa Nopanen – My Metaverse Day

work on dax

DAX sample model - DAX | Microsoft Docs

要查看或添加评论,请登录

Sri Sivakumar Ramar ( An Agile Learner )的更多文章

  • AI World

    AI World

    Welcome to AI World As we know how AI help and facilitates the people make better decisions by analyzing large amounts…

  • Dates Always - Comparing your latest week to the same days of the previous week

    Dates Always - Comparing your latest week to the same days of the previous week

    Solved: Dynamic date period Filter based on slicer selecti..

  • ML and Charts Using R

    ML and Charts Using R

    Power BI: Tips and Tricks for Building Professional Power BI Model (and a star schema tutorial) – business intelligist…

  • Essential SQL Query to Know

    Essential SQL Query to Know

    select first and last row sql Code Example (codegrepper.com) SQL Window Functions Cheat Sheet | LearnSQL.

  • Looker - BI for making better business decision

    Looker - BI for making better business decision

    Looker's a Web-based platform that allows users to explore data in a timely manner to help them make better business…

  • I want to know what is Python Pandas

    I want to know what is Python Pandas

    Python Zen Master: Jan 26 1121 am python-tips/python_tips.ipynb at main · CalebCurry/python-tips · GitHub…

  • JASPER REPORT - An Overview

    JASPER REPORT - An Overview

    JASPER Report an Overview - Intended for Begineers Jaspersoft : An embeddable reporting and analytics platform designed…

    2 条评论
  • JavaScript Object Notation

    JavaScript Object Notation

    JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write.

    1 条评论
  • Gradient descent

    Gradient descent

    An Article about Gradient Descent Gradient Descent is a popular algorithm to perform optimization of deep learning such…

  • Visualization ???

    Visualization ???

    Tableau : History of Innovations Analyzing the history of Tableau innovation History of Tableau Innovation | Tableau…

社区洞察

其他会员也浏览了