<?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 BuildAlpha on Medium]]></title>
        <description><![CDATA[Stories by BuildAlpha on Medium]]></description>
        <link>https://medium.com/@buildalpha0?source=rss-d36b00f5a068------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*306dy2VG5zvddbqO.jpg</url>
            <title>Stories by BuildAlpha on Medium</title>
            <link>https://medium.com/@buildalpha0?source=rss-d36b00f5a068------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 11:26:14 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@buildalpha0/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[Combining Trading Rules To Smooth Performance]]></title>
            <link>https://medium.com/@buildalpha0/combining-trading-rules-to-smooth-performance-572492ff86f2?source=rss-d36b00f5a068------2</link>
            <guid isPermaLink="false">https://medium.com/p/572492ff86f2</guid>
            <category><![CDATA[build-alpha]]></category>
            <category><![CDATA[software]]></category>
            <category><![CDATA[trading]]></category>
            <dc:creator><![CDATA[BuildAlpha]]></dc:creator>
            <pubDate>Thu, 28 Nov 2019 08:06:21 GMT</pubDate>
            <atom:updated>2019-11-28T08:06:21.070Z</atom:updated>
            <content:encoded><![CDATA[<p>The market is “overbought” or “oversold” are common phrases you will hear across the finance space. However, it is actually extremely rare for these conditions to be true.</p><p>Today, we’ll attempt to show how trading rules can provide a better picture of the market while enhancing trading performance.</p><p><a href="https://buildalpha.wordpress.com/"><strong>BuildAlpha</strong></a><strong>: </strong>First, let’s simply define overbought as a 14 period RSI of greater or equal to 70.00 and let’s simply define oversold as a 14 period RSI of less than or equal to 30.00.</p><p><strong>Below is a chart showing the RSI of the S&amp;P 500’s ETF (NYSEARCA:SPY) with the overbought and oversold levels plotted.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1006/1*XwdReBXWy4osyi2XFsSw1w.jpeg" /></figure><p><strong>From January 2002 to May 2017 here are some stats:</strong></p><ul><li>Days overbought 214 out of 3,878 or only 5.5%</li><li>Days oversold 60 out of 3,878 or only 1.5%</li><li>Days in the middle roughly 3,604 out of 3,878 or 92.9%</li></ul><p>Of course when these overbought or oversold conditions are true the markets do appear easier to trade as volatility often expands and it seems easier to skim some meat off the bone, if you will. However, many strategy developers and traders focus on these overbought and oversold conditions when in reality it is extremely difficult to be patient 92 to 98+% of the time.</p><p>A simple solution is to augment your trading with trading systems that do well in these “common” times or regular conditions. Let’s look at how SPY did during this 92% of the time period the market was not overbought or oversold. The test period covers January 2002 to September 2012 (as we will save Q4 2012 to present day as out of sample data for later testing).</p><p><a href="https://www.facebook.com/buildalpha/"><strong>Build Alpha</strong></a><strong>: </strong>As you can see that trading in these 92% of the time when the market is neither overbought or oversold is extremely trendless and encompass some serious drawdowns; making life extremely difficult for traders.</p><p>Let’s add an 8 period moving average filter and see if we can smooth out performance (performance only based on 100 shares for testing/demonstration purposes).</p><p>As you can see the moving average filter makes a significant difference albeit not perfect. That is, trading when prices are below the 8 period moving average produced significantly greater performance than when price was above the 8 period moving average. This is counter-intuitive for sure.</p><p><a href="https://www.instagram.com/buildalpha/?hl=en"><strong>BuildAlpha</strong></a><strong>: </strong>The process of continuing to refine and add filter and rules to our trading “system” is part of the strategy development process. It can be long and arduous. To keep this post short and sweet let’s “accept” these two rules (1. RSI between 30 and 70 and 2. Price below 8 SMA) and go ahead and see how this system would have performed on the out of sample data from September 2012 to May 2017.</p><p>The strategy holds up quite well and we now have some simple rules to follow/guide our trading in the “doldrums” that occur 92% of the time.</p><p>The long and arduous process of refining and adding conditions can be greatly simplified with modern computing power and software. Build Alpha attempts to make this process simple and fast! <a href="https://www.chttps//www.crunchbase.com/organization/build-alpharunchbase.com/organization/build-alpha"><strong>Build Alpha</strong></a> is trading software designed to create trading strategies from thousands of inputs, filters, and signals for the research-oriented trader and investor — no programming required!</p><p>Originally Posted: <a href="https://www.seeitmarket.com/combining-trading-rules-to-smooth-performance-16927/"><strong>https://www.seeitmarket.com/combining-trading-rules-to-smooth-performance-16927/</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=572492ff86f2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Strategy Validation with Dave Bergstrom]]></title>
            <link>https://medium.com/@buildalpha0/strategy-validation-with-dave-bergstrom-5aa28aad1fbc?source=rss-d36b00f5a068------2</link>
            <guid isPermaLink="false">https://medium.com/p/5aa28aad1fbc</guid>
            <category><![CDATA[trading]]></category>
            <category><![CDATA[software]]></category>
            <dc:creator><![CDATA[BuildAlpha]]></dc:creator>
            <pubDate>Thu, 28 Nov 2019 05:21:34 GMT</pubDate>
            <atom:updated>2019-11-28T05:21:34.670Z</atom:updated>
            <content:encoded><![CDATA[<p>With the toolsets we have available to us today it’s really quite easy to create a trading strategy by just mining market data.</p><p><a href="https://buildalpha.wordpress.com/"><strong>Build Alpha</strong></a><strong>: </strong>As we’ve just heard in that opening bit of audio and also from previous podcast guests too, if you try enough combinations you can find something that appears to work purely by chance or by luck.</p><p>The challenge however is trying to identify something that could be sustainable.</p><p>Something that may persist long enough in the future for us to take advantage of, and hopefully make some money from.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*nAXs6p8fjCt8hhHUx94L5Q.jpeg" /></figure><p>Our guest for this episode, Dave Bergstrom from <a href="https://www.facebook.com/buildalpha/"><strong>BuildAlpha</strong></a>, has spent years researching, building, testing, and implementing market making and trading strategies for a high frequency trading firm, CTAs, money managers, individual clients, and even aspiring retail traders.</p><p>In this episode Dave is going to share some of his insights into strategy development and validation, including:</p><ul><li>How adjusting the ratio of in-sample/out-of-sample data can lead to creating different types of strategies</li><li>Variance testing — what is it and how can it be used in the strategy creation process</li><li>How E-ratios can be used to determine how an edge decays over time &amp; weed out potentially poor strategies with good backtest results</li><li>Why volume and volatility are important factors to consider when building trading strategies</li><li>Loads of other ideas to test and validate the robustness of trading strategies.</li></ul><p><strong>Originally Posted: </strong><a href="http://bettersystemtrader.com/079-strategy-validation-dave-bergstrom/"><strong>http://bettersystemtrader.com/079-strategy-validation-dave-bergstrom/</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5aa28aad1fbc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Free Friday 9 — Intermarket Signals]]></title>
            <link>https://medium.com/@buildalpha0/free-friday-9-intermarket-signals-5acc3a57e325?source=rss-d36b00f5a068------2</link>
            <guid isPermaLink="false">https://medium.com/p/5acc3a57e325</guid>
            <category><![CDATA[build-alpha]]></category>
            <category><![CDATA[stock-market]]></category>
            <dc:creator><![CDATA[BuildAlpha]]></dc:creator>
            <pubDate>Wed, 06 Nov 2019 15:08:19 GMT</pubDate>
            <atom:updated>2019-11-06T15:08:19.771Z</atom:updated>
            <content:encoded><![CDATA[<h3>Free Friday 9 — Intermarket Signals</h3><p>In this week’s Free Friday strategy (#9) I display a strategy built using inter-market signals. Inter-market signals/analysis is the ability to generate trading signals and filters for a primary market based on what another market may be doing.</p><p>For example, you may only want to buy the stock market when gold is trading lower or when bonds are below their 200 simple moving average.</p><p><a href="https://www.instagram.com/buildalpha/?hl=en"><strong>Build Alpha</strong></a> now let’s you test these exact sort of scenarios and build strategies taking into account up to 3 markets (plus Vix). This specific strategy was built for SPY (S&amp;P500 ETF) but takes into account Gold (GLD ETF) and holds for a maximum of 2 days.</p><p>There are no other exit rules or sophisticated risk management; all trades assume only a 100 share position for testing purposes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/585/1*jCYShrPUAlk7rnH9cFMYvw.png" /></figure><p><strong>The entry:</strong></p><p>1. $SPY’s 2-period RSI &lt;= 90<br> 2. Gold’s 50 period simple moving average is greater than Gold’s 200 period simple moving average<br> 3. Gold closed below both its 10 period simple moving average and its 50 period simple moving average</p><p><strong>The exit:</strong><br> Exit after holding for 2 days</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/583/1*ViU6fqAK_jPrLb1XXeehcA.png" /></figure><p><strong>Originally Posted: </strong><a href="https://www.buildalpha.com/free-friday-9-intermarket-signals/"><strong>https://www.buildalpha.com/free-friday-9-intermarket-signals/</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5acc3a57e325" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learn the Skill of Trading with Build Alpha]]></title>
            <link>https://medium.com/@buildalpha0/learn-the-skill-of-trading-with-build-alpha-c44f115f424e?source=rss-d36b00f5a068------2</link>
            <guid isPermaLink="false">https://medium.com/p/c44f115f424e</guid>
            <category><![CDATA[build-alpha]]></category>
            <category><![CDATA[software]]></category>
            <dc:creator><![CDATA[BuildAlpha]]></dc:creator>
            <pubDate>Fri, 01 Nov 2019 08:47:01 GMT</pubDate>
            <atom:updated>2019-11-01T08:47:01.293Z</atom:updated>
            <content:encoded><![CDATA[<p>Trading in financial markets is a tedious job. An expert’s advice is always required to invest in capital markets for a new trader. Listen to all fund managers, their views of investing based on different market conditions. Always do lot of research and take guidance from experts before investing. A new trader must utilize a stop loss, avoid greed and do not trade with fear while investing.</p><p>Make a portfolio of strategies or shares from different sectors and maybe receive help from your broker. There are experts who provide market tips which enable beginners to make a wise decision, but on the other hand, you can take the help of this new trending software which is proving to be one of the best solutions in the market: <a href="https://buildalpha.wordpress.com/"><strong>Build Alpha</strong></a>.</p><p>Fresh investors always go for those stocks which have reasonable valuations or big growth potential. Different market analysts have their own investment strategies owing to the Bull and Bear phase of the market. There are many loop holes for the ones who are trading for the first time in the market. Investing successfully is basically an initial as well as ongoing journey to explore, learn and succeed in financial markets.</p><figure><img alt="BuildAlpha" src="https://cdn-images-1.medium.com/max/678/1*ZGx0OyOPMAMSqa4qoRl6cA.png" /></figure><p>No one can individually know all the things in the market, but with the aid of artificial intelligence like <a href="https://www.instagram.com/buildalpha/?hl=en"><strong>BuildAlpha</strong></a> software one can climb the ladder of success. You will learn a lot of new things about trading; the software is an overall solution to lead you toward the right path in trading and investing.</p><p>Investment and trading are two different aspects of shares, commodities and forex trading. There is intraday trading which requires comprehensive knowledge of market movements and its trends, microstructure, infrastructure and transaction costs. These trends are easily anticipated by the software which a normal human is unable to understand even if he or she is trading in the market for a long-time.</p><p>It is one of the outstanding tools which can boost up the confidence of new as well as existing investors in the trading market. Anticipating the trend becomes easy if you do it through Build Alpha software solution. Also, <a href="https://www.facebook.com/pg/buildalpha/reviews/"><strong>Build Alpha</strong></a> has a new Intraday Edge feature which can help improve daily investment strategies by finding which hours of the day they are most effective to reduce your exposure and holding time.</p><p>The software is a guiding tool for all the young aspirants who want to learn and grow in trading. It is one of the outstanding tools which can boost up the confidence of new as well as existing investors in the trading market. It guides in making strategies which can be utilized on a real-time basis for assisting our theories in the market (or finding new ones). This is one of the highly recommended softwares who is new to the world of stock market. Take a look at how <strong>Build Alpha</strong> can help you today.</p><p><strong>Originally Posted: </strong><a href="http://buildalpha.us/software/learn-skill-trading-with-build-alpha/"><strong>http://buildalpha.us/software/learn-skill-trading-with-build-alpha/</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c44f115f424e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Downloading Custom Data for Build Alpha using Python]]></title>
            <link>https://medium.com/@buildalpha0/downloading-custom-data-for-build-alpha-using-python-5740f04ee923?source=rss-d36b00f5a068------2</link>
            <guid isPermaLink="false">https://medium.com/p/5740f04ee923</guid>
            <category><![CDATA[build-alpha]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[BuildAlpha]]></dc:creator>
            <pubDate>Wed, 16 Oct 2019 03:18:54 GMT</pubDate>
            <atom:updated>2019-10-16T03:18:54.848Z</atom:updated>
            <content:encoded><![CDATA[<p>Happy Friday!</p><p>For this Free Friday edition, I am going to do something new. I am going to make this slightly educational and give away some code.</p><p>I get tons of questions every week, but they mainly fall into two categories. The first question is in regards to adding custom data to <a href="https://buildalpha.wordpress.com/"><strong>Build Alpha</strong></a>. You can add intraday data, weekly data, custom bar type data, sentiment data, or even simple single stock data. The second question is in regards to using or learning Python.</p><p>In this post, I will attempt to “kill two birds with one stone” and show a simple Python code to download stock data from the Yahoo Finance API.</p><p>In fact, we will use Python to pull and save data ready formatted for Build Alpha for all 30 Dow stocks in less than 30 seconds.</p><p><strong>You can view the entire script later in this code or in the video below.</strong></p><p>The first few lines are simple to import statements pulling public code that we can reuse including the popular pandas library.</p><p><strong>import pandas as pd<br> from datetime import datetime<br> from pandas_datareader import data</strong></p><p>I then define a function that downloads the data using the built-in DataReader function of the pandas_datareader library. I also adjust the open, high, low and close prices by the split ratio at every bar. This ensures we have a consistent time series if a stock has undergone a split, for example. <em>**Please note other checks could be recommended like verifying high &gt; open and high &gt; close and high &gt; low, but I have left these up to Yahoo in this post**. </em>I then end the function returning a pandas data frame that contains our downloaded data. This get_data function will be valuable later in the code.</p><p><strong>def get_data(symbol, start_date, end_date):</strong></p><p><strong>dat = data.DataReader(symbol, &quot;yahoo&quot;, start_date, end_date)<br> dat[&#39;Ratio&#39;] = dat[&#39;Adj Close&#39;] / dat[&#39;Close&#39;]<br> dat[&#39;Open&#39;] = dat[&#39;Open&#39;] * dat[&#39;Ratio&#39;]<br> dat[&#39;High&#39;] = dat[&#39;High&#39;] * dat[&#39;Ratio&#39;]<br> dat[&#39;Low&#39;] = dat[&#39;Low&#39;] * dat[&#39;Ratio&#39;]<br> dat[&#39;Close&#39;] = dat[&#39;Close&#39;] * dat[&#39;Ratio&#39;]<br> return dat</strong></p><p>I then go ahead and put all 30 dow tickers in a Python list named DJIA. I also go ahead and create our start and end dates in which we desire to download data.</p><p><strong>DJIA=[&quot;AAPL&quot;,&quot;AXP&quot;,&quot;BA&quot;,&quot;CAT&quot;,&quot;CSCO&quot;,&quot;CVX&quot;,&quot;KO&quot;,&quot;DD&quot;,&quot;XOM&quot;,&quot;GE&quot;,&quot;GS&quot;,&quot;HD&quot;,&quot;IBM&quot;,&quot;INTC&quot;,&quot;JNJ&quot;,&quot;JPM&quot;,&quot;MCD&quot;,&quot;MMM&quot;,&quot;MRK&quot;,&quot;MSFT&quot;,<br> &quot;NKE&quot;,&quot;PFE&quot;,&quot;PG&quot;,&quot;TRV&quot;,&quot;UNH&quot;,&quot;UTX&quot;,&quot;V&quot;,&quot;VZ&quot;,&quot;WMT&quot;,&quot;DIS&quot;]<br> start = datetime(2007,1,1)<br> end = datetime.today()</strong></p><p>Finally, and the guts of this code, I loop through all 30 of our tickers calling the get_data function on each one of them. After downloading the first one, AAPL in our case, I open a file named AAPL.csv and then loop through the downloaded price series retrieved from our get_data function. I then write each bar to the file appropriately named AAPL.csv. I then close the AAPL.csv file before downloading the second symbol, AXP in our case. This process is repeated for each and every symbol. The result is 30 seconds to download 30 stocks worth of data! Each symbol’s data is saved in a file named Symbol.csv.</p><p>for ticker in DJIA:</p><p>DF = get_data(ticker,start,end)<br> fh = open(&quot;%s.csv&quot; % ticker,&#39;w+&#39;)<br> for i,date in enumerate(DF.index):<br> fh.write(&quot;%s,%.2f,%.2f,%.2f,%.2f,%dn&quot; %<br> (date.strftime(&#39;%Y%m%d&#39;),DF[&#39;Open&#39;][i],DF[&#39;High&#39;][i],DF[&#39;Low&#39;][i],DF[&#39;Close&#39;][i],DF[&#39;Volume&#39;][i]))<br> fh.close()</p><p>Now to the second part. Using this data in <a href="https://www.facebook.com/buildalpha/"><strong>BuildAlpha</strong></a> is as simple as clicking on settings and searching for your desired file. I’ve attached a photo below that shows how the trader/money manager can now run tests on the newly downloaded AAPL data using the symbol “User Defined 1”. Pictures below for clarity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/565/1*4wXEOo9b-Lvx4aJKA17gBg.png" /></figure><p>I’m showing a strategy created for $AAPL stock, but it is only to prove this Python code and Build Alpha feature work. There is major selection bias creating a strategy on a stock that has basically been in a major uptrend for 90%+ of its existence. That being said, and in a later post, I will show a new Build Alpha feature that allows you to test strategies across different symbols to make sure the strategy holds up on both correlated and uncorrelated securities. Either way here is the AAPL strategy.</p><p>Buy Rules:</p><p>1.Today’s Low &gt; Open of 3 Day’s Ago<br> 2.Today’s 14 Period Stochastics &gt; Yesterday’s 14 Period Stochastic<br> 3. Today’s Upper Keltner Channel &gt; Yesterday’s Upper Keltner Channel</p><p>Exit Rules:<br> 1. Two Day Maximum Hold<br> 2. 1.00 * 20 Period ATR Stop Loss</p><p>I like this strategy because it is convex. We limit the downside, but let the market give us as much as possible in 2 days. Below is the equity graph with the highlighted part being out of sample and based on 1 share as this is just for demonstration purposes!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/772/1*qi57SAkM7n5yHyrmNWAkLA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/823/1*gqQi7UXCedxGrNsRSmYXEA.png" /></figure><p>I hope this makes life easier for some of you and as always… Happy Friday,</p><p>Dave</p><p>PS: This is all extra. You do not need to know Python (or any programming) to use <a href="https://www.crunchbase.com/organization/build-alpha"><strong>BuildAlpha</strong></a>. This is just for advanced users that want additional help.</p><p><strong>Originally Posted: </strong><a href="https://www.buildalpha.com/free-friday-15-downloading-custom-data-for-build-alpha-using-python/"><strong>https://www.buildalpha.com/free-friday-15-downloading-custom-data-for-build-alpha-using-python/</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5740f04ee923" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Randomized Out of Sample]]></title>
            <link>https://medium.com/@buildalpha0/randomized-out-of-sample-6f15eba094be?source=rss-d36b00f5a068------2</link>
            <guid isPermaLink="false">https://medium.com/p/6f15eba094be</guid>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[BuildAlpha]]></dc:creator>
            <pubDate>Wed, 25 Sep 2019 09:10:00 GMT</pubDate>
            <atom:updated>2019-09-25T09:10:00.138Z</atom:updated>
            <content:encoded><![CDATA[<p>First, what is out of sample testing? Out of sample testing is purposely withholding data from your data set for later testing. For example, let’s say we have ten years worth of data and select to designate the last 30% of the data as out of sample data. Essentially what we do is take the last 3 years (30%) of the data set and put it in our back pocket for later use. We then proceed to create trading strategies using ONLY the first 7 years of data or the “in-sample” data.</p><p><a href="https://www.instagram.com/buildalpha/?hl=en"><strong>BuildAlpha</strong></a><strong>:</strong> Let’s assume we find a great looking strategy that performs extremely well on the first 7 years worth of data. What we would then do is take the last 3 years worth of data, or our out of sample data, out of our back pocket and proceed to test our strategy on this “unseen” data.</p><p>The idea is… if the strategy still performs well on this unseen, out of sample data then it must be robust and we can have increased confidence it will stand the test of time or at least in how it will perform on future market data.</p><p>However, there is a major pitfall to this approach given certain data sets. What if our amazing looking strategy happened to be long only and only performed well on our unseen, out of sample data because the last 3 years (our 30%) were extremely bullish. See picture below (red marks last 30% of data):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*hvWRKdergbjxXi05AL-yhQ.png" /></figure><p>What’s a solution? What if we use the first 30% of the data instead of the last 30%? What if we use some middle 30% of the data? Well, we actually still run the risk that any continuous 30% of the data may be extremely trendy. Here is a photo showing a strong trend in the beginning 30% of a data set.</p><p>The answer? Let’s take our original backtest results and run them through a randomized out of sample test. First we randomly select dates until we have randomly selected 30% of the dates from our data. Now we have a “randomized out of sample” period to put in our back pocket. Basically, we will then run through our entire data set but filter out any trades that would have occurred on our now randomly selected, out of sample dates.</p><p>Then we can view the results of the trades that only took place on our randomly selected out of sample dates as a new “quasi-out of sample” equity curve. We’ve now significantly reduced the chances that any successful out of sample performance is solely due to some underlying trend or market regime as our out of sample data is now no longer continuous. Here is an example of random 30% of data selected for out of sample.</p><p>However, one more problem remains. What if we randomly created a trend or favorable market regime through our random sampling/selection? That is, we’ve randomly selected 30% of the dates and when they’re put in chronological order for our out of sample testing they coincidentally create a massive up trend that could skew our new out of sample results?</p><p>The answer? Run this test 1,000 times where we re-select a random 30% of the dates each time to act as our out of sample period. Some may create a favorable market regime, but we can see how our sample strategy does over a variety of randomly created regimes or out of sample periods.</p><h3>Build Alpha Solution:</h3><p><a href="https://www.crunchbase.com/organization/build-alpha"><strong>BuildAlpha</strong></a> offers this complete process and test with the click of a button. The leftmost graph below is the in-sample equity curves from the 1,000 runs. These are basically trades that occurred on dates that were NOT randomly selected to be part of the out of sample period. The middle chart is our randomized out of sample test. These are the equity curves from the 1,000 runs of the trades that occurred on the dates that were randomly selected. The thick blue line on the left and middle graph are the in and out of sample tests from our original back-test. The rightmost chart is simply the original back-test.</p><p>The example below shows our original backtest’s out of sample equity curve to be at the very top of the distribution of all the random out of sample tests (middle chart below). This is a sign that the underlying data contributed quite favorably to our results and may have produced unrealistic or unrepeatable out of sample results (most likely something like the first picture of this post where the last 30% of the data is considerably bullish).</p><p>In the picture below I’ve displayed a simple demonstration that would show a “passing” random out of sample test or a situation where you can feel comfortable the original out of sample period is a “fair” period of time. The middle graph’s thick blue line (our original out of sample results) is in the middle of the random out of sample distribution. This means as we randomly selected random out of sample periods we created some out of sample equity curves that had better results than our original backtest and some that had worse results than our original backtest. This can only mean that our original out of sample period was “fair” and did not overly contribute to the favorable results, but rather the favorable results come from the strategy itself.</p><h3>Some Takeaways:</h3><p>We know we want to test on “unseen” data, but also want to reduce the chances that an underlying trend produced favorable out of sample results. In order to avoid being fooled by a favorable out of sample period, we randomly create thousands of out of sample periods and want to see general profitability across them all.</p><p>If the original backtest’s out of sample line is significantly greater than all the randomized out of sample equity curves then we can conclude we had originally selected an overly optimistic out of sample period that contributed too greatly to our strategy’s out of sample success (similar to the first photo in this post).</p><p>Additionally, if our original backtest’s out of sample line is one of the worst performers compared with the randomized out of sample equity curves then we can conclude the original out of sample period chosen may actually be too unfavorable (and throwing the strategy away based on out of sample results alone may be ill-advised).</p><p>All in all, Randomized Out of Sample testing is just one more test <a href="https://buildalpha.wordpress.com/"><strong>Build Alpha</strong></a> offers to provide the utmost confidence a strategy will perform to expectation moving forward.</p><p><strong>Originally Posted: </strong><a href="https://www.buildalpha.com/randomized-out-of-sample/"><strong>https://www.buildalpha.com/randomized-out-of-sample/</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6f15eba094be" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Utilize Automated Trading Software to Increase Trading Edge]]></title>
            <link>https://medium.com/@buildalpha0/utilize-automated-trading-software-to-increase-trading-edge-1c8497e5dd2e?source=rss-d36b00f5a068------2</link>
            <guid isPermaLink="false">https://medium.com/p/1c8497e5dd2e</guid>
            <category><![CDATA[trading]]></category>
            <dc:creator><![CDATA[BuildAlpha]]></dc:creator>
            <pubDate>Mon, 23 Sep 2019 09:30:40 GMT</pubDate>
            <atom:updated>2019-09-23T09:30:40.384Z</atom:updated>
            <content:encoded><![CDATA[<p>Have you ever thought about how you can automate your trading strategies and increase your edge? Yes or No? Here, you will get to know the basics of algorithmic trading, the benefits, and the risks. Get ready to utilize automated trading software like <a href="https://www.crunchbase.com/organization/build-alpha"><strong>Build Alpha</strong></a>. A lot of technical analysis involves surveillance pointers for signals and then trading based on the signals.</p><p>What if you could program a computer to mechanically and automatically recognize these setups and enter trades automatically? Isn’t it good if you free yourself from giving trading instructions to the system continuously? Yes, this is possible.</p><p>Computers are much better than human at doing the math. If an individual can recognize setups that make you the most capital, so can a computer. In fact, computers are quicker and more accurate than a human being at solving math problems. So, why not to tell the machine what the norms of the game are and let it trade for you. These days, much automated software like <a href="https://www.instagram.com/buildalpha/?hl=en"><strong>Build Alpha</strong></a> available in the market that can find the best strategies for you. Let’s get to know about the algorithms and their benefits.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/550/1*ggNkphS9Ywe8gfQsgLo06w.png" /></figure><h3>What is an algorithm and how they are used in trading?</h3><p>“<em>Algorithm is a set of norms to be followed in calculations and problem-solving operations by a computer</em>”. That appears very similar to a technical trading strategy. You discover a setup that works for you and then decide what to do about it. It’s just a simple example.</p><p>If you identify the circumstances where to open a position or where to close, then you can tell the machine to do a similar thing. This means the trading process will be faster and accurate.</p><p>The edge can be clearer if we take a look at a more advanced example. Let’s assume you want to combine 5 indicators and examine a basket of 7 different assets for trade entry. It’s a really huge amount of information that the human mind has to manage.</p><p>You have to switch back and forth the screens appear for the indicators to twist to green that indicating you to get into the market. Here the probability of making an error is amplified as your concentration is split over numerous markets. This is where the need for automated trading comes into the play. Not to mention all the emotion that comes with manual trading.</p><p>Automated trading software such as <a href="https://buildalpha.wordpress.com/"><strong>BuildAlpha</strong></a> allows machines to make verdicts and act on them much faster than a human being can and all backed by data. The automated software is the perfect solution to observe one-minute charts all the way to daily and weekly charts in trading and take appropriate action as soon as the market shows signs of making a shift. In fact, the automated system can be used to inexpensively scale your operation. Hence, it is advisable to use automated trading software if you want to increase your edge from your trading. It can help spot new edges, capture existing edge and all automatically.</p><p><strong>Originally Posted: </strong><a href="https://buildalpha.wordpress.com/2019/09/23/utilize-automated-trading-software-to-increase-trading-edge/"><strong>https://buildalpha.wordpress.com/2019/09/23/utilize-automated-trading-software-to-increase-trading-edge/</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1c8497e5dd2e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Noise Test]]></title>
            <link>https://medium.com/@buildalpha0/noise-test-53db075fb926?source=rss-d36b00f5a068------2</link>
            <guid isPermaLink="false">https://medium.com/p/53db075fb926</guid>
            <category><![CDATA[trading]]></category>
            <category><![CDATA[noise-test]]></category>
            <dc:creator><![CDATA[BuildAlpha]]></dc:creator>
            <pubDate>Thu, 19 Sep 2019 06:11:43 GMT</pubDate>
            <atom:updated>2019-09-19T06:11:43.456Z</atom:updated>
            <content:encoded><![CDATA[<p>First, let’s talk about overfitting and what it is. I will simply define it as fitting a function or model to data so well that the function or model is not generalizable and cannot/will not work on another data set. In trading terms, it is designing a strategy that trades historical data so well that it will surely fail on new data<strong>.</strong></p><p><a href="https://www.instagram.com/buildalpha/?hl=en"><strong>BuildAlpha</strong></a><strong>:</strong> The first and most obvious test to prevent curve fitting is out of sample testing. In other posts I’ve described this, but in short, it is simply withholding a portion of your data to “validate” the strategy. For example, you have 10 years worth of data and you designate the first or last 30% to be out of sample. You build your model on the remaining seven years of data and then validate it on the withheld 30% or out of sample data.</p><p>However, and for various reasons, this might not be enough to prevent against curve fitting. There are two parts to the underlying data: the signal and the noise. It is often said that when something is curve fit it is “fitted to the noise” and does not capture the underlying signal. The Noise Test is a test to see how close we have fit to the “noise” in our price data.</p><p>The Noise Test adjusts the original price data by differing amounts (user selected) and creates hundreds of new price series. For example, the trader can select to change up to 40% of the opens, 60% of the highs, 50% of the lows, and 75% of the closes. Additionally, the trader can select by how much he’d like to adjust the price data — let’s say by up to 33% of the average true range. Here’s what this exact configuration would look like in <a href="https://buildalpha.wordpress.com/"><strong>BuildAlpha</strong></a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/334/1*AR5Sp1M6i0D4QbarSX0h_A.png" /></figure><p>Below I’ve attached photos that show 4 “noise altered” price series created with the settings above for the S&amp;P500. The charts below display the period of the August 2015 ETF crash. You can see how some bars have changed and some have even turned positive when originally negative and visa versa.</p><p>It still mimics the original S&amp;P500 data and that is ideal as we want to keep certain elements of the original data such as the volatility clustering, e.g. However, we’ve change the amounts of noise in each newly created series by adding or subtracting various amounts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/721/1*Mno_m_2051Us8C4jpl3uAA.png" /></figure><p><strong>*Actual Price Data*</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*AeNe--i6rVG1esMT4wV0yA.png" /></figure><p><strong>Noise Altered</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/716/1*UpEjJL038IyPllvS-Cqlfw.png" /></figure><p><strong>Noise Altered</strong></p><p>The Noise Test will then trade the strategy on each newly created price series and display the resulting equity curves. If the original strategy was “fitted to the noise” then the strategy should not maintain profitability as we adjust the noise in the data. However, if the Noise Test results remain profitable then we can have increased confidence a strategy was trading the underlying signal and not the “noise”. Below is the output of the Noise Test in <a href="https://www.crunchbase.com/organization/build-alpha"><strong>Build Alpha</strong></a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/593/1*2BVo_6BoRMkU0yfyJREBrw.png" /></figure><p><strong>Originally Posted: </strong><a href="https://buildalpha.wordpress.com/2019/09/19/noise-test/"><strong>https://buildalpha.wordpress.com/2019/09/19/noise-test/</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=53db075fb926" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Should You Use Automated Trading Software]]></title>
            <link>https://medium.com/@buildalpha0/should-you-use-automated-trading-software-ca302da36b39?source=rss-d36b00f5a068------2</link>
            <guid isPermaLink="false">https://medium.com/p/ca302da36b39</guid>
            <category><![CDATA[trading]]></category>
            <category><![CDATA[software]]></category>
            <category><![CDATA[build-alpha]]></category>
            <dc:creator><![CDATA[BuildAlpha]]></dc:creator>
            <pubDate>Mon, 16 Sep 2019 07:56:24 GMT</pubDate>
            <atom:updated>2019-09-16T07:56:24.923Z</atom:updated>
            <content:encoded><![CDATA[<p>Automated trading has become one of the hottest types of trading online over the past few years. Many traders are out there online, using online trading software like <a href="https://www.crunchbase.com/organization/build-alpha"><strong>BuildAlpha</strong></a> to endeavor their hand at pitting one currency against others.</p><p>These days, technology has evolved to not only offer online trading almost 24 hours a day but to provide automated trading software that can take care of individual business. In this article, you will get to know why you should use automated trading software. Continue reading to find out.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/648/1*gUoj7ackqhW5A9K7Kk8f_A.jpeg" /></figure><h3>Why should you use automated trading these days?</h3><p>This is a good question. And no one can definitively answer for you. It has been advisable that an individual should at least attempt manual, human trading earlier than going to automated trading software, and many people are sticking to that. With that being said, every so often making that time investment to become a professional trader is not in the cards. Plus is the experience even helpful? <strong>Buildalpha.com/truths</strong>.</p><p>Sometimes, you just do not have to continually observe an ever-changing market, particularly the market that can be traded 24 hours a day. And honestly, you may relish the probability to put the rigid, worrying decisions in the hands of somebody or something else. If you meet any of the above circumstances, then <a href="https://buildalpha.wordpress.com/"><strong>Build Alpha</strong></a><strong> </strong>automated trading software may be the solution for you.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/648/1*OIzwWQmeuxXzc7u0lN4bMQ.png" /><figcaption><a href="https://kinja.com/buildalpha0"><strong>Build Alpha</strong></a></figcaption></figure><h3>Getting started and finding the right software</h3><p>If you want to get into automated trading, you need to find the software that meets your needs. There is lots of software these days that provide the chance to invest money without having to worry over trading or give hours and hours of your time to trade. The tip professional traders give is to forget any software that claims to work all the time or claims a success rate of 95%, etc. If you think it can be true, it means you are throwing your monies away.</p><p>It is also good to know what you are getting from using particular software. Some of them are fully automated means they do everything for you. Some software is semi-automated means they just crunch numbers and provides you trading signals. And others merely offer you analytics or real-time market awareness. All components can be helpful and reduce the burden on the manual trader.</p><h3>Wrapping Up</h3><p>Whether you are looking for comprehensive support or trading help, <a href="https://www.instagram.com/buildalpha/"><strong>BuildAlpha</strong></a> is one of the best-automated trading softwares ever built. This automated trading software helps professional traders create numerous strategies to meet their risk criterion based on actual data. There are no programming skills required for using this software; just point and click and you can build or test any idea in any market or time-frame. This software allows traders the ability to create hundreds of automated trading strategies. Also, money managers can stress test almost any strategy combo in mere seconds. Check online to learn more about this automated trading software!</p><p><strong>Originally Posted: </strong><a href="https://buildalpha.wordpress.com/2019/09/13/use-automated-trading-software/"><strong>https://buildalpha.wordpress.com/2019/09/13/use-automated-trading-software/</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ca302da36b39" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[BuildAlpha is the most trusted Automated Online Trading Software- Build Alpha]]></title>
            <link>https://medium.com/@buildalpha0/buildalpha-is-the-most-trusted-automated-online-trading-software-build-alpha-e7a43d737cf3?source=rss-d36b00f5a068------2</link>
            <guid isPermaLink="false">https://medium.com/p/e7a43d737cf3</guid>
            <category><![CDATA[trading]]></category>
            <category><![CDATA[software]]></category>
            <category><![CDATA[stock-market]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[BuildAlpha]]></dc:creator>
            <pubDate>Fri, 12 Apr 2019 06:50:26 GMT</pubDate>
            <atom:updated>2019-04-12T06:50:26.634Z</atom:updated>
            <content:encoded><![CDATA[<p>BuildAlpha Trading Software’s have been on the rise and there can be debates as to decide which the Best Automated Trading System as well. This <a href="https://www.instagram.com/buildalpha/?hl=en">Buildalpha</a> software’s make in necessary in the new age because of how effectively it handles things without the need for human labour at all.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/925/1*3etQsCUfEKsBd9axZMTKAg.jpeg" /><figcaption>Buildalpha</figcaption></figure><p>With the use of buildalpha, one can guarantee that their business if not will provide the greatest of successes, can surely make up for lost time by building a foundation that would lift up the previous recess that it was once in. Hence, this software <a href="https://www.goodreads.com/quotes/tag/build-alpha">buildalpha</a> are exceptionally important when setting up a sound strategy for a particular business or organization.</p><p><a href="https://speakerdeck.com/buildalpha">BuildAlpha</a> is a leading company dedicates to offer world-class technology and services to corporate and institutional clients along with superior customer service.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e7a43d737cf3" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>