Presentation describes about aid that Genetic Algorithm provides to Technical Analysts who try to fit a trend lines and different indicators into huge data-sets present to predict the Share Market Trend.
'What's Cooking ?' -Kaggle competition.
Web crawled Indian ingredients using python crawler.
Applied classifiers such as Gradient Boosted Trees (XGBoost), Random Forest, Naive Bayes and modified Naive Bayes using R on both the Kaggle dataset.
Modular Multi-Objective Genetic Algorithm for Large Scale Bi-level ProblemsStefano Costanzo
A genetic algorithm is used to solve the Centralised Peak-Load Pricing model on the European Air Traffic Management system. The Stackelberg equilibrium is obtained by means of an optimisation problem formulated as a bilevel linear programming model where the Central Planner sets one peak and one off-peak en-route charge and the Airspace Users choose the route among the available alternatives.
A Multi-Objective Genetic Algorithm for Pruning Support Vector MachinesMohamed Farouk
Support vector machines (SVMs) often contain a
large number of support vectors which reduce the run-time
speeds of decision functions. In addition, this might cause an
overfitting effect where the resulting SVM adapts itself to the
noise in the training set rather than the true underlying data
distribution and will probably fail to correctly classify unseen
examples. To obtain more fast and accurate SVMs, many
methods have been proposed to prune SVs in trained SVMs.
In this paper, we propose a multi-objective genetic algorithm
to reduce the complexity of support vector machines as well
as to improve generalization accuracy by the reduction of
overfitting. Experiments on four benchmark datasets show that
the proposed evolutionary approach can effectively reduce the
number of support vectors included in the decision functions
of SVMs without sacrificing their classification accuracy.
Multi-objective Genetic Algorithm Applied to Conceptual Design of Single-stag...Masahiro Kanazaki
"Multi-objective Genetic Algorithm Applied to Conceptual Design of Single-stage Rocket Using Hybrid Propulsion System" presented at The Eighth China-Japan-Korea Joint Symposium on Optimization of Structural and Mechanical Systems (CJK-OSM).
'What's Cooking ?' -Kaggle competition.
Web crawled Indian ingredients using python crawler.
Applied classifiers such as Gradient Boosted Trees (XGBoost), Random Forest, Naive Bayes and modified Naive Bayes using R on both the Kaggle dataset.
Modular Multi-Objective Genetic Algorithm for Large Scale Bi-level ProblemsStefano Costanzo
A genetic algorithm is used to solve the Centralised Peak-Load Pricing model on the European Air Traffic Management system. The Stackelberg equilibrium is obtained by means of an optimisation problem formulated as a bilevel linear programming model where the Central Planner sets one peak and one off-peak en-route charge and the Airspace Users choose the route among the available alternatives.
A Multi-Objective Genetic Algorithm for Pruning Support Vector MachinesMohamed Farouk
Support vector machines (SVMs) often contain a
large number of support vectors which reduce the run-time
speeds of decision functions. In addition, this might cause an
overfitting effect where the resulting SVM adapts itself to the
noise in the training set rather than the true underlying data
distribution and will probably fail to correctly classify unseen
examples. To obtain more fast and accurate SVMs, many
methods have been proposed to prune SVs in trained SVMs.
In this paper, we propose a multi-objective genetic algorithm
to reduce the complexity of support vector machines as well
as to improve generalization accuracy by the reduction of
overfitting. Experiments on four benchmark datasets show that
the proposed evolutionary approach can effectively reduce the
number of support vectors included in the decision functions
of SVMs without sacrificing their classification accuracy.
Multi-objective Genetic Algorithm Applied to Conceptual Design of Single-stag...Masahiro Kanazaki
"Multi-objective Genetic Algorithm Applied to Conceptual Design of Single-stage Rocket Using Hybrid Propulsion System" presented at The Eighth China-Japan-Korea Joint Symposium on Optimization of Structural and Mechanical Systems (CJK-OSM).
Sixteen (16) simple rules for building robust machine learning models. Invited talk for the AMA call of the Research Data Alliance (RDA) Early Career and Engagement Interest Group (ECEIG).
The slides include a condensed explanation of Transformers and their advantages in compared to CNN and RNN. The presentation begins with a brief explanation of Transformers. Then, the advantages and disadvantages of Transformers relative to CNNs and RNNs are discussed. The attention mechanism is next presented, followed by an illustration of the structure of the document "Attention all you need."
Deep Learning: Introduction & Chapter 5 Machine Learning BasicsJason Tsai
Given lecture for Deep Learning 101 study group with Frank Wu on Dec. 9th, 2016.
Reference: https://www.deeplearningbook.org/
Initiated by Taiwan AI Group (https://www.facebook.com/groups/Taiwan.AI.Group/)
Abstract:
In this talk we will introduce MOE, the Metric Optimization Engine. MOE is an efficient way to optimize a system's parameters, when evaluating parameters is time-consuming or expensive. It can be used to help tackle a myriad of problems including optimizing a system's click-through or conversion rate via A/B testing, tuning parameters of a machine learning prediction method or expensive batch job, designing an engineering system or finding the optimal parameters of a real-world experiment.
MOE is ideal for problems in which the optimization problem's objective function is a black box, not necessarily convex or concave, derivatives are unavailable, and we seek a global optimum, rather than just a local one. This ability to handle black-box objective functions allows us to use MOE to optimize nearly any system, without requiring any internal knowledge or access. To use MOE, we simply need to specify some objective function, some set of parameters, and any historical data we may have from previous evaluations of the objective function. MOE then finds the set of parameters that maximize (or minimize) the objective function, while evaluating the objective function as few times as possible. This is done internally using Bayesian Global Optimization on a Gaussian Process model of the underlying system and finding the points of highest Expected Improvement to sample next. MOE provides easy to use Python, C++, CUDA and REST interfaces to accomplish these goals and is fully open source. We will present the motivation and background, discuss the implementation and give real-world examples.
Scott Clark Bio:
After finishing my PhD in Applied Mathematics at Cornell University in 2012 I have been working on the Ad Targeting team at Yelp Inc. I've been employing a variety of machine learning and optimization techniques from multi-armed bandits to Bayesian Global Optimization and beyond to their vast dataset and problems. I have also been trying to lead the charge on academic research and outreach within Yelp by leading projects like the Yelp Dataset Challenge and open sourcing MOE.
"Quantitative Trading as a Mathematical Science" by Dr. Haksun Li, Founder an...Quantopian
Presented at QuantCon Singapore 2016, Quantopian's quantitative finance and algorithmic trading conference, November 11th.
Quantitative trading is distinguishable from other trading methodologies like technical analysis and analysts’ opinions because it uniquely provides justifications to trading strategies using mathematical reasoning. Put differently, quantitative trading is a science that trading strategies are proven statistically profitable or even optimal under certain assumptions. There are properties about strategies that we can deduce before betting the first $1, such as P&L distribution and risks. There are exact explanations to the success and failure of strategies, such as choice of parameters. There are ways to iteratively improve strategies based on experiences of live trading, such as making more realistic assumptions. These are all made possible only in quantitative trading because we have assumptions, models and rigorous mathematical analysis.
Quantitative trading has proved itself to be a significant driver of mathematical innovations, especially in the areas of stochastic analysis and PDE-theory. For instances, we can compute the optimal timings to follow the market by solving a pair of coupled Hamilton–Jacobi–Bellman equations; we can construct sparse mean reverting baskets by solving semi-definite optimization problems with cardinality constraints and can optimally trade these baskets by solving stochastic control problems; we can identify statistical arbitrage opportunities by analyzing the volatility process of a stochastic asset at different frequencies; we can compute the optimal placements of market and limit orders by solving combined singular and impulse control problems which leads to novel and difficult to solve quasi-variational inequalities.
Detailed talk about Random Forest and its statistical techniques for classification and regression analysis with termonologies like Out of Bag (OOB) estimate of performance, Bias Variance Trade off, and model validation metrics.
Let me know if anything is required. Happy to help, Talk soon! #bobrupakro
Methods of Optimization in Machine LearningKnoldus Inc.
In this session we will discuss about various methods to optimise a machine learning model and, how we can adjust the hyper-parameters to minimise the cost function.
2020/11/19 PRIMA2020: Simulation of Unintentional Collusion Caused by Auto Pr...Masanori HIRANO
Masanori HIRANO, Hiroyasu MATSUSHIMA, Kiyoshi IZUMI, and Taisei MUKAI,
"Simulation of Unintentional Collusion Caused by Auto Pricing in Supply Chain Markets,"
The 23rd International Conference on Principles and Practice of Multi-Agent Systems (PRIMA 2020), Aichi, Nagoya, Japan, Nov. 18-20th, 2020. (Online)
[GAN by Hung-yi Lee]Part 1: General introduction of GANNAVER Engineering
Generative Adversarial Network and its Applications on Speech and Natural Language Processing, Part 1.
발표자: Hung-yi Lee(국립 타이완대 교수)
발표일: 18.7.
Generative adversarial network (GAN) is a new idea for training models, in which a generator and a discriminator compete against each other to improve the generation quality. Recently, GAN has shown amazing results in image generation, and a large amount and a wide variety of new ideas, techniques, and applications have been developed based on it. Although there are only few successful cases, GAN has great potential to be applied to text and speech generations to overcome limitations in the conventional methods.
In the first part of the talk, I will first give an introduction of GAN and provide a thorough review about this technology. In the second part, I will focus on the applications of GAN to speech and natural language processing. I will demonstrate the applications of GAN on voice I will also talk about the research directions towards unsupervised speech recognition by GAN.conversion, unsupervised abstractive summarization and sentiment controllable chat-bot.
Sixteen (16) simple rules for building robust machine learning models. Invited talk for the AMA call of the Research Data Alliance (RDA) Early Career and Engagement Interest Group (ECEIG).
The slides include a condensed explanation of Transformers and their advantages in compared to CNN and RNN. The presentation begins with a brief explanation of Transformers. Then, the advantages and disadvantages of Transformers relative to CNNs and RNNs are discussed. The attention mechanism is next presented, followed by an illustration of the structure of the document "Attention all you need."
Deep Learning: Introduction & Chapter 5 Machine Learning BasicsJason Tsai
Given lecture for Deep Learning 101 study group with Frank Wu on Dec. 9th, 2016.
Reference: https://www.deeplearningbook.org/
Initiated by Taiwan AI Group (https://www.facebook.com/groups/Taiwan.AI.Group/)
Abstract:
In this talk we will introduce MOE, the Metric Optimization Engine. MOE is an efficient way to optimize a system's parameters, when evaluating parameters is time-consuming or expensive. It can be used to help tackle a myriad of problems including optimizing a system's click-through or conversion rate via A/B testing, tuning parameters of a machine learning prediction method or expensive batch job, designing an engineering system or finding the optimal parameters of a real-world experiment.
MOE is ideal for problems in which the optimization problem's objective function is a black box, not necessarily convex or concave, derivatives are unavailable, and we seek a global optimum, rather than just a local one. This ability to handle black-box objective functions allows us to use MOE to optimize nearly any system, without requiring any internal knowledge or access. To use MOE, we simply need to specify some objective function, some set of parameters, and any historical data we may have from previous evaluations of the objective function. MOE then finds the set of parameters that maximize (or minimize) the objective function, while evaluating the objective function as few times as possible. This is done internally using Bayesian Global Optimization on a Gaussian Process model of the underlying system and finding the points of highest Expected Improvement to sample next. MOE provides easy to use Python, C++, CUDA and REST interfaces to accomplish these goals and is fully open source. We will present the motivation and background, discuss the implementation and give real-world examples.
Scott Clark Bio:
After finishing my PhD in Applied Mathematics at Cornell University in 2012 I have been working on the Ad Targeting team at Yelp Inc. I've been employing a variety of machine learning and optimization techniques from multi-armed bandits to Bayesian Global Optimization and beyond to their vast dataset and problems. I have also been trying to lead the charge on academic research and outreach within Yelp by leading projects like the Yelp Dataset Challenge and open sourcing MOE.
"Quantitative Trading as a Mathematical Science" by Dr. Haksun Li, Founder an...Quantopian
Presented at QuantCon Singapore 2016, Quantopian's quantitative finance and algorithmic trading conference, November 11th.
Quantitative trading is distinguishable from other trading methodologies like technical analysis and analysts’ opinions because it uniquely provides justifications to trading strategies using mathematical reasoning. Put differently, quantitative trading is a science that trading strategies are proven statistically profitable or even optimal under certain assumptions. There are properties about strategies that we can deduce before betting the first $1, such as P&L distribution and risks. There are exact explanations to the success and failure of strategies, such as choice of parameters. There are ways to iteratively improve strategies based on experiences of live trading, such as making more realistic assumptions. These are all made possible only in quantitative trading because we have assumptions, models and rigorous mathematical analysis.
Quantitative trading has proved itself to be a significant driver of mathematical innovations, especially in the areas of stochastic analysis and PDE-theory. For instances, we can compute the optimal timings to follow the market by solving a pair of coupled Hamilton–Jacobi–Bellman equations; we can construct sparse mean reverting baskets by solving semi-definite optimization problems with cardinality constraints and can optimally trade these baskets by solving stochastic control problems; we can identify statistical arbitrage opportunities by analyzing the volatility process of a stochastic asset at different frequencies; we can compute the optimal placements of market and limit orders by solving combined singular and impulse control problems which leads to novel and difficult to solve quasi-variational inequalities.
Detailed talk about Random Forest and its statistical techniques for classification and regression analysis with termonologies like Out of Bag (OOB) estimate of performance, Bias Variance Trade off, and model validation metrics.
Let me know if anything is required. Happy to help, Talk soon! #bobrupakro
Methods of Optimization in Machine LearningKnoldus Inc.
In this session we will discuss about various methods to optimise a machine learning model and, how we can adjust the hyper-parameters to minimise the cost function.
2020/11/19 PRIMA2020: Simulation of Unintentional Collusion Caused by Auto Pr...Masanori HIRANO
Masanori HIRANO, Hiroyasu MATSUSHIMA, Kiyoshi IZUMI, and Taisei MUKAI,
"Simulation of Unintentional Collusion Caused by Auto Pricing in Supply Chain Markets,"
The 23rd International Conference on Principles and Practice of Multi-Agent Systems (PRIMA 2020), Aichi, Nagoya, Japan, Nov. 18-20th, 2020. (Online)
[GAN by Hung-yi Lee]Part 1: General introduction of GANNAVER Engineering
Generative Adversarial Network and its Applications on Speech and Natural Language Processing, Part 1.
발표자: Hung-yi Lee(국립 타이완대 교수)
발표일: 18.7.
Generative adversarial network (GAN) is a new idea for training models, in which a generator and a discriminator compete against each other to improve the generation quality. Recently, GAN has shown amazing results in image generation, and a large amount and a wide variety of new ideas, techniques, and applications have been developed based on it. Although there are only few successful cases, GAN has great potential to be applied to text and speech generations to overcome limitations in the conventional methods.
In the first part of the talk, I will first give an introduction of GAN and provide a thorough review about this technology. In the second part, I will focus on the applications of GAN to speech and natural language processing. I will demonstrate the applications of GAN on voice I will also talk about the research directions towards unsupervised speech recognition by GAN.conversion, unsupervised abstractive summarization and sentiment controllable chat-bot.
This presentation will give you an answer to an interesting question: "Why siren sounds so different?"
To relate the analysis to it, please visit http://deepaksharma1992.blogspot.in/2013/05/what-makes-sound-of-siren-so-different.html
Work Culture at Management Consulting FirmsDeepak Sharma
This presentation describes the difference in Work Culture at management consulting firms that I know about. I found a striking difference between the two most popular & reputed ones.
This presentation dives into different Layout Strategies used right from Production to Retailing & discusses 4 wonderful examples clearing explaining these Strategies.
The most exciting one to see is that of McDonalds' Kitchen Layout which has saved millions for the firm.
It was part of my Research Internship at DMS,IIT Delhi done in 2012.
Introduction to Indian Financial System ()Avanish Goel
The financial system of a country is an important tool for economic development of the country, as it helps in creation of wealth by linking savings with investments.
It facilitates the flow of funds form the households (savers) to business firms (investors) to aid in wealth creation and development of both the parties
Empowering the Unbanked: The Vital Role of NBFCs in Promoting Financial Inclu...Vighnesh Shashtri
In India, financial inclusion remains a critical challenge, with a significant portion of the population still unbanked. Non-Banking Financial Companies (NBFCs) have emerged as key players in bridging this gap by providing financial services to those often overlooked by traditional banking institutions. This article delves into how NBFCs are fostering financial inclusion and empowering the unbanked.
when will pi network coin be available on crypto exchange.DOT TECH
There is no set date for when Pi coins will enter the market.
However, the developers are working hard to get them released as soon as possible.
Once they are available, users will be able to exchange other cryptocurrencies for Pi coins on designated exchanges.
But for now the only way to sell your pi coins is through verified pi vendor.
Here is the telegram contact of my personal pi vendor
@Pi_vendor_247
how can i use my minded pi coins I need some funds.DOT TECH
If you are interested in selling your pi coins, i have a verified pi merchant, who buys pi coins and resell them to exchanges looking forward to hold till mainnet launch.
Because the core team has announced that pi network will not be doing any pre-sale. The only way exchanges like huobi, bitmart and hotbit can get pi is by buying from miners.
Now a merchant stands in between these exchanges and the miners. As a link to make transactions smooth. Because right now in the enclosed mainnet you can't sell pi coins your self. You need the help of a merchant,
i will leave the telegram contact of my personal pi merchant below. 👇 I and my friends has traded more than 3000pi coins with him successfully.
@Pi_vendor_247
how to sell pi coins in South Korea profitably.DOT TECH
Yes. You can sell your pi network coins in South Korea or any other country, by finding a verified pi merchant
What is a verified pi merchant?
Since pi network is not launched yet on any exchange, the only way you can sell pi coins is by selling to a verified pi merchant, and this is because pi network is not launched yet on any exchange and no pre-sale or ico offerings Is done on pi.
Since there is no pre-sale, the only way exchanges can get pi is by buying from miners. So a pi merchant facilitates these transactions by acting as a bridge for both transactions.
How can i find a pi vendor/merchant?
Well for those who haven't traded with a pi merchant or who don't already have one. I will leave the telegram id of my personal pi merchant who i trade pi with.
Tele gram: @Pi_vendor_247
#pi #sell #nigeria #pinetwork #picoins #sellpi #Nigerian #tradepi #pinetworkcoins #sellmypi
If you are looking for a pi coin investor. Then look no further because I have the right one he is a pi vendor (he buy and resell to whales in China). I met him on a crypto conference and ever since I and my friends have sold more than 10k pi coins to him And he bought all and still want more. I will drop his telegram handle below just send him a message.
@Pi_vendor_247
Exploring Abhay Bhutada’s Views After Poonawalla Fincorp’s Collaboration With...beulahfernandes8
The financial landscape in India has witnessed a significant development with the recent collaboration between Poonawalla Fincorp and IndusInd Bank.
The launch of the co-branded credit card, the IndusInd Bank Poonawalla Fincorp eLITE RuPay Platinum Credit Card, marks a major milestone for both entities.
This strategic move aims to redefine and elevate the banking experience for customers.
What price will pi network be listed on exchangesDOT TECH
The rate at which pi will be listed is practically unknown. But due to speculations surrounding it the predicted rate is tends to be from 30$ — 50$.
So if you are interested in selling your pi network coins at a high rate tho. Or you can't wait till the mainnet launch in 2026. You can easily trade your pi coins with a merchant.
A merchant is someone who buys pi coins from miners and resell them to Investors looking forward to hold massive quantities till mainnet launch.
I will leave the telegram contact of my personal pi vendor to trade with.
@Pi_vendor_247
The secret way to sell pi coins effortlessly.DOT TECH
Well as we all know pi isn't launched yet. But you can still sell your pi coins effortlessly because some whales in China are interested in holding massive pi coins. And they are willing to pay good money for it. If you are interested in selling I will leave a contact for you. Just telegram this number below. I sold about 3000 pi coins to him and he paid me immediately.
Telegram: @Pi_vendor_247
What website can I sell pi coins securely.DOT TECH
Currently there are no website or exchange that allow buying or selling of pi coins..
But you can still easily sell pi coins, by reselling it to exchanges/crypto whales interested in holding thousands of pi coins before the mainnet launch.
Who is a pi merchant?
A pi merchant is someone who buys pi coins from miners and resell to these crypto whales and holders of pi..
This is because pi network is not doing any pre-sale. The only way exchanges can get pi is by buying from miners and pi merchants stands in between the miners and the exchanges.
How can I sell my pi coins?
Selling pi coins is really easy, but first you need to migrate to mainnet wallet before you can do that. I will leave the telegram contact of my personal pi merchant to trade with.
Tele-gram.
@Pi_vendor_247
what is the future of Pi Network currency.DOT TECH
The future of the Pi cryptocurrency is uncertain, and its success will depend on several factors. Pi is a relatively new cryptocurrency that aims to be user-friendly and accessible to a wide audience. Here are a few key considerations for its future:
Message: @Pi_vendor_247 on telegram if u want to sell PI COINS.
1. Mainnet Launch: As of my last knowledge update in January 2022, Pi was still in the testnet phase. Its success will depend on a successful transition to a mainnet, where actual transactions can take place.
2. User Adoption: Pi's success will be closely tied to user adoption. The more users who join the network and actively participate, the stronger the ecosystem can become.
3. Utility and Use Cases: For a cryptocurrency to thrive, it must offer utility and practical use cases. The Pi team has talked about various applications, including peer-to-peer transactions, smart contracts, and more. The development and implementation of these features will be essential.
4. Regulatory Environment: The regulatory environment for cryptocurrencies is evolving globally. How Pi navigates and complies with regulations in various jurisdictions will significantly impact its future.
5. Technology Development: The Pi network must continue to develop and improve its technology, security, and scalability to compete with established cryptocurrencies.
6. Community Engagement: The Pi community plays a critical role in its future. Engaged users can help build trust and grow the network.
7. Monetization and Sustainability: The Pi team's monetization strategy, such as fees, partnerships, or other revenue sources, will affect its long-term sustainability.
It's essential to approach Pi or any new cryptocurrency with caution and conduct due diligence. Cryptocurrency investments involve risks, and potential rewards can be uncertain. The success and future of Pi will depend on the collective efforts of its team, community, and the broader cryptocurrency market dynamics. It's advisable to stay updated on Pi's development and follow any updates from the official Pi Network website or announcements from the team.
Falcon stands out as a top-tier P2P Invoice Discounting platform in India, bridging esteemed blue-chip companies and eager investors. Our goal is to transform the investment landscape in India by establishing a comprehensive destination for borrowers and investors with diverse profiles and needs, all while minimizing risk. What sets Falcon apart is the elimination of intermediaries such as commercial banks and depository institutions, allowing investors to enjoy higher yields.
how to sell pi coins in all Africa Countries.DOT TECH
Yes. You can sell your pi network for other cryptocurrencies like Bitcoin, usdt , Ethereum and other currencies And this is done easily with the help from a pi merchant.
What is a pi merchant ?
Since pi is not launched yet in any exchange. The only way you can sell right now is through merchants.
A verified Pi merchant is someone who buys pi network coins from miners and resell them to investors looking forward to hold massive quantities of pi coins before mainnet launch in 2026.
I will leave the telegram contact of my personal pi merchant to trade with.
@Pi_vendor_247
3. How Genetic Algorithm can be used to improve the
performance of a particular trading rule ?
We need to optimize the parameters used by
the trading rule
4. HOW TO DO THIS NOW?
Consider a Simple Moving Average system, commonly used in trading
simulators, which has two set of parameters
The lengths of two moving averages
5. OUR MOTIVE
To investigate how Genetic Algorithms, a class of
Algorithms in evolutionary computation can be used to
improve the performance of a particular trading rule
How changes in the design of the GA itself can affect the
solution quality obtained in context of technical trading system.
6. The GA
Search and global optimization procedure
Based on the natural biological evolution.
Stochastic in nature
Characterized by speed
7. ALGORITHM
Genetic Algorithm ()
{
Generate initial selection operator
Evaluate the fitness value
While ( do not satisfy a stop condition)
{
Execute the selection operator
Execute the crossover operator
Execute the mutation operator
Evaluate the fitness value
}
}
8. The Way GA Works
Beginning with random generation
GA goal is to improve the fitness of solutions as the
generation passes by.
Stopping Condition:
Until some fixed number of iterations or
Achievement of satisfactory fitness level.
9. SOME USEFUL TERMS
Crossover
If two parents are represented by a high level of fitness, then
crossing them will lead to a better offspring (solution).
Mutation
As search space is large, some amount of randomness is
maintained through generations by mutation operator applied
infrequently.
10. Enhancing Moving Average
System
A moving average for n days is given by:
𝑛
1
𝑃 𝑡−𝑖
𝑛
𝑖=0
𝜃1 𝜃2
𝜃1 < 𝜃2 1 1
𝑃 𝑡−𝑖 > 𝑃 𝑡−𝑖
If 𝜃1
𝑖=0
𝜃2
𝑖=0
𝐵𝑢𝑦 𝑠𝑖𝑔𝑛𝑎𝑙
Else Sell 𝑠𝑖𝑔𝑛𝑎𝑙
11. CONTINUED…
The lengths of MAs are chosen instinctively by the trader.
If say we consider 500 days of data, then the number of
possible ways of choosing lengths becomes 500x500
That makes the search space exponentially larger!
12. FOCUS
Optimizing our trading system means maximizing our Fitness
Function such as Profit, given by
𝒇
𝑻𝑹 𝒇 = (𝟏 + 𝑫𝑹 𝒊 )
𝒊=𝟏
𝑫𝑹 𝒊 = 𝑷 𝒊 − 𝑷 𝒊−𝟏 × 𝜹
TRf - Total return for the sample period
DRi - Daily return for the day i,
Pi denotes the stock price for the day i.
δ - dummy variable which generates value 1 for buy
and -1 for sell
13. ENCODING
Each parameter in Genetic Algorithm is encoded as binary string and
concatenated to form a chromosome.
Shorter moving average goes from 1 session to 256 session i.e. string length
of 8 bits ex. 01100101]
Longer moving average goes from 1 session to 512 session i.e. string length
of 9 bits [ex. 110010101] Thus total search space is of 17 bits [ex. 01100101;
110010101] i.e. 217.
15. I/P Used while Applying GA
We have used TCS data from
National Stock Exchange from 1st
July 2010 to 31st July 2012.
16. Implementation using R
Library used: genal
CODE:
avg <- function(data,min,max)
{
sum <- 0;
for(i in min:max)
{
sum <- sum+data[i,]
}
sum <- sum/(max-min+1)
return (sum);
}
19. RESULT
Different Population
sizes
For 50
For 30
20. RESULT
Population Size 50 30
𝜃1, 𝜃2 11,50 91,114
Max Profit Rs. 217.65/- Rs. 198.24/-
Max Return 127.48% 125.04%
21. Results given in paper
Genetic Algorithm: An Application to Technical Trading System
Design by V. Kapoor, S.Dey, A.P. Khurana
Population
20 50 70 100
size
𝜃1/𝜃2 235/414 4/40 12/173 9/212
Max. Profit Rs. 834.35 Rs.932.84/- Rs.936/- Rs.947/-
Avg.
Rs. 709.46/- Rs. 745.9/- Rs. 732.14/- Rs. 672.02/-
Return
Max.
116.60% 141.27% 160.39% 150.38%
Return
Std. dev.
83.029836 98.232199 99.66883 109.248246
of Profits
Max.
profit./ 10.048797 9.4962752 9.3911005 8.66833139
St.dev.
22. INFERENCES
As long as the population size is increased, the best possible
solution obtained is higher.
In case of average fitness, it increases after population size of
20, till 50 and then decreases, showing that the solution series
becomes noisy in nature.
Standard deviation is the measure of diversity in the
population.
Population size increase the solution quality.
23. CONCLUSION
Genetic Algorithm performs better than the moving average lengths
derived from rules in finance literature.
To a great extent we are able to beat “Efficient Market Hypothesis”(EMH)
(Any public information is reflected in the stock price and it is difficult to
beat market.)
24. REFERENCES
Genetic Algorithm: An Application to Technical Trading System Design
(V. Kapoor, S.Dey, A.P. Khurana)
Genetic Algorithm: Wikipedia
NSE Site