<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by shreyassarda7 on Medium]]></title>
        <description><![CDATA[Stories by shreyassarda7 on Medium]]></description>
        <link>https://medium.com/@shreyassarda7?source=rss-3edc0ce995c3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*XV7K9kRGMWJgrIWBdag2nw.jpeg</url>
            <title>Stories by shreyassarda7 on Medium</title>
            <link>https://medium.com/@shreyassarda7?source=rss-3edc0ce995c3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 02:47:59 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@shreyassarda7/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Projects to getting started in Algorithmic Trading]]></title>
            <link>https://shreyassarda7.medium.com/projects-to-getting-started-in-algorithmic-trading-4aa135259eba?source=rss-3edc0ce995c3------2</link>
            <guid isPermaLink="false">https://medium.com/p/4aa135259eba</guid>
            <category><![CDATA[career-development]]></category>
            <category><![CDATA[trading]]></category>
            <category><![CDATA[algorithmic-trading]]></category>
            <category><![CDATA[finance]]></category>
            <category><![CDATA[quantitative-finance]]></category>
            <dc:creator><![CDATA[shreyassarda7]]></dc:creator>
            <pubDate>Sat, 26 Jun 2021 05:33:53 GMT</pubDate>
            <atom:updated>2021-06-26T05:35:34.005Z</atom:updated>
            <content:encoded><![CDATA[<p>This blog is to follow up with my last blog that described a perfect pathway of 6 months to getting started with a career in Algorithmic or Quant Trading.</p><p>Here, I would provide the detailed structure of one of my initial projects that shows how should you start building a project using Python.</p><p>This project would not provide you with real world profitable trading signals but this would be really helpful to understand how you should be writing down your ideas into code and test them just using <em>Python</em> and <em>Yahoo Finance</em></p><p>And fun part is this was my first project after which I started trying out newer and newer ideas to obtain some good <em>Alphas! So, let’s get started with…</em></p><p>Now, before starting you should be familiar with <em>Pandas</em>, <em>MatPlotLib, Datetime </em>libraries. A standard plotting style used in Quant Industry is ‘<strong>fivethirtyeight</strong>’</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6327c45e73ba7cf998260bcfa2d8e3bd/href">https://medium.com/media/6327c45e73ba7cf998260bcfa2d8e3bd/href</a></iframe><p>Now we shall use <strong>pandas_datareader</strong> library to import data from <em>Yahoo Finance. </em>It takes stock ticker from data source(like <em>MSFT</em> for Microsoft, <em>SBIN.NS</em> for State Bank of India), data_source(<em>yahoo </em>in our case) and start(<em>start_date</em> in our case)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PXdKXSVrc2xx5PH5CXilQQ.png" /><figcaption><strong>Stock ticker could be obtained from Yahoo Finance website(ref: Yahoo Finance Website)</strong></figcaption></figure><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f8bf55eca5dc4f03d4765e9a4c9a4ff5/href">https://medium.com/media/f8bf55eca5dc4f03d4765e9a4c9a4ff5/href</a></iframe><p>Its always good practice to visualize your data before working on strategy.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/9ee1341e1893cb7721da96617566d9fc/href">https://medium.com/media/9ee1341e1893cb7721da96617566d9fc/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L8GXWgV6HAvmoQtK0FJuZg.png" /></figure><p>Here I would show a <strong>Simple Moving Average(SMA) Crossover Strategy</strong> to get familiar with framework of Systematic Strategy testing:<br>Buy a stock when its 20-Day SMA crosses 50-Day SMA from below and square off position when 20-Day SMA crosses 50-Day SMA from above.</p><p>Following lines of code would create 20 &amp; 50 SMA of Adj. Close prices. <br><em>(We generally use ‘Adj. Close Prices’ when we want to test a long term strategy. For short term strategies we prefer ‘Close Prices’.)</em></p><p>Finally, let’s create a new DataFrame containing all relevant info that could be fed into a function to provide Buy-Sell signals.<br>(<em>funds column with initial capital of 1 Lac is created so that as we do buy-sell transactions in the next section we could make appropriate changes)</em></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/e7491482e5176011530a91b58fe06886/href">https://medium.com/media/e7491482e5176011530a91b58fe06886/href</a></iframe><p>This is most important part of project i.e. Strategy</p><blockquote><em>We set </em><strong>flag = 0</strong><em> when we are not long or don’t have any open position. So when upward crossover happens i.e. </em><strong><em>SMA20 &gt; SMA50</em></strong><em> along with </em><strong><em>flag = 0 </em></strong><em>we go “</em><strong>long<em>”</em></strong><em>. <br>Position is squared off when downward crossover happens i.e. </em><strong><em>SMA20 &lt; SMA50</em></strong><em> along with </em><strong><em>flag = 1.</em></strong></blockquote><p><strong><em>All these things are for long-only context. Similarly we could consider case of long-short case.</em></strong></p><p>Its important to keep a track of your <em>open_position </em>i.e. <em>last_funds</em>/<em>Price </em>and update <em>last_funds </em>on each day when your position is open i.e. <em>last_funds </em>= <em>Price </em>* <em>open_position</em>.<br>Finally, we could see results of our strategy by plotting funds.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/74c3ee8968d9e1dfd33e1c2a09179d5e/href">https://medium.com/media/74c3ee8968d9e1dfd33e1c2a09179d5e/href</a></iframe><p>Here we would store buy sell signals and plot them on our Stock Price Chart for visualization of our strategy buy sell signals.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/97e05c451cb4023f3bccd85e7ea78977/href">https://medium.com/media/97e05c451cb4023f3bccd85e7ea78977/href</a></iframe><p>Buy and Sell signals are provided using ^ and V markers in ‘g’ and ‘r’ colors.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Uvr5GYvWdA9eXxHUUftoMA.png" /></figure><p>Finally you could visualize your strategy’s returns over time by plotting funds:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/fa9cb7c93e956e4815b069dfe93760c9/href">https://medium.com/media/fa9cb7c93e956e4815b069dfe93760c9/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nILatlzCvlGrkZIhpUHwhA.png" /></figure><p>Now, you should try your own strategies like</p><ol><li>Trying to find best pair of crossover by optimizing returns</li><li>Using Technical Analysis library to make use of MACD, RSI, Bolllinger Bands, etc. in different strategies</li><li>Use of regression analysis on daily returns or daily log-returns to predict next few days’ returns</li></ol><p>_________________________________________________________________</p><p>Thanks for reading my blog! My name is Shreyas Sarda, I’m a IIT Bombay Graduate &amp; Trader who has gone through this arduous journey and willing to offer my help to others aspiring for a career in Trading.</p><p>Please feel free to contact me:</p><ul><li>LinkedIn: <a href="http://www.linkedin.com/in/shreyassarda">www.linkedin.com/in/shreyassarda</a></li><li>Twitter: <a href="https://twitter.com/shreyas_sarda">https://twitter.com/shreyas_sarda</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4aa135259eba" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to get started with a career in Algorithmic Trading, Quantitative Finance]]></title>
            <link>https://shreyassarda7.medium.com/how-to-get-started-with-a-career-in-algorithmic-trading-quantitative-finance-165f76a3c8ce?source=rss-3edc0ce995c3------2</link>
            <guid isPermaLink="false">https://medium.com/p/165f76a3c8ce</guid>
            <category><![CDATA[finance]]></category>
            <category><![CDATA[career-development]]></category>
            <category><![CDATA[algorithmic-trading]]></category>
            <category><![CDATA[quantitative-finance]]></category>
            <category><![CDATA[trading]]></category>
            <dc:creator><![CDATA[shreyassarda7]]></dc:creator>
            <pubDate>Sat, 12 Jun 2021 08:03:50 GMT</pubDate>
            <atom:updated>2021-06-19T05:23:56.628Z</atom:updated>
            <content:encoded><![CDATA[<p>If you are fascinated with the world of Finance, Trading and love Coding or Mathematics you probably might be wondering how could I enter this multi-billion dollar industry of Quants?</p><p>Let’s get some fundamentals clear and bust some myths:</p><ul><li>You don’t have to be a World Class Programmer for being best at this</li><li>Also you don’t have to have a PhD in Math or Stats</li></ul><h3>Now, I would provide insights into what I have learned in past 2 years about best ways of learning Quantitative Finance</h3><p>Basically what you must have is love for fundamental math, basic understanding of Probability &amp; Statistics, intermediate knowledge of some Data Science language like Python or R along with basic knowledge of different instruments of Investments(like Equity, Options, Futures) and 6 months of dedicated efforts i.e. “<em>Burning Desire”</em> of continual learning !!</p><p>What level of knowledge is required before going in for a job?</p><ol><li>Mathematics &amp; Statistics: Probability Axioms, Distribution Statistics, Random Processes, Random Walk, Markov Chain, Martingale, Geometric Brownian Motion, Stochastic Calculus</li><li>Financial Engineering: Normal &amp; Lognormal Distributions, Binomial Lattice Pricing, Derivative Pricing, Fixed Income Pricing, Black Scholes Model, Option Greeks</li><li>Programming(<em>I use Python</em>): Basic Data Structures like List, Dictionary, Classes and Advanced Data Structures like Binary Search Tree, Stacks, Queue, Some Data Science Libraries like NUMPY, Pandas, MatPlotLib</li></ol><p>But I just said Basics of Math, Stats, Coding…</p><p>How is this possible??</p><p>Basically you need to have access to proper learning materials and a proper timeline to follow that is really difficult to obtain without having spent a ton of Time and Money Resources.</p><blockquote>You should start with Math &amp; Stats part</blockquote><ol><li><strong>Stochastic Processes: Theory for Applications</strong> by “<em>Robert G. Gallager</em>”<br>Its <strong>Chapter 1</strong> introduces you to important and relevant concepts of Probability Theory that is quintessential as a base for further understanding.</li><li>Stochastic Calculus and Finance by “Steven Shreve”<br>Its first two chapter could be used for solidifying Probability Theory learned in Part 1.</li><li>NPTEL Lectures on YouTube by Prof. Joydeep Dutta of IIT Kanpur<br><strong>Link</strong>: <a href="https://www.youtube.com/watch?v=732bzOEhQpM&amp;list=PLEYrMI37wMbplhGJmqhlYv0VUSwC6zMsU">https://www.youtube.com/watch?v=732bzOEhQpM&amp;list=PLEYrMI37wMbplhGJmqhlYv0VUSwC6zMsU</a><br>This contains 20 Lecture series of around 40 minutes length.<br>This should be followed along with references in “<em>Steven Shreve’s”</em> book</li></ol><blockquote>While doing this NPTEL Course you could work on you Programming &amp; Data Analysis skills</blockquote><ol><li>codebasics YouTube channel:<br><strong>Data Analysis</strong>: <a href="https://www.youtube.com/watch?v=q_BzsPxwLOE&amp;list=PLeo1K3hjS3uuZPwzACannnFSn9qHn8to8">https://www.youtube.com/watch?v=q_BzsPxwLOE&amp;list=PLeo1K3hjS3uuZPwzACannnFSn9qHn8to8</a><br><strong>DSA</strong>: <a href="https://www.youtube.com/watch?v=_t2GVaQasRY&amp;list=PLeo1K3hjS3uu_n_a__MI_KktGTLYopZ12">https://www.youtube.com/watch?v=_t2GVaQasRY&amp;list=PLeo1K3hjS3uu_n_a__MI_KktGTLYopZ12</a></li></ol><ul><li>Jupyter Introduction: 1 Hour</li><li>NUMPY Library: 1 Hour</li><li>Pandas Library: 6 Hours</li><li>MatPlotLib Library: 1 Hour</li><li>Data Structures &amp; Algorithms Basics: 3 Hours for Advanced DSA Topics</li></ul><blockquote>Now, comes the final step Financial Engineering Topics</blockquote><ol><li>Very Important Coursera Course: <br><strong>Financial Engineering and Risk Management Part I and Part II</strong> by <em>Columbia University</em>(You could apply for Financial Aid from India)<br>This would provide Basic Understanding of Different Concepts being used in Quantitative Finance in Pricing</li><li><em>IIT Bombay Course</em> <strong>SI527: Introduction to Derivative Pricing</strong> by <em>Prof. S. Baskar</em>. The concepts not properly understood from Coursera course could be studied again from this course which heavily focusses on Theoretic Aspects of Derivative Pricing<br><strong>YouTube Link</strong>: <a href="https://youtube.com/playlist?list=PLjAj1Z92T7LTcyjV-Di2_a4mij9_5fKkM">https://youtube.com/playlist?list=PLjAj1Z92T7LTcyjV-Di2_a4mij9_5fKkM</a></li><li><strong>Option Volatility and Pricing: Advanced Trading Strategies and Techniques</strong> by “<em>Sheldon Natenberg</em>” This is Very Important Resource for Practical Understanding of Trading Strategies and Option Greeks which is used as a reference in Trading Industry: All chapters are important but to start with Read from Chapter 6 –12 with a special emphasis on Chapter 11 &amp; 12 which talk about trading strategies.</li></ol><p>Now, all you need is a good project and a good resume to showcase your knowledge level and skills. We would touch upon these topics in next posts.</p><p>__________________________________________________________________</p><p>Thanks for reading! My name is Shreyas Sarda, I’m a Trader who has gone through this arduous journey.</p><p>Please feel free to contact me:</p><ul><li>LinkedIn: <a href="http://www.linkedin.com/in/shreyassarda">www.linkedin.com/in/shreyassarda</a></li><li>Twitter: <a href="https://twitter.com/shreyas_sarda">https://twitter.com/shreyas_sarda</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=165f76a3c8ce" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>