SlideShare a Scribd company logo
1 of 25
ALGO TRADING
WITH
MACHINE LEARNING
9th April,2018
GUIDED BY :- SUBMITTED BY:-
Asst. prof-NAMITA BAJPAI DEB PRAKASH GANGULY-1401227154
CONTENTS
 INTRODUCTION
 OBJECTIVE
 SOFTWARE REQUIRED
 ARCHITECTURE
 STRATEGIES
 ALGORITHM
 MACHINE LEARNING
 LIMITATIONS
 CONCLUSION
 FUTURE ENHANCMENT
 REFERENCES
INTRODUCTION
 It is the process of using set of rules or any mathematical
model to generate profits at a high speed frequency that
is quite impossible for a human trader.
 It is simply a way to minimise the cost, market impact &
risk in execution of an order. It is widely used by
investment banks & hedge funds.
OBJECTIVE
 To maximize the profit with minimum capital amount.
 To predict stock prices through price momentum, using
machine learning (AI).
 Trades will be instantaneous, to avoid significant price
changes, reduced transaction cost brokerage charges.
 Reduced possibility of mistakes by human trader, based on
psychological facts.
SOFTWARE REQUIRED
 Automated trading can be done by using c, c++, java
script, ipython etc. out of which we are using interactive
python(ipython) in jupyter notebook.
 As a quant trader Python algorithmic trading it helps to
build execution mechanisms.
 Python can be used to develop some great trading
platform, where as using c & c++ is quite time consuming.
 pandas, NumPy, PyAlgo trade, MatPlotLib, Tensorflow and
Keras required for machine learning and data reading.
ARCHITECTURE
 The entire automated trading system can be broken down
into 3 parts :-
[1] The exchange(s) the external world
[2] The server
• Market data receiver
• Store market data
• Store order generated by the user
CONTINUNED
[3] Application
• Take inputs from the user including the trading decisions.
• Interface for viewing the information including the data and
orders.
• An order manager sending orders to the exchange.
TRADITIONAL ARCHITECTURE
{DIAGRAM}
NEW ARCHITECTURE
 The previous architecture could not scale up to the needs
& demands of Automated trading with Direct market
access (DMA).
 The latency between the origin of the event to the order
generation went beyond the dimension of human control.
 Order management also needs to be more robust &
capable of handling many more orders per second.
CONTINUNED
 The infrastructure level of this module is superior
compared to traditional system. Hence the engine which
runs the logic of decision making, is known as the complex
event processing engine, or CEP.
 The risk checks are performed by a separate risk
management system (RMS) within the order manager(OM),
just before releasing an order.
NEW ARCHITECTURE
{DIAGRAM}
Application programming interface
(API)
 An API, is a set of subroutine definitions, protocols, and
tools for building application software.
 Execute orders in real time, manage user portfolio,
stream live market data (using Websocket).
 Upstox Python library provides an easy to use wrapper
over the HTTPs APIs.
 Websocket connections are handled automatically with
the library.
CANDLESTICKS
STRATEGIES
1. Open = low (5min)
• Close – open > high – open ‫﮳‬↑50%
2. Open – low <= 0.10 >=open - low
• Close – open > high - open ‫﮳‬↑50%
CASE:1
CASE:2
VOLUME
PROPOSED ALGORITHM
 Step 1:- Start
 Step 2:-Import packages
 Step 3:-Request for API
 Step 4:-Retrieve access token
 Step 5:-Request trade segment in NSE or BSE
 Step 6:-Request for history data for a particular script
from NSE
PROPOSED ALGORITHM
 Step 7:-Slicing CSV
 Step 8:-Converting CSV to dataframe
 Step 9:-Fetching 5 min data OHLC
 Step 10:-Storing values when open = low
 Step 11:-Storing close value, volumes and case format.
 Step 12:-Repeat from step 9 to step 11
 Step 13:- Storing step 11 to X and corresponding high to Y
PROPOSED ALGORITHM
 Step 13:-Train model through features from X.
 Step 14:- Labels from Y to find hypothesis.
 Step 15:-K fold cross validation 20% from training set
 Step 16:-Storing Y^ value from program
 Step 17:-Buy CMP when signal generated
 Step 18:-Set target as Y^
 Step 19:-Set S.L below X
LIMITATIONS
 Algorithmic trading is not 100% accurate, we just predict
future stock prices basis upon past stock behaviour.
 Algorithmic trading is not universal, one algorithmic
strategy can not be put in every situation.
 Investor has to be updated with the news or the individual
script.
 Due to Algo trading , the market goes volatility.
CONCLUSION
Trading is extremely difficult for both full time & especially
part time traders. The best mode to gain profit is finding
your own trading strategies. Once you got, its your goals
and objectives.
No trading strategies last forever, and we constantly keep
reinventing our own strategies.
FUTURE ENHANCEMENT
Future Enhancement In year of 2008 SEBI started allowing DMA.In the US
and other developed markets HFT estimated 70 percentage of equity
market share.In India is around 12 percentage. As technology is
growing,financial technology is growing up same space. In recent
years,the number of machine learning packages has increased in finance
trading. some established funds like Medallion,Citadel,JPmorgan using
artificial intelligence, and there performance is in peak level. Upcoming
years algo trading with AI power will have a huge impact in Indian
market.
REFERENCES
 Pratik Singh(Director of TradeAcademy)
 Data Science Central(for big data practitoners) through LinkedIn.
 Fundamental of dataframe by Yves Hilpisch,2016, p.137(python for finance)
 API connection website:https://github.com/upstox/upstox-python
{THANK YOU}
SUBMITTED BY:-
DEB PRAKASH GANGULY
PRATIK MOHANTY
SIMRAN MOHANTY

More Related Content

What's hot

The Impact of Algorithmic Trading
The Impact of Algorithmic TradingThe Impact of Algorithmic Trading
The Impact of Algorithmic TradingLov Loothra
 
Algo trading(Minor Project) strategy EMA with Ipython
Algo trading(Minor Project) strategy EMA with IpythonAlgo trading(Minor Project) strategy EMA with Ipython
Algo trading(Minor Project) strategy EMA with IpythonDeb prakash ganguly
 
Quant trading with artificial intelligence
Quant trading with artificial intelligenceQuant trading with artificial intelligence
Quant trading with artificial intelligenceRoger Lee, CFA
 
Order book dynamics in high frequency trading
Order book dynamics in high frequency tradingOrder book dynamics in high frequency trading
Order book dynamics in high frequency tradingQuantInsti
 
EXANTE Algorithmic Trading: Practical Aspects
EXANTE Algorithmic Trading: Practical AspectsEXANTE Algorithmic Trading: Practical Aspects
EXANTE Algorithmic Trading: Practical AspectsEXANTE
 
Beware of Low Frequency Data by Ernie Chan, Managing Member, QTS Capital Mana...
Beware of Low Frequency Data by Ernie Chan, Managing Member, QTS Capital Mana...Beware of Low Frequency Data by Ernie Chan, Managing Member, QTS Capital Mana...
Beware of Low Frequency Data by Ernie Chan, Managing Member, QTS Capital Mana...Quantopian
 
Should You Build Your Own Backtester? by Michael Halls-Moore at QuantCon 2016
Should You Build Your Own Backtester? by Michael Halls-Moore at QuantCon 2016Should You Build Your Own Backtester? by Michael Halls-Moore at QuantCon 2016
Should You Build Your Own Backtester? by Michael Halls-Moore at QuantCon 2016Quantopian
 
"Quantitative Trading as a Mathematical Science" by Dr. Haksun Li, Founder an...
"Quantitative Trading as a Mathematical Science" by Dr. Haksun Li, Founder an..."Quantitative Trading as a Mathematical Science" by Dr. Haksun Li, Founder an...
"Quantitative Trading as a Mathematical Science" by Dr. Haksun Li, Founder an...Quantopian
 
Intra-Day De Mark Plus Order Flow Indicator by Dr. Christopher Ting, SMU
  Intra-Day De Mark Plus Order Flow Indicator by Dr. Christopher Ting, SMU  Intra-Day De Mark Plus Order Flow Indicator by Dr. Christopher Ting, SMU
Intra-Day De Mark Plus Order Flow Indicator by Dr. Christopher Ting, SMUQuantopian
 
What we learned from running a quant crypto hedge fund
What we learned from running a quant crypto hedge fundWhat we learned from running a quant crypto hedge fund
What we learned from running a quant crypto hedge fundYingdan (Mora) Liang
 
Machine Learning trading bots
Machine Learning trading botsMachine Learning trading bots
Machine Learning trading botsDataWorks Summit
 
The simple scalping strategy rules
The simple scalping strategy rules  The simple scalping strategy rules
The simple scalping strategy rules Nasir Tareen
 
Positional trading and its technical indicators
Positional trading and its technical indicatorsPositional trading and its technical indicators
Positional trading and its technical indicatorsBullish India
 
"Trading Strategies That Are Designed Not Fitted" by Robert Carver, Independe...
"Trading Strategies That Are Designed Not Fitted" by Robert Carver, Independe..."Trading Strategies That Are Designed Not Fitted" by Robert Carver, Independe...
"Trading Strategies That Are Designed Not Fitted" by Robert Carver, Independe...Quantopian
 
Automated Selection and Robustness for Systematic Trading Strategies by Dr. T...
Automated Selection and Robustness for Systematic Trading Strategies by Dr. T...Automated Selection and Robustness for Systematic Trading Strategies by Dr. T...
Automated Selection and Robustness for Systematic Trading Strategies by Dr. T...Quantopian
 
Trading edge for the forex market
Trading edge for the forex marketTrading edge for the forex market
Trading edge for the forex marketlcchong76
 
Scalping in Day Trading
Scalping in Day TradingScalping in Day Trading
Scalping in Day TradingInvestingTips
 

What's hot (20)

The Impact of Algorithmic Trading
The Impact of Algorithmic TradingThe Impact of Algorithmic Trading
The Impact of Algorithmic Trading
 
Automated Trading
Automated TradingAutomated Trading
Automated Trading
 
Algo trading(Minor Project) strategy EMA with Ipython
Algo trading(Minor Project) strategy EMA with IpythonAlgo trading(Minor Project) strategy EMA with Ipython
Algo trading(Minor Project) strategy EMA with Ipython
 
Quant trading with artificial intelligence
Quant trading with artificial intelligenceQuant trading with artificial intelligence
Quant trading with artificial intelligence
 
Order book dynamics in high frequency trading
Order book dynamics in high frequency tradingOrder book dynamics in high frequency trading
Order book dynamics in high frequency trading
 
EXANTE Algorithmic Trading: Practical Aspects
EXANTE Algorithmic Trading: Practical AspectsEXANTE Algorithmic Trading: Practical Aspects
EXANTE Algorithmic Trading: Practical Aspects
 
Beware of Low Frequency Data by Ernie Chan, Managing Member, QTS Capital Mana...
Beware of Low Frequency Data by Ernie Chan, Managing Member, QTS Capital Mana...Beware of Low Frequency Data by Ernie Chan, Managing Member, QTS Capital Mana...
Beware of Low Frequency Data by Ernie Chan, Managing Member, QTS Capital Mana...
 
Should You Build Your Own Backtester? by Michael Halls-Moore at QuantCon 2016
Should You Build Your Own Backtester? by Michael Halls-Moore at QuantCon 2016Should You Build Your Own Backtester? by Michael Halls-Moore at QuantCon 2016
Should You Build Your Own Backtester? by Michael Halls-Moore at QuantCon 2016
 
"Quantitative Trading as a Mathematical Science" by Dr. Haksun Li, Founder an...
"Quantitative Trading as a Mathematical Science" by Dr. Haksun Li, Founder an..."Quantitative Trading as a Mathematical Science" by Dr. Haksun Li, Founder an...
"Quantitative Trading as a Mathematical Science" by Dr. Haksun Li, Founder an...
 
Intra-Day De Mark Plus Order Flow Indicator by Dr. Christopher Ting, SMU
  Intra-Day De Mark Plus Order Flow Indicator by Dr. Christopher Ting, SMU  Intra-Day De Mark Plus Order Flow Indicator by Dr. Christopher Ting, SMU
Intra-Day De Mark Plus Order Flow Indicator by Dr. Christopher Ting, SMU
 
Algorithmic trading
Algorithmic tradingAlgorithmic trading
Algorithmic trading
 
What we learned from running a quant crypto hedge fund
What we learned from running a quant crypto hedge fundWhat we learned from running a quant crypto hedge fund
What we learned from running a quant crypto hedge fund
 
Machine Learning trading bots
Machine Learning trading botsMachine Learning trading bots
Machine Learning trading bots
 
The simple scalping strategy rules
The simple scalping strategy rules  The simple scalping strategy rules
The simple scalping strategy rules
 
Positional trading and its technical indicators
Positional trading and its technical indicatorsPositional trading and its technical indicators
Positional trading and its technical indicators
 
"Trading Strategies That Are Designed Not Fitted" by Robert Carver, Independe...
"Trading Strategies That Are Designed Not Fitted" by Robert Carver, Independe..."Trading Strategies That Are Designed Not Fitted" by Robert Carver, Independe...
"Trading Strategies That Are Designed Not Fitted" by Robert Carver, Independe...
 
Automated Selection and Robustness for Systematic Trading Strategies by Dr. T...
Automated Selection and Robustness for Systematic Trading Strategies by Dr. T...Automated Selection and Robustness for Systematic Trading Strategies by Dr. T...
Automated Selection and Robustness for Systematic Trading Strategies by Dr. T...
 
Trading edge for the forex market
Trading edge for the forex marketTrading edge for the forex market
Trading edge for the forex market
 
Scalping in Day Trading
Scalping in Day TradingScalping in Day Trading
Scalping in Day Trading
 
The Technical Analysis Guidebook
The Technical Analysis GuidebookThe Technical Analysis Guidebook
The Technical Analysis Guidebook
 

Similar to Algo trading with machine learning ppt

Building User-Friendly Algo Trading Apps_ Best Practices.pdf
Building User-Friendly Algo Trading Apps_ Best Practices.pdfBuilding User-Friendly Algo Trading Apps_ Best Practices.pdf
Building User-Friendly Algo Trading Apps_ Best Practices.pdfLucas Lagone
 
UNRAVELING THE POWER OF QUANTOPIAN ALGORITHMS IN FINANCIAL MARKETS
UNRAVELING THE POWER OF QUANTOPIAN ALGORITHMS IN FINANCIAL MARKETSUNRAVELING THE POWER OF QUANTOPIAN ALGORITHMS IN FINANCIAL MARKETS
UNRAVELING THE POWER OF QUANTOPIAN ALGORITHMS IN FINANCIAL MARKETSRiya Sen
 
Algo Trading – Best Algorithmic Trading Examples.pdf
Algo Trading – Best Algorithmic Trading Examples.pdfAlgo Trading – Best Algorithmic Trading Examples.pdf
Algo Trading – Best Algorithmic Trading Examples.pdfNazim Khan
 
Introduction to Algoaction -Web Based Trading Platform
Introduction to Algoaction -Web Based Trading PlatformIntroduction to Algoaction -Web Based Trading Platform
Introduction to Algoaction -Web Based Trading PlatformMarketcalls
 
Sapien trade pitch_deck mar 18
Sapien trade pitch_deck mar 18Sapien trade pitch_deck mar 18
Sapien trade pitch_deck mar 18SapienTrade
 
RPA Is Just the Start: How Insurers Can Develop a Successful Intelligent Proc...
RPA Is Just the Start: How Insurers Can Develop a Successful Intelligent Proc...RPA Is Just the Start: How Insurers Can Develop a Successful Intelligent Proc...
RPA Is Just the Start: How Insurers Can Develop a Successful Intelligent Proc...Cognizant
 
Manish final report
Manish final reportManish final report
Manish final reportmanish8285
 
Brighterion bai july 2016 fraud white paper
Brighterion bai july 2016 fraud white paperBrighterion bai july 2016 fraud white paper
Brighterion bai july 2016 fraud white paperAndrew Morrison
 
Algorithmic Trading and its Impact on the Market
Algorithmic Trading and its Impact on the MarketAlgorithmic Trading and its Impact on the Market
Algorithmic Trading and its Impact on the MarketIRJET Journal
 
Intro to Quantitative Investment (Lecture 2 of 6)
Intro to Quantitative Investment (Lecture 2 of 6)Intro to Quantitative Investment (Lecture 2 of 6)
Intro to Quantitative Investment (Lecture 2 of 6)Adrian Aley
 
Parallel Trading Systems business proposition
Parallel Trading Systems business propositionParallel Trading Systems business proposition
Parallel Trading Systems business propositionDavide Zari
 
Social Trading:The most interesting and useful tool to get access to financia...
Social Trading:The most interesting and useful tool to get access to financia...Social Trading:The most interesting and useful tool to get access to financia...
Social Trading:The most interesting and useful tool to get access to financia...keith8385
 
Machine Learning and RoboCop Testing
Machine Learning and RoboCop TestingMachine Learning and RoboCop Testing
Machine Learning and RoboCop TestingIosif Itkin
 
Auto Trading: It's Man vs. Machine
Auto Trading: It's Man vs. MachineAuto Trading: It's Man vs. Machine
Auto Trading: It's Man vs. MachineMurray Priestley
 
Algorithmic Trading Basics: Strategies & Systems
Algorithmic Trading Basics: Strategies & SystemsAlgorithmic Trading Basics: Strategies & Systems
Algorithmic Trading Basics: Strategies & SystemsAlgorithmicTrading.net
 
An Innovative Big-Data Web Scraping Tech Company
An Innovative Big-Data Web Scraping Tech CompanyAn Innovative Big-Data Web Scraping Tech Company
An Innovative Big-Data Web Scraping Tech CompanyRoger Giuffre
 

Similar to Algo trading with machine learning ppt (20)

Building User-Friendly Algo Trading Apps_ Best Practices.pdf
Building User-Friendly Algo Trading Apps_ Best Practices.pdfBuilding User-Friendly Algo Trading Apps_ Best Practices.pdf
Building User-Friendly Algo Trading Apps_ Best Practices.pdf
 
UNRAVELING THE POWER OF QUANTOPIAN ALGORITHMS IN FINANCIAL MARKETS
UNRAVELING THE POWER OF QUANTOPIAN ALGORITHMS IN FINANCIAL MARKETSUNRAVELING THE POWER OF QUANTOPIAN ALGORITHMS IN FINANCIAL MARKETS
UNRAVELING THE POWER OF QUANTOPIAN ALGORITHMS IN FINANCIAL MARKETS
 
Algo Trading – Best Algorithmic Trading Examples.pdf
Algo Trading – Best Algorithmic Trading Examples.pdfAlgo Trading – Best Algorithmic Trading Examples.pdf
Algo Trading – Best Algorithmic Trading Examples.pdf
 
Adaptix_2013
Adaptix_2013Adaptix_2013
Adaptix_2013
 
Introduction to Algoaction -Web Based Trading Platform
Introduction to Algoaction -Web Based Trading PlatformIntroduction to Algoaction -Web Based Trading Platform
Introduction to Algoaction -Web Based Trading Platform
 
BlitzTrader_PPT
BlitzTrader_PPTBlitzTrader_PPT
BlitzTrader_PPT
 
Sapien trade pitch_deck mar 18
Sapien trade pitch_deck mar 18Sapien trade pitch_deck mar 18
Sapien trade pitch_deck mar 18
 
RPA Is Just the Start: How Insurers Can Develop a Successful Intelligent Proc...
RPA Is Just the Start: How Insurers Can Develop a Successful Intelligent Proc...RPA Is Just the Start: How Insurers Can Develop a Successful Intelligent Proc...
RPA Is Just the Start: How Insurers Can Develop a Successful Intelligent Proc...
 
Manish final report
Manish final reportManish final report
Manish final report
 
Brighterion bai july 2016 fraud white paper
Brighterion bai july 2016 fraud white paperBrighterion bai july 2016 fraud white paper
Brighterion bai july 2016 fraud white paper
 
FIST Presentation.pdf
FIST Presentation.pdfFIST Presentation.pdf
FIST Presentation.pdf
 
Algorithmic Trading and its Impact on the Market
Algorithmic Trading and its Impact on the MarketAlgorithmic Trading and its Impact on the Market
Algorithmic Trading and its Impact on the Market
 
Intro to Quantitative Investment (Lecture 2 of 6)
Intro to Quantitative Investment (Lecture 2 of 6)Intro to Quantitative Investment (Lecture 2 of 6)
Intro to Quantitative Investment (Lecture 2 of 6)
 
Quant Gate Corporate Deck
Quant Gate Corporate DeckQuant Gate Corporate Deck
Quant Gate Corporate Deck
 
Parallel Trading Systems business proposition
Parallel Trading Systems business propositionParallel Trading Systems business proposition
Parallel Trading Systems business proposition
 
Social Trading:The most interesting and useful tool to get access to financia...
Social Trading:The most interesting and useful tool to get access to financia...Social Trading:The most interesting and useful tool to get access to financia...
Social Trading:The most interesting and useful tool to get access to financia...
 
Machine Learning and RoboCop Testing
Machine Learning and RoboCop TestingMachine Learning and RoboCop Testing
Machine Learning and RoboCop Testing
 
Auto Trading: It's Man vs. Machine
Auto Trading: It's Man vs. MachineAuto Trading: It's Man vs. Machine
Auto Trading: It's Man vs. Machine
 
Algorithmic Trading Basics: Strategies & Systems
Algorithmic Trading Basics: Strategies & SystemsAlgorithmic Trading Basics: Strategies & Systems
Algorithmic Trading Basics: Strategies & Systems
 
An Innovative Big-Data Web Scraping Tech Company
An Innovative Big-Data Web Scraping Tech CompanyAn Innovative Big-Data Web Scraping Tech Company
An Innovative Big-Data Web Scraping Tech Company
 

Recently uploaded

Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service LucknowAminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknowmakika9823
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...Florian Roscheck
 
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiLow Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiSuhani Kapoor
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxJohnnyPlasten
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfLars Albertsson
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubaihf8803863
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxStephen266013
 
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts ServiceSapana Sha
 
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...Pooja Nehwal
 
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...dajasot375
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Callshivangimorya083
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...Suhani Kapoor
 
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptxthyngster
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptSonatrach
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPramod Kumar Srivastava
 
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Delhi Call girls
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingNeil Barnes
 

Recently uploaded (20)

Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service LucknowAminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
 
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiLow Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptx
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdf
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docx
 
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts Service
 
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
 
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
 
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
 
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
 
Decoding Loan Approval: Predictive Modeling in Action
Decoding Loan Approval: Predictive Modeling in ActionDecoding Loan Approval: Predictive Modeling in Action
Decoding Loan Approval: Predictive Modeling in Action
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
 
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data Storytelling
 

Algo trading with machine learning ppt

  • 1. ALGO TRADING WITH MACHINE LEARNING 9th April,2018 GUIDED BY :- SUBMITTED BY:- Asst. prof-NAMITA BAJPAI DEB PRAKASH GANGULY-1401227154
  • 2. CONTENTS  INTRODUCTION  OBJECTIVE  SOFTWARE REQUIRED  ARCHITECTURE  STRATEGIES  ALGORITHM  MACHINE LEARNING  LIMITATIONS  CONCLUSION  FUTURE ENHANCMENT  REFERENCES
  • 3. INTRODUCTION  It is the process of using set of rules or any mathematical model to generate profits at a high speed frequency that is quite impossible for a human trader.  It is simply a way to minimise the cost, market impact & risk in execution of an order. It is widely used by investment banks & hedge funds.
  • 4. OBJECTIVE  To maximize the profit with minimum capital amount.  To predict stock prices through price momentum, using machine learning (AI).  Trades will be instantaneous, to avoid significant price changes, reduced transaction cost brokerage charges.  Reduced possibility of mistakes by human trader, based on psychological facts.
  • 5. SOFTWARE REQUIRED  Automated trading can be done by using c, c++, java script, ipython etc. out of which we are using interactive python(ipython) in jupyter notebook.  As a quant trader Python algorithmic trading it helps to build execution mechanisms.  Python can be used to develop some great trading platform, where as using c & c++ is quite time consuming.  pandas, NumPy, PyAlgo trade, MatPlotLib, Tensorflow and Keras required for machine learning and data reading.
  • 6. ARCHITECTURE  The entire automated trading system can be broken down into 3 parts :- [1] The exchange(s) the external world [2] The server • Market data receiver • Store market data • Store order generated by the user
  • 7. CONTINUNED [3] Application • Take inputs from the user including the trading decisions. • Interface for viewing the information including the data and orders. • An order manager sending orders to the exchange.
  • 9. NEW ARCHITECTURE  The previous architecture could not scale up to the needs & demands of Automated trading with Direct market access (DMA).  The latency between the origin of the event to the order generation went beyond the dimension of human control.  Order management also needs to be more robust & capable of handling many more orders per second.
  • 10. CONTINUNED  The infrastructure level of this module is superior compared to traditional system. Hence the engine which runs the logic of decision making, is known as the complex event processing engine, or CEP.  The risk checks are performed by a separate risk management system (RMS) within the order manager(OM), just before releasing an order.
  • 12. Application programming interface (API)  An API, is a set of subroutine definitions, protocols, and tools for building application software.  Execute orders in real time, manage user portfolio, stream live market data (using Websocket).  Upstox Python library provides an easy to use wrapper over the HTTPs APIs.  Websocket connections are handled automatically with the library.
  • 14. STRATEGIES 1. Open = low (5min) • Close – open > high – open ‫﮳‬↑50% 2. Open – low <= 0.10 >=open - low • Close – open > high - open ‫﮳‬↑50%
  • 18. PROPOSED ALGORITHM  Step 1:- Start  Step 2:-Import packages  Step 3:-Request for API  Step 4:-Retrieve access token  Step 5:-Request trade segment in NSE or BSE  Step 6:-Request for history data for a particular script from NSE
  • 19. PROPOSED ALGORITHM  Step 7:-Slicing CSV  Step 8:-Converting CSV to dataframe  Step 9:-Fetching 5 min data OHLC  Step 10:-Storing values when open = low  Step 11:-Storing close value, volumes and case format.  Step 12:-Repeat from step 9 to step 11  Step 13:- Storing step 11 to X and corresponding high to Y
  • 20. PROPOSED ALGORITHM  Step 13:-Train model through features from X.  Step 14:- Labels from Y to find hypothesis.  Step 15:-K fold cross validation 20% from training set  Step 16:-Storing Y^ value from program  Step 17:-Buy CMP when signal generated  Step 18:-Set target as Y^  Step 19:-Set S.L below X
  • 21. LIMITATIONS  Algorithmic trading is not 100% accurate, we just predict future stock prices basis upon past stock behaviour.  Algorithmic trading is not universal, one algorithmic strategy can not be put in every situation.  Investor has to be updated with the news or the individual script.  Due to Algo trading , the market goes volatility.
  • 22. CONCLUSION Trading is extremely difficult for both full time & especially part time traders. The best mode to gain profit is finding your own trading strategies. Once you got, its your goals and objectives. No trading strategies last forever, and we constantly keep reinventing our own strategies.
  • 23. FUTURE ENHANCEMENT Future Enhancement In year of 2008 SEBI started allowing DMA.In the US and other developed markets HFT estimated 70 percentage of equity market share.In India is around 12 percentage. As technology is growing,financial technology is growing up same space. In recent years,the number of machine learning packages has increased in finance trading. some established funds like Medallion,Citadel,JPmorgan using artificial intelligence, and there performance is in peak level. Upcoming years algo trading with AI power will have a huge impact in Indian market.
  • 24. REFERENCES  Pratik Singh(Director of TradeAcademy)  Data Science Central(for big data practitoners) through LinkedIn.  Fundamental of dataframe by Yves Hilpisch,2016, p.137(python for finance)  API connection website:https://github.com/upstox/upstox-python
  • 25. {THANK YOU} SUBMITTED BY:- DEB PRAKASH GANGULY PRATIK MOHANTY SIMRAN MOHANTY