SlideShare a Scribd company logo
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

Algorithmic trading
Algorithmic tradingAlgorithmic trading
Algorithmic trading
Jayadeep Govindu
 
"Build Effective Risk Management on Top of Your Trading Strategy" by Danielle...
"Build Effective Risk Management on Top of Your Trading Strategy" by Danielle..."Build Effective Risk Management on Top of Your Trading Strategy" by Danielle...
"Build Effective Risk Management on Top of Your Trading Strategy" by Danielle...
Quantopian
 
Classification of quantitative trading strategies webinar ppt
Classification of quantitative trading strategies webinar pptClassification of quantitative trading strategies webinar ppt
Classification of quantitative trading strategies webinar ppt
QuantInsti
 
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
Deb prakash ganguly
 
Technology Edge in Algo Trading: Traditional Vs Automated Trading System Arch...
Technology Edge in Algo Trading: Traditional Vs Automated Trading System Arch...Technology Edge in Algo Trading: Traditional Vs Automated Trading System Arch...
Technology Edge in Algo Trading: Traditional Vs Automated Trading System Arch...
QuantInsti
 
Quant insti webinar on algorithmic trading for technocrats!
Quant insti webinar on algorithmic trading for technocrats!Quant insti webinar on algorithmic trading for technocrats!
Quant insti webinar on algorithmic trading for technocrats!
QuantInsti
 
Backtesting And Live Trading With Interactive Brokers Using Python With Dr. H...
Backtesting And Live Trading With Interactive Brokers Using Python With Dr. H...Backtesting And Live Trading With Interactive Brokers Using Python With Dr. H...
Backtesting And Live Trading With Interactive Brokers Using Python With Dr. H...
QuantInsti
 
Quantitative Trading
Quantitative TradingQuantitative Trading
Quantitative Trading
futurewardcentral
 
Trade binary options
Trade binary optionsTrade binary options
Trade binary options
BinaryOptionsGain
 
"How to Run a Quantitative Trading Business in China with Python" by Xiaoyou ...
"How to Run a Quantitative Trading Business in China with Python" by Xiaoyou ..."How to Run a Quantitative Trading Business in China with Python" by Xiaoyou ...
"How to Run a Quantitative Trading Business in China with Python" by Xiaoyou ...
Quantopian
 
"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
 
Oliver velez swing trading tactics
Oliver velez   swing trading tacticsOliver velez   swing trading tactics
Oliver velez swing trading tactics
Aislan Pereira
 
How to build a trading system
How to build a trading systemHow to build a trading system
How to build a trading system
FXstreet.com
 
Positional trading and its technical indicators
Positional trading and its technical indicatorsPositional trading and its technical indicators
Positional trading and its technical indicators
Bullish India
 
"Quant Trading for a Living – Lessons from a Life in the Trenches" by Andreas...
"Quant Trading for a Living – Lessons from a Life in the Trenches" by Andreas..."Quant Trading for a Living – Lessons from a Life in the Trenches" by Andreas...
"Quant Trading for a Living – Lessons from a Life in the Trenches" by Andreas...
Quantopian
 
How To Find The Best Stocks To Buy BEFORE They Breakout
How To Find The Best Stocks To Buy BEFORE They BreakoutHow To Find The Best Stocks To Buy BEFORE They Breakout
How To Find The Best Stocks To Buy BEFORE They Breakout
Morpheus Trading Group
 
Zero To Hero : Complete Binary Options Trading Guide
Zero To Hero : Complete Binary Options Trading GuideZero To Hero : Complete Binary Options Trading Guide
Zero To Hero : Complete Binary Options Trading Guide
Michael Selim
 
eq new april 2011
eq new april 2011eq new april 2011
eq new april 2011Eaglefx
 

What's hot (20)

Algorithmic trading
Algorithmic tradingAlgorithmic trading
Algorithmic trading
 
"Build Effective Risk Management on Top of Your Trading Strategy" by Danielle...
"Build Effective Risk Management on Top of Your Trading Strategy" by Danielle..."Build Effective Risk Management on Top of Your Trading Strategy" by Danielle...
"Build Effective Risk Management on Top of Your Trading Strategy" by Danielle...
 
Classification of quantitative trading strategies webinar ppt
Classification of quantitative trading strategies webinar pptClassification of quantitative trading strategies webinar ppt
Classification of quantitative trading strategies webinar ppt
 
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
 
Technology Edge in Algo Trading: Traditional Vs Automated Trading System Arch...
Technology Edge in Algo Trading: Traditional Vs Automated Trading System Arch...Technology Edge in Algo Trading: Traditional Vs Automated Trading System Arch...
Technology Edge in Algo Trading: Traditional Vs Automated Trading System Arch...
 
Quant insti webinar on algorithmic trading for technocrats!
Quant insti webinar on algorithmic trading for technocrats!Quant insti webinar on algorithmic trading for technocrats!
Quant insti webinar on algorithmic trading for technocrats!
 
Algo trading
Algo tradingAlgo trading
Algo trading
 
Backtesting And Live Trading With Interactive Brokers Using Python With Dr. H...
Backtesting And Live Trading With Interactive Brokers Using Python With Dr. H...Backtesting And Live Trading With Interactive Brokers Using Python With Dr. H...
Backtesting And Live Trading With Interactive Brokers Using Python With Dr. H...
 
Stock Market Analysis
Stock Market AnalysisStock Market Analysis
Stock Market Analysis
 
Quantitative Trading
Quantitative TradingQuantitative Trading
Quantitative Trading
 
Trade binary options
Trade binary optionsTrade binary options
Trade binary options
 
"How to Run a Quantitative Trading Business in China with Python" by Xiaoyou ...
"How to Run a Quantitative Trading Business in China with Python" by Xiaoyou ..."How to Run a Quantitative Trading Business in China with Python" by Xiaoyou ...
"How to Run a Quantitative Trading Business in China with Python" by Xiaoyou ...
 
"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...
 
Oliver velez swing trading tactics
Oliver velez   swing trading tacticsOliver velez   swing trading tactics
Oliver velez swing trading tactics
 
How to build a trading system
How to build a trading systemHow to build a trading system
How to build a trading system
 
Positional trading and its technical indicators
Positional trading and its technical indicatorsPositional trading and its technical indicators
Positional trading and its technical indicators
 
"Quant Trading for a Living – Lessons from a Life in the Trenches" by Andreas...
"Quant Trading for a Living – Lessons from a Life in the Trenches" by Andreas..."Quant Trading for a Living – Lessons from a Life in the Trenches" by Andreas...
"Quant Trading for a Living – Lessons from a Life in the Trenches" by Andreas...
 
How To Find The Best Stocks To Buy BEFORE They Breakout
How To Find The Best Stocks To Buy BEFORE They BreakoutHow To Find The Best Stocks To Buy BEFORE They Breakout
How To Find The Best Stocks To Buy BEFORE They Breakout
 
Zero To Hero : Complete Binary Options Trading Guide
Zero To Hero : Complete Binary Options Trading GuideZero To Hero : Complete Binary Options Trading Guide
Zero To Hero : Complete Binary Options Trading Guide
 
eq new april 2011
eq new april 2011eq new april 2011
eq new april 2011
 

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.pdf
Lucas 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 MARKETS
Riya 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.pdf
Nazim 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 Platform
Marketcalls
 
Sapien trade pitch_deck mar 18
Sapien trade pitch_deck mar 18Sapien trade pitch_deck mar 18
Sapien trade pitch_deck mar 18
SapienTrade
 
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 report
manish8285
 
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
Andrew Morrison
 
FIST Presentation.pdf
FIST Presentation.pdfFIST Presentation.pdf
FIST Presentation.pdf
Kishan Mujrani Nair
 
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
IRJET 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
 
Quant Gate Corporate Deck
Quant Gate Corporate DeckQuant Gate Corporate Deck
Quant Gate Corporate Deck
RedChip Companies, Inc.
 
Parallel Trading Systems business proposition
Parallel Trading Systems business propositionParallel Trading Systems business proposition
Parallel Trading Systems business proposition
Davide 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 Testing
Iosif 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. Machine
Murray Priestley
 
Algorithmic Trading Basics: Strategies & Systems
Algorithmic Trading Basics: Strategies & SystemsAlgorithmic Trading Basics: Strategies & Systems
Algorithmic Trading Basics: Strategies & Systems
AlgorithmicTrading.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 Company
Roger 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

一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
oz8q3jxlp
 
Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)
TravisMalana
 
原版制作(swinburne毕业证书)斯威本科技大学毕业证毕业完成信一模一样
原版制作(swinburne毕业证书)斯威本科技大学毕业证毕业完成信一模一样原版制作(swinburne毕业证书)斯威本科技大学毕业证毕业完成信一模一样
原版制作(swinburne毕业证书)斯威本科技大学毕业证毕业完成信一模一样
u86oixdj
 
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
axoqas
 
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
slg6lamcq
 
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdfCh03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
haila53
 
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
u86oixdj
 
一比一原版(BCU毕业证书)伯明翰城市大学毕业证如何办理
一比一原版(BCU毕业证书)伯明翰城市大学毕业证如何办理一比一原版(BCU毕业证书)伯明翰城市大学毕业证如何办理
一比一原版(BCU毕业证书)伯明翰城市大学毕业证如何办理
dwreak4tg
 
Enhanced Enterprise Intelligence with your personal AI Data Copilot.pdf
Enhanced Enterprise Intelligence with your personal AI Data Copilot.pdfEnhanced Enterprise Intelligence with your personal AI Data Copilot.pdf
Enhanced Enterprise Intelligence with your personal AI Data Copilot.pdf
GetInData
 
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
ahzuo
 
一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理
一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理
一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理
74nqk8xf
 
Nanandann Nilekani's ppt On India's .pdf
Nanandann Nilekani's ppt On India's .pdfNanandann Nilekani's ppt On India's .pdf
Nanandann Nilekani's ppt On India's .pdf
eddie19851
 
一比一原版(UofS毕业证书)萨省大学毕业证如何办理
一比一原版(UofS毕业证书)萨省大学毕业证如何办理一比一原版(UofS毕业证书)萨省大学毕业证如何办理
一比一原版(UofS毕业证书)萨省大学毕业证如何办理
v3tuleee
 
Learn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queriesLearn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queries
manishkhaire30
 
My burning issue is homelessness K.C.M.O.
My burning issue is homelessness K.C.M.O.My burning issue is homelessness K.C.M.O.
My burning issue is homelessness K.C.M.O.
rwarrenll
 
一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理
一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理
一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理
mzpolocfi
 
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Subhajit Sahu
 
Data_and_Analytics_Essentials_Architect_an_Analytics_Platform.pptx
Data_and_Analytics_Essentials_Architect_an_Analytics_Platform.pptxData_and_Analytics_Essentials_Architect_an_Analytics_Platform.pptx
Data_and_Analytics_Essentials_Architect_an_Analytics_Platform.pptx
AnirbanRoy608946
 
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Subhajit Sahu
 
Influence of Marketing Strategy and Market Competition on Business Plan
Influence of Marketing Strategy and Market Competition on Business PlanInfluence of Marketing Strategy and Market Competition on Business Plan
Influence of Marketing Strategy and Market Competition on Business Plan
jerlynmaetalle
 

Recently uploaded (20)

一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
 
Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)
 
原版制作(swinburne毕业证书)斯威本科技大学毕业证毕业完成信一模一样
原版制作(swinburne毕业证书)斯威本科技大学毕业证毕业完成信一模一样原版制作(swinburne毕业证书)斯威本科技大学毕业证毕业完成信一模一样
原版制作(swinburne毕业证书)斯威本科技大学毕业证毕业完成信一模一样
 
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
 
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
 
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdfCh03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
 
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
 
一比一原版(BCU毕业证书)伯明翰城市大学毕业证如何办理
一比一原版(BCU毕业证书)伯明翰城市大学毕业证如何办理一比一原版(BCU毕业证书)伯明翰城市大学毕业证如何办理
一比一原版(BCU毕业证书)伯明翰城市大学毕业证如何办理
 
Enhanced Enterprise Intelligence with your personal AI Data Copilot.pdf
Enhanced Enterprise Intelligence with your personal AI Data Copilot.pdfEnhanced Enterprise Intelligence with your personal AI Data Copilot.pdf
Enhanced Enterprise Intelligence with your personal AI Data Copilot.pdf
 
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
 
一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理
一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理
一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理
 
Nanandann Nilekani's ppt On India's .pdf
Nanandann Nilekani's ppt On India's .pdfNanandann Nilekani's ppt On India's .pdf
Nanandann Nilekani's ppt On India's .pdf
 
一比一原版(UofS毕业证书)萨省大学毕业证如何办理
一比一原版(UofS毕业证书)萨省大学毕业证如何办理一比一原版(UofS毕业证书)萨省大学毕业证如何办理
一比一原版(UofS毕业证书)萨省大学毕业证如何办理
 
Learn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queriesLearn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queries
 
My burning issue is homelessness K.C.M.O.
My burning issue is homelessness K.C.M.O.My burning issue is homelessness K.C.M.O.
My burning issue is homelessness K.C.M.O.
 
一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理
一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理
一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理
 
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
 
Data_and_Analytics_Essentials_Architect_an_Analytics_Platform.pptx
Data_and_Analytics_Essentials_Architect_an_Analytics_Platform.pptxData_and_Analytics_Essentials_Architect_an_Analytics_Platform.pptx
Data_and_Analytics_Essentials_Architect_an_Analytics_Platform.pptx
 
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
 
Influence of Marketing Strategy and Market Competition on Business Plan
Influence of Marketing Strategy and Market Competition on Business PlanInfluence of Marketing Strategy and Market Competition on Business Plan
Influence of Marketing Strategy and Market Competition on Business Plan
 

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